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) 11011
AudioSession.h 548
CheckInvariantWrapper.h 2117
components.conf 8477
CompositorWidgetChild.cpp 3677
CompositorWidgetChild.h 2202
CompositorWidgetParent.cpp 7773
CompositorWidgetParent.h 3538
DirectManipulationOwner.cpp 21716
DirectManipulationOwner.h 1592
docs
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) 78223
GfxInfo.h 4316
IEnumFE.cpp IUnknown impl. 3327
IEnumFE.h CEnumFormatEtc - implements IEnumFORMATETC 2426
IMMHandler.cpp IMEContext **************************************************************************** 92345
IMMHandler.h IsIMEAvailable() returns TRUE when current keyboard layout has IME. Otherwise, FALSE. 16387
InkCollector.cpp 8674
InkCollector.h 3061
InProcessWinCompositorWidget.cpp static 11414
InProcessWinCompositorWidget.h 3941
InputDeviceUtils.cpp 1811
InputDeviceUtils.h 828
JumpListBuilder.cpp 20103
JumpListBuilder.h __JumpListBuilder_h__ 2017
JumpListItem.cpp link impl. 16173
JumpListItem.h __JumpListItem_h__ 3705
KeyboardLayout.cpp 198649
KeyboardLayout.h Append a pair of unicode character and the final modifier. 40200
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. 4396
MediaKeysEventSourceFactory.cpp 584
moz.build 5079
nsAppShell.cpp 28015
nsAppShell.h Native Win32 Application shell wrapper 1806
nsBidiKeyboard.cpp 5838
nsBidiKeyboard.h 859
nsClipboard.cpp static 53962
nsClipboard.h Native Win32 Clipboard wrapper 4801
nsColorPicker.cpp static 6561
nsColorPicker.h 1424
nsDataObj.cpp 75107
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(). 11376
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 1604
nsDeviceContextSpecWin.cpp recursive = 22861
nsDeviceContextSpecWin.h 3170
nsDragService.cpp 21315
nsDragService.h Native Win32 DragService wrapper 2252
nsFilePicker.cpp Folder picker invocation 17337
nsFilePicker.h Native Windows FileSelector wrapper 3306
nsLookAndFeel.cpp virtual 27706
nsLookAndFeel.h Gesture System Metrics 2472
nsNativeDragSource.cpp class nsNativeDragSource 2436
nsNativeDragSource.h nsNativeDragSource implements the IDropSource interface and gets most of its behavior from the associated adapter (m_dragDrop). 2146
nsNativeDragTarget.cpp class nsNativeDragTarget 15320
nsNativeDragTarget.h nsNativeDragTarget implements the IDropTarget interface and gets most of its behavior from the associated adapter (m_dragDrop). 3684
nsNativeThemeWin.cpp 127059
nsNativeThemeWin.h 7978
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 ---------------------------------------------------------------------- 12623
nsPrintDialogUtil.h nsFlyOwnDialog_h___ 506
nsPrintDialogWin.cpp ParamBlock 5692
nsPrintDialogWin.h 1105
nsPrinterWin.cpp 18674
nsPrinterWin.h 2125
nsPrintSettingsServiceWin.cpp 4263
nsPrintSettingsServiceWin.h 914
nsPrintSettingsWin.cpp 19403
nsPrintSettingsWin.h //*** nsPrintSettingsWin //***************************************************************************** class nsPrintSettingsWin : public nsPrintSettings, public nsIPrintSettingsWin { virtual ~nsPrintSettingsWin(); public: NS_DECL_ISUPPORTS_INHERITED NS_DECL_NSIPRINTSETTINGSWIN nsPrintSettingsWin(); nsPrintSettingsWin(const nsPrintSettingsWin& aPS); /** @param aPaperSize the Windows dmPaperSize @param aPaperSizeUnit will be set to the nsIPrintSettings paper size unit associated with aPaperSize or left unchanged if aPaperSize is not recognized 1862
nsSharePicker.cpp 2332
nsSharePicker.h 718
nsSound.cpp static 9732
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 677
nsUserIdleServiceWin.h NOTE: Compare of GetTickCount() could overflow. This corrects for overflow situations. * 1292
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 5969
nsUXThemeData.cpp Windows themes we currently detect. 11796
nsUXThemeData.h 3105
nsWidgetFactory.cpp 1663
nsWidgetFactory.h 664
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. Notable related sources: nsWindowDefs.h - Definitions, macros, structs, enums and general setup. nsWindowDbg.h/.cpp - Debug related code and directives. nsWindowGfx.h/.cpp - Graphics and painting. 324531
nsWindow.h nsWindow - Native window management and event handling. 34694
nsWindowDbg.cpp nsWindowDbg - Debug related utilities for nsWindow. 61535
nsWindowDbg.h nsWindowDbg - Debug related utilities for nsWindow. 4329
nsWindowDefs.h nsWindowDefs - nsWindow related definitions, consts, and macros. 3874
nsWindowGfx.cpp nsWindowGfx - Painting and aceleration. 24465
nsWindowGfx.h nsWindowGfx - Painting and aceleration. 1176
nsWindowLoggedMessages.cpp 12215
nsWindowLoggedMessages.h WindowLoggedMessages 898
nsWindowTaskbarConcealer.cpp TaskbarConcealerImpl Implement Windows-fullscreen marking. nsWindow::TaskbarConcealer implements logic determining _whether_ to tell Windows that a given window is fullscreen. TaskbarConcealerImpl performs the platform-specific work of actually communicating that fact to Windows. (This object is not persistent; it's constructed on the stack when needed.) 15589
nsWindowTaskbarConcealer.h nsWindow::TaskbarConcealer Fullscreen-state (and, thus, taskbar-occlusion) manager. 1780
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 1494
PlatformWidgetTypes.ipdlh 947
RemoteBackbuffer.cpp secattr 20805
RemoteBackbuffer.h 2656
res
resource.h 589
ScreenHelperWin.cpp 5728
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
SystemStatusBar.cpp cbSize 11110
SystemStatusBar.h 960
TaskbarPreview.cpp 13092
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 10732
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
ToastNotification.cpp 32386
ToastNotification.h 2208
ToastNotificationHandler.cpp 37928
ToastNotificationHandler.h 5059
ToastNotificationHeaderOnlyUtils.h This header is intended for self-contained, header-only, utility code to share between Windows toast notification code in firefox.exe and notificationserver.dll. 5164
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(" 273743
TSFTextStore.h Text Services Framework text store 45548
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. 3368
WinCompositorWidget.cpp 3388
WinCompositorWidget.h 3375
WinCompositorWindowThread.cpp static 9913
WinCompositorWindowThread.h 1932
WindowHook.cpp 3538
WindowHook.h 2183
WindowsConsole.cpp 1607
WindowsConsole.h 523
WindowsEMF.cpp = nullptr 2350
WindowsEMF.h include windows.h for the HDC definitions that we need. 3392
WindowsEventLog.h Report messages to the Windows Event Log. 3706
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? 23701
WindowsSMTCProvider.h 4696
WindowsUIUtils.cpp mingw currently doesn't support windows.ui.viewmanagement.h, so we disable it until it's fixed. 27771
WindowsUIUtils.h IsExclusive 1547
WinEventObserver.cpp 6684
WinEventObserver.h 3036
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. 25947
WinIMEHandler.cpp IMEHandler **************************************************************************** 39054
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. 7981
WinMessages.h MOZ_WM_* messages ************************************************************************** 3657
WinModifierKeyState.h 1688
WinMouseScrollHandler.cpp MouseScrollHandler **************************************************************************** 60664
WinMouseScrollHandler.h See nsIWidget::SynthesizeNativeMouseScrollEvent() for the detail about this method. 18617
WinPointerEvents.cpp WinPointerEvents - Helper functions to retrieve PointerEvent's attributes 6669
WinPointerEvents.h Flags that appear in pointer input message parameters 6252
WinTaskbar.cpp 12796
WinTaskbar.h __WinTaskbar_h__ 1278
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 static 69737
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. 26294
WinWindowOcclusionTracker.cpp 50522
WinWindowOcclusionTracker.h 13203