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 3421
CompositorWidgetChild.h 2089
CompositorWidgetParent.cpp 7922
CompositorWidgetParent.h 3198
DirectManipulationOwner.cpp 19904
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) 80514
GfxInfo.h __mozilla_widget_GfxInfo_h__ 4470
IEnumFE.cpp IUnknown impl. 3327
IEnumFE.h CEnumFormatEtc - implements IEnumFORMATETC 2426
IMMHandler.cpp IMEContext **************************************************************************** 101965
IMMHandler.h IsIMEAvailable() returns TRUE when current keyboard layout has IME. Otherwise, FALSE. 17758
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 204819
KeyboardLayout.h Append a pair of unicode character and the final modifier. 41104
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 1242
PlatformWidgetTypes.ipdlh 910
ProcInfo.cpp dwFlags 6730
RemoteBackbuffer.cpp secattr 17612
RemoteBackbuffer.h 2463
ScreenHelperWin.cpp 3416
ScreenHelperWin.h 772
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
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(" 272982
TSFTextStore.h Text Services Framework text store 41879
TaskbarPreview.cpp 12428
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. 4111
TaskbarPreviewButton.cpp 3506
TaskbarPreviewButton.h __mozilla_widget_TaskbarPreviewButton_h__ 1280
TaskbarTabPreview.cpp 10551
TaskbarTabPreview.h __mozilla_widget_TaskbarTabPreview_h__ 2275
TaskbarWindowPreview.cpp These correspond directly to the states defined in nsITaskbarProgress.idl, so they should be kept in sync. 9531
TaskbarWindowPreview.h __mozilla_widget_TaskbarWindowPreview_h__ 2792
ToastNotification.cpp 6227
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). 2812
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 6087
WinCompositorWindowThread.h 1875
WinContentSystemParameters.cpp 6701
WinContentSystemParameters.h 1945
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. 19109
WinIMEHandler.cpp IMEHandler **************************************************************************** 45838
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. 8413
WinMessages.h MOZ_WM_* messages ************************************************************************** 4073
WinModifierKeyState.h 1688
WinMouseScrollHandler.cpp MouseScrollHandler **************************************************************************** 62356
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 6770
WinPointerEvents.h Flags that appear in pointer input message parameters 7102
WinTaskbar.cpp 12156
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 80263
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. 25093
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. 3391
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? 22200
WindowsSMTCProvider.h 4870
WindowsUIUtils.cpp mingw currently doesn't support windows.ui.viewmanagement.h, so we disable it until it's fixed. 14424
WindowsUIUtils.h IsExclusive 1010
components.conf 8164
moz.build 4338
nsAppShell.cpp 21370
nsAppShell.h Native Win32 Application shell wrapper 1749
nsBidiKeyboard.cpp 5838
nsBidiKeyboard.h 859
nsClipboard.cpp 40899
nsClipboard.h Native Win32 Clipboard wrapper 3999
nsColorPicker.cpp static 5419
nsColorPicker.h 1433
nsDataObj.cpp 73555
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(). 11052
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 24854
nsDeviceContextSpecWin.h 2934
nsDragService.cpp 21455
nsDragService.h Native Win32 DragService wrapper 2252
nsFilePicker.cpp Vista+ callbacks 21298
nsFilePicker.h Native Windows FileSelector wrapper 4156
nsLookAndFeel.cpp virtual 28849
nsLookAndFeel.h Gesture System Metrics 4098
nsNativeBasicThemeWin.cpp 585
nsNativeBasicThemeWin.h 558
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 15016
nsNativeDragTarget.h nsNativeDragTarget implements the IDropTarget interface and gets most of its behavior from the associated adapter (m_dragDrop). 3675
nsNativeThemeWin.cpp 153726
nsNativeThemeWin.h 7492
nsPaperWin.cpp 2992
nsPaperWin.h 1052
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 ---------------------------------------------------------------------- 11695
nsPrintDialogUtil.h nsFlyOwnDialog_h___ 454
nsPrintDialogWin.cpp ParamBlock 5540
nsPrintDialogWin.h 1189
nsPrintSettingsServiceWin.cpp 4537
nsPrintSettingsServiceWin.h 955
nsPrintSettingsWin.cpp 19984
nsPrintSettingsWin.h //*** nsPrintSettingsWin //***************************************************************************** class nsPrintSettingsWin : public nsPrintSettings, public nsIPrintSettingsWin { virtual ~nsPrintSettingsWin(); public: NS_DECL_ISUPPORTS_INHERITED NS_DECL_NSIPRINTSETTINGSWIN nsPrintSettingsWin(); nsPrintSettingsWin(const nsPrintSettingsWin& aPS); /** Makes a new copy 1541
nsPrinterWin.cpp 4146
nsPrinterWin.h 897
nsSharePicker.cpp 2332
nsSharePicker.h 718
nsSound.cpp static 8282
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 13667
nsUXThemeData.h 3601
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. 295372
nsWindow.h nsWindow - Native window management and event handling. 28530
nsWindowBase.cpp 7999
nsWindowBase.h nsWindowBase - Base class of common methods other classes need to access in both win32 and winrt window classes. 4635
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. 23296
nsWindowGfx.h nsWindowGfx - Painting and aceleration. 1176
nsdefs.h 1362
res 12
resource.h 589
tests 4
touchinjection_sdk80.h 4175
widget.rc 1285