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
CompositorWidgetChild.cpp 3454
CompositorWidgetChild.h 2089
CompositorWidgetParent.cpp 7278
CompositorWidgetParent.h 3120
DirectManipulationOwner.cpp 21311
DirectManipulationOwner.h 1386
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) 78662
GfxInfo.h __mozilla_widget_GfxInfo_h__ 4611
IEnumFE.cpp IUnknown impl. 3327
IEnumFE.h CEnumFormatEtc - implements IEnumFORMATETC 2426
IMMHandler.cpp IMEContext **************************************************************************** 90217
IMMHandler.h IsIMEAvailable() returns TRUE when current keyboard layout has IME. Otherwise, FALSE. 16424
IconLoaderHelperWin.cpp Retrieves and displays icons in native menu items on Windows. 2226
IconLoaderHelperWin.h Classes that want to hear about when icons load should subclass IconLoaderListenerWin, and implement the OnComplete() method, which will be called once the load of the icon has completed. 2382
InProcessWinCompositorWidget.cpp static 10692
InProcessWinCompositorWidget.h 3444
InkCollector.cpp 8614
InkCollector.h 3040
InputDeviceUtils.cpp 1811
InputDeviceUtils.h 828
JumpListBuilder.cpp 19719
JumpListBuilder.h __JumpListBuilder_h__ 1900
JumpListItem.cpp link impl. 16133
JumpListItem.h __JumpListItem_h__ 4033
KeyboardLayout.cpp 201163
KeyboardLayout.h Append a pair of unicode character and the final modifier. 40437
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
OSKInputPaneManager.cpp 2661
OSKInputPaneManager.h 719
PCompositorWidget.ipdl 1267
PlatformWidgetTypes.ipdlh 934
RemoteBackbuffer.cpp secattr 19032
RemoteBackbuffer.h 2536
ScreenHelperWin.cpp 3416
ScreenHelperWin.h 772
ScrollbarUtil.cpp static 7710
ScrollbarUtil.h 1668
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 9777
SystemStatusBar.h 928
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(" 273931
TSFTextStore.h Text Services Framework text store 41598
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. 9911
TaskbarWindowPreview.h __mozilla_widget_TaskbarWindowPreview_h__ 2828
ToastNotification.cpp 6171
ToastNotification.h 1358
ToastNotificationHandler.cpp 18619
ToastNotificationHandler.h 3376
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
WidgetTraceEvent.cpp Windows widget support for event loop instrumentation. See toolkit/xre/EventTracer.cpp for more details. 3276
WinCompositorWidget.cpp 3384
WinCompositorWidget.h 3138
WinCompositorWindowThread.cpp static 6447
WinCompositorWindowThread.h 1813
WinContentSystemParameters.cpp 6702
WinContentSystemParameters.h 1946
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 **************************************************************************** 43487
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. 7923
WinMessages.h MOZ_WM_* messages ************************************************************************** 4179
WinModifierKeyState.h 1688
WinMouseScrollHandler.cpp MouseScrollHandler **************************************************************************** 62390
WinMouseScrollHandler.h See nsIWidget::SynthesizeNativeMouseScrollEvent() for the detail about this method. 18725
WinNativeEventData.h WinNativeKeyEventData is used by nsIWidget::OnWindowedPluginKeyEvent() and related IPC methods. This class cannot hold any pointers and references since which are not available in different process. 1463
WinPointerEvents.cpp WinPointerEvents - Helper functions to retrieve PointerEvent's attributes 6621
WinPointerEvents.h Flags that appear in pointer input message parameters 7102
WinTaskbar.cpp 12359
WinTaskbar.h __WinTaskbar_h__ 1173
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 80173
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. 24071
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 windows.media.h, so we disable the whole related class until this is fixed. @TODO: Maybe contact MinGW Team for inclusion? 23894
WindowsSMTCProvider.h 4747
WindowsUIUtils.cpp mingw currently doesn't support windows.ui.viewmanagement.h, so we disable it until it's fixed. 14459
WindowsUIUtils.h IsExclusive 1010
components.conf 8606
moz.build 4694
nsAppShell.cpp 26988
nsAppShell.h Native Win32 Application shell wrapper 1749
nsBidiKeyboard.cpp 5838
nsBidiKeyboard.h 859
nsClipboard.cpp 40877
nsClipboard.h Native Win32 Clipboard wrapper 3999
nsColorPicker.cpp static 6046
nsColorPicker.h 1433
nsDataObj.cpp 73491
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(). 11063
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
nsDeviceContextSpecWin.cpp recursive = 22340
nsDeviceContextSpecWin.h 3517
nsDragService.cpp 21455
nsDragService.h Native Win32 DragService wrapper 2252
nsFilePicker.cpp Folder picker invocation 17492
nsFilePicker.h Native Windows FileSelector wrapper 3270
nsLookAndFeel.cpp virtual 29203
nsLookAndFeel.h Gesture System Metrics 4197
nsNativeBasicThemeWin.cpp 12082
nsNativeBasicThemeWin.h 2652
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 147391
nsNativeThemeWin.h 7492
nsPrintDialogUtil.cpp ------------------------------------------------------------------- To Build This: You need to add this to the the makefile.win in mozilla/dom/base: .\$(OBJDIR)\nsFlyOwnPrintDialog.obj \ And this to the makefile.win 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
nsPrintSettingsServiceWin.cpp 4251
nsPrintSettingsServiceWin.h 955
nsPrintSettingsWin.cpp 21581
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
nsPrinterWin.cpp 13450
nsPrinterWin.h 1457
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
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 http://msdn.microsoft.com/en-us/library/bb773210(VS.85).aspx 5873
nsUXThemeData.cpp 13668
nsUXThemeData.h 3637
nsUserIdleServiceWin.cpp 736
nsUserIdleServiceWin.h NOTE: Compare of GetTickCount() could overflow. This corrects for overflow situations. * 1323
nsWidgetFactory.cpp 1663
nsWidgetFactory.h 715
nsWinGesture.cpp nsWinGesture - Touch input handling for tablet displays. 11884
nsWinGesture.h nsWinGesture - Touch input handling for tablet displays. 2356
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. 298012
nsWindow.h nsWindow - Native window management and event handling. 28339
nsWindowBase.cpp 7492
nsWindowBase.h nsWindowBase - Base class of common methods other classes need to access in both win32 and winrt window classes. 4529
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. 23562
nsWindowGfx.h nsWindowGfx - Painting and aceleration. 1176
nsdefs.h 1362
res 12
resource.h 589
tests 4
touchinjection_sdk80.h 4176
widget.rc 1285