Name Description Size
AudioSession.cpp To take advantage of what Vista+ have to offer with respect to audio, we need to maintain an audio session. This class wraps IAudioSessionControl and implements IAudioSessionEvents (for callbacks from Windows) 13576
AudioSession.h 977
components.conf 8633
CompositorWidgetChild.cpp 3454
CompositorWidgetChild.h 2089
CompositorWidgetParent.cpp 7288
CompositorWidgetParent.h 3126
DirectManipulationOwner.cpp 23049
DirectManipulationOwner.h 1650
GfxInfo.cpp GetD2DEnabled and GetDwriteEnabled shouldn't be called until after gfxPlatform initialization has occurred because they depend on it for information. (See bug 591561) 78501
GfxInfo.h 4950
IEnumFE.cpp IUnknown impl. 3327
IEnumFE.h CEnumFormatEtc - implements IEnumFORMATETC 2426
IMMHandler.cpp IMEContext **************************************************************************** 90212
IMMHandler.h IsIMEAvailable() returns TRUE when current keyboard layout has IME. Otherwise, FALSE. 16424
InkCollector.cpp 8614
InkCollector.h 3040
InProcessWinCompositorWidget.cpp static 10740
InProcessWinCompositorWidget.h 3463
InputDeviceUtils.cpp 1811
InputDeviceUtils.h 828
JumpListBuilder.cpp 19716
JumpListBuilder.h __JumpListBuilder_h__ 1900
JumpListItem.cpp link impl. 16133
JumpListItem.h __JumpListItem_h__ 4033
KeyboardLayout.cpp 199762
KeyboardLayout.h Append a pair of unicode character and the final modifier. 40224
LSPAnnotator.cpp LSPs are evil little bits of code that are allowed to inject into our networking stack by Windows. Once they have wormed into our process they gnaw at our innards until we crash. Here we force the buggers into the light by recording them in our crash information. We do the enumeration on a thread because I'm concerned about startup perf on machines with several LSPs. 4381
MediaKeysEventSourceFactory.cpp 584 4726
nsAppShell.cpp 27069
nsAppShell.h Native Win32 Application shell wrapper 1749
nsBidiKeyboard.cpp 5838
nsBidiKeyboard.h 859
nsClipboard.cpp static 44467
nsClipboard.h Native Win32 Clipboard wrapper 5350
nsColorPicker.cpp static 6056
nsColorPicker.h 1433
nsDataObj.cpp 74045
nsDataObj.h This ole registered class is used to facilitate drag-drop of objects which can be adapted by an object derived from CfDragDrop. The CfDragDrop is associated with instances via SetDragDrop(). 11223
nsDataObjCollection.cpp Class nsDataObjCollection 12311
nsDataObjCollection.h This ole registered class is used to facilitate drag-drop of objects which can be adapted by an object derived from CfDragDrop. The CfDragDrop is associated with instances via SetDragDrop(). 3293
nsdefs.h 1362
nsDeviceContextSpecWin.cpp recursive = 22370
nsDeviceContextSpecWin.h 3517
nsDragService.cpp 21455
nsDragService.h Native Win32 DragService wrapper 2252
nsFilePicker.cpp Folder picker invocation 16603
nsFilePicker.h Native Windows FileSelector wrapper 3270
nsLookAndFeel.cpp virtual 25734
nsLookAndFeel.h Gesture System Metrics 3111
nsNativeBasicThemeWin.cpp 991
nsNativeBasicThemeWin.h 690
nsNativeDragSource.cpp class nsNativeDragSource 2439
nsNativeDragSource.h nsNativeDragSource implements the IDropSource interface and gets most of its behavior from the associated adapter (m_dragDrop). 2146
nsNativeDragTarget.cpp Define Interface IDs 15499
nsNativeDragTarget.h nsNativeDragTarget implements the IDropTarget interface and gets most of its behavior from the associated adapter (m_dragDrop). 3675
nsNativeThemeWin.cpp 148366
nsNativeThemeWin.h 7619
nsPrintDialogUtil.cpp ------------------------------------------------------------------- To Build This: You need to add this to the the in mozilla/dom/base: .\$(OBJDIR)\nsFlyOwnPrintDialog.obj \ And this to the in mozilla/content/build: WIN_LIBS= \ winspool.lib \ comctl32.lib \ comdlg32.lib ---------------------------------------------------------------------- 12430
nsPrintDialogUtil.h nsFlyOwnDialog_h___ 454
nsPrintDialogWin.cpp ParamBlock 5540
nsPrintDialogWin.h 1189
nsPrinterWin.cpp 12541
nsPrinterWin.h 1879
nsPrintSettingsServiceWin.cpp 4251
nsPrintSettingsServiceWin.h 955
nsPrintSettingsWin.cpp 21702
nsPrintSettingsWin.h //*** nsPrintSettingsWin //***************************************************************************** class nsPrintSettingsWin : public nsPrintSettings, public nsIPrintSettingsWin { virtual ~nsPrintSettingsWin(); public: NS_DECL_ISUPPORTS_INHERITED NS_DECL_NSIPRINTSETTINGSWIN nsPrintSettingsWin(); nsPrintSettingsWin(const nsPrintSettingsWin& aPS); void InitWithInitializer(const PrintSettingsInitializer& aSettings) final; /** Makes a new copy 1462
nsSharePicker.cpp 2332
nsSharePicker.h 718
nsSound.cpp static 9712
nsSound.h __nsSound_h__ 1064
nsToolkit.cpp 1852
nsToolkit.h Wrapper around the thread running the message pump. The toolkit abstraction is necessary because the message pump must execute within the same thread that created the widget under Win32. 1091
nsUserIdleServiceWin.cpp 736
nsUserIdleServiceWin.h NOTE: Compare of GetTickCount() could overflow. This corrects for overflow situations. * 1323
nsUXThemeConstants.h The following constants are used to determine how a widget is drawn using Windows' Theme API. For more information on theme parts and states see 5969
nsUXThemeData.cpp 13671
nsUXThemeData.h 3637
nsWidgetFactory.cpp 1663
nsWidgetFactory.h 715
nsWindow.cpp nsWindow - Native window management and event handling. nsWindow is organized into a set of major blocks and block subsections. The layout is as follows: Includes Variables nsIWidget impl. nsIWidget methods and utilities nsSwitchToUIThread impl. nsSwitchToUIThread methods and utilities Moz events Event initialization Event dispatching Native events Wndproc(s) Event processing OnEvent event handlers IME management and accessibility Transparency Popup hook handling Misc. utilities Child window impl. Search for "BLOCK:" to find major blocks. Search for "SECTION:" to find specific sections. Blocks should be split out into separate files if they become unmanageable. Related source: nsWindowDefs.h - Definitions, macros, structs, enums and general setup. nsWindowDbg.h/.cpp - Debug related code and directives. nsWindowGfx.h/.cpp - Graphics and painting. 301882
nsWindow.h nsWindow - Native window management and event handling. 28454
nsWindowBase.cpp 11869
nsWindowBase.h nsWindowBase - Base class of common methods other classes need to access in both win32 and winrt window classes. 5079
nsWindowDbg.cpp nsWindowDbg - Debug related utilities for nsWindow. 1817
nsWindowDbg.h nsWindowDbg - Debug related utilities for nsWindow. 1663
nsWindowDefs.h nsWindowDefs - nsWindow related definitions, consts, and macros. 4146
nsWindowGfx.cpp nsWindowGfx - Painting and aceleration. 21847
nsWindowGfx.h nsWindowGfx - Painting and aceleration. 1176
nsWinGesture.cpp nsWinGesture - Touch input handling for tablet displays. 11884
nsWinGesture.h nsWinGesture - Touch input handling for tablet displays. 2356
OSKInputPaneManager.cpp 2661
OSKInputPaneManager.h 719
OSKTabTipManager.cpp Get the HWND for the on-screen keyboard, if it's up. Only allowed for Windows 8 and higher. 4173
OSKTabTipManager.h 620
OSKVRManager.cpp aRequiresMutex 1113
OSKVRManager.h 604
PCompositorWidget.ipdl 1267
PlatformWidgetTypes.ipdlh 934
RemoteBackbuffer.cpp secattr 20576
RemoteBackbuffer.h 2538
res 12
resource.h 589
ScreenHelperWin.cpp 3416
ScreenHelperWin.h 772
ScrollbarUtil.cpp static 4755
ScrollbarUtil.h 1353
ShellHeaderOnlyUtils.h Ask the current user's Desktop to ShellExecute on our behalf, thus causing the resulting launched process to inherit its security priviliges from Explorer instead of our process. This is useful in two scenarios, in particular: * We are running as an elevated user and we want to start something as the "normal" user; * We are starting a process that is incompatible with our process's process mitigation policies. By delegating to Explorer, the child process will not be affected by our process mitigations. Since this communication happens over DCOM, Explorer's COM DACL governs whether or not we can execute against it, thus avoiding privilege escalation. 6124
SystemStatusBar.cpp cbSize 9969
SystemStatusBar.h 928
TaskbarPreview.cpp 12814
TaskbarPreview.h Callback object TaskbarPreview hands to preview controllers when we request async thumbnail or live preview images. Controllers invoke this interface once they have aquired the requested image. 4138
TaskbarPreviewButton.cpp 3506
TaskbarPreviewButton.h __mozilla_widget_TaskbarPreviewButton_h__ 1280
TaskbarTabPreview.cpp 10748
TaskbarTabPreview.h __mozilla_widget_TaskbarTabPreview_h__ 2311
TaskbarWindowPreview.cpp These correspond directly to the states defined in nsITaskbarProgress.idl, so they should be kept in sync. 10001
TaskbarWindowPreview.h __mozilla_widget_TaskbarWindowPreview_h__ 2828
tests 4
ToastNotification.cpp 6301
ToastNotification.h 1358
ToastNotificationHandler.cpp 18459
ToastNotificationHandler.h 3376
touchinjection_sdk80.h 6049
TSFTextStore.cpp TSF related code should log its behavior even on release build especially in the interface methods. In interface methods, use LogLevel::Info. In internal methods, use LogLevel::Debug for logging normal behavior. For logging error, use LogLevel::Error. When an instance method is called, start with following text: "0x%p TSFFoo::Bar(", the 0x%p should be the "this" of the nsFoo. after that, start with: "0x%p TSFFoo::Bar(" In an internal method, start with following text: "0x%p TSFFoo::Bar(" When a static method is called, start with following text: "TSFFoo::Bar(" 273625
TSFTextStore.h Text Services Framework text store 41598
UrlmonHeaderOnlyUtils.h We used to validate a uri with SHParseDisplayName to mitigate the Windows bug (Bug 394974). However, Bug 1573051 revealed an issue that a fragment, a string following a hash mark (#), is dropped when we extract a string from PIDL. This is the intended behavior of Windows. To deal with the fragment issue as well as keeping our mitigation, we decided to use CreateUri to validate a uri string, but we also keep using SHParseDisplayName as a pre-check. This is because there are several cases where CreateUri succeeds while SHParseDisplayName fails such as a non-existent file: uri. To minimize the impact of introducing CreateUri into the validation logic, we try to mimic the logic of windows_storage!IUriToPidl (ieframe!IUriToPidl in Win7) which is executed behind SHParseDisplayName. What IUriToPidl does is: 1) If a given uri has a fragment, removes a fragment. 2) Takes an absolute uri if it's available in the given uri, otherwise takes a raw uri. As we need to get a full uri including a fragment, this function does 2). 2835
widget.rc 1285
WidgetTraceEvent.cpp Windows widget support for event loop instrumentation. See toolkit/xre/EventTracer.cpp for more details. 3276
WinCompositorWidget.cpp 3384
WinCompositorWidget.h 3113
WinCompositorWindowThread.cpp static 6447
WinCompositorWindowThread.h 1813
WinContentSystemParameters.cpp 6702
WinContentSystemParameters.h 1946
WindowHook.cpp 3538
WindowHook.h 2183
WindowsConsole.cpp 1573
WindowsConsole.h 523
WindowsEMF.cpp = nullptr 2350
WindowsEMF.h include windows.h for the HDC definitions that we need. 3392
WindowsSMTCProvider.cpp mingw currently doesn't support, so we disable the whole related class until this is fixed. @TODO: Maybe contact MinGW Team for inclusion? 24046
WindowsSMTCProvider.h 4747
WindowsUIUtils.cpp mingw currently doesn't support windows.ui.viewmanagement.h, so we disable it until it's fixed. 14907
WindowsUIUtils.h IsExclusive 1010
WinHeaderOnlyUtils.h This header is intended for self-contained, header-only, utility code for Win32. It may be used outside of xul.dll, in places such as firefox.exe or mozglue.dll. If your code creates dependencies on Mozilla libraries, you should put it elsewhere. 23085
WinIMEHandler.cpp IMEHandler **************************************************************************** 40207
WinIMEHandler.h IMEHandler class is a mediator class. On Windows, there are two IME API sets: One is IMM which is legacy API set. The other is TSF which is modern API set. By using this class, non-IME handler classes don't need to worry that we're in which mode. 7811
WinMessages.h MOZ_WM_* messages ************************************************************************** 3722
WinModifierKeyState.h 1688
WinMouseScrollHandler.cpp MouseScrollHandler **************************************************************************** 62516
WinMouseScrollHandler.h See nsIWidget::SynthesizeNativeMouseScrollEvent() for the detail about this method. 18725
WinPointerEvents.cpp WinPointerEvents - Helper functions to retrieve PointerEvent's attributes 6621
WinPointerEvents.h Flags that appear in pointer input message parameters 6224
WinTaskbar.cpp 12359
WinTaskbar.h __WinTaskbar_h__ 1081
WinTextEventDispatcherListener.cpp 2274
WinTextEventDispatcherListener.h On Windows, it's enough TextEventDispatcherListener to be a singleton because we have only one input context per process (IMM can create multiple IM context but we don't support such behavior). 1736
WinUtils.cpp 83195
WinUtils.h NS_INLINE_DECL_IUNKNOWN_REFCOUNTING should be used for defining and implementing AddRef() and Release() of IUnknown interface. This depends on xpcom/base/nsISupportsImpl.h. 24702