Name Description Size
BasicEvents.h mozilla::BaseEventFlags BaseEventFlags must be a POD struct for safe to use memcpy (including in ParamTraits<BaseEventFlags>). So don't make virtual methods, constructor, destructor and operators. This is necessary for VC which is NOT C++0x compiler. **************************************************************************** 50953
ClipboardWriteRequestChild.cpp 2291
ClipboardWriteRequestChild.h 1210
ClipboardWriteRequestParent.cpp aAddDataFlavor 3412
ClipboardWriteRequestParent.h 1328
ColorScheme.h 1009
CommandList.h Define NS_DEFINE_COMMAND(aName, aCommandStr) before including this. @param aName The name useful in C++ of the command. @param aCommandStr The command string in JS. Define NS_DEFINE_COMMAND_WITH_PARAM(aName, aCommandStr, aParam) before including this. @param aName The name useful in C++ of the command. @param aCommandStr The command string in JS, but this may be shared with other aName values. I.e., cannot map aName and aCommandStr 1:1. @param aParam Additional param value. When aCommandStr is executed, this value is also specified. I.e., aName becomes unique when you look for with both aCommandStr and aParam. Define NS_DEFINE_COMMAND_NO_EXEC_COMMAND(aName) before including this. @param aName The name useful in C++ of the command. 8593
components.conf 3712
CompositorWidget.cpp 2877
CompositorWidget.h Access to a widget from the compositor is restricted to these methods. 9138
ContentCache.cpp mozilla::ContentCache *************************************************************************** 78746
ContentCache.h ContentCache stores various information of the child content. This class has members which are necessary both in parent process and content process. 21845
ContentData.cpp ContentSelection **************************************************************************** 1148
ContentData.h This file is intended for declaring classes which store DOM content data for widget classes. Those data should be retrived by `WidgetQueryContentEvent`, notified with `IMENotification`, or set assumed data as result of dispatching widget events such as `WidgetKeyboardEvent`, `WidgetCompositionEvent`, `WidgetSelectionEvent` etc. 2975
ContentEvents.h mozilla::InternalScrollPortEvent **************************************************************************** 10584
DimensionRequest.cpp 3344
DimensionRequest.h DimensionRequest allows to request the change of some dimensions without having to specify the unchanged dimensions. This is specifically necessary when a change is initiated from a child process, which might not have an up-to-date view of its latest dimensions. Having to specify the missing dimensions with an outdated view can revert a previous change. The following series of changes `window.screenX = 10; window.screenY = 10;` essentially translates into two moveTo() calls. For the second call we want to account for changes made by the first call. From a child process we would end up crafting the second call without knowing the results of the first call. In the parent process we have access to results of the first call before crafting the second one. Although on Linux even the parent process doesn't have immediate access to the results of the last change. Note: The concept of an inner position is not present on nsIDocShellTreeOwner and nsIBaseWindow. A request specifying an inner position will return an NS_ERROR_NOT_IMPLEMENTED. 2617
EventClassList.h This header file lists up all event classes and related structs. Define NS_EVENT_CLASS(aPrefix, aName) and NS_ROOT_EVENT_CLASS(aPrefix, aName) before including this. If an event name is WidgetInputEvent, aPrefix is "Widget" and aName is "InputEvent". NS_ROOT_EVENT_CLASS() is only used for WidgetEvent for allowing special handling for it. If you don't need such special handling, you can define it as: #define NS_ROOT_EVENT_CLASS(aPrefix, aName) NS_EVENT_CLASS(aPrefix, aName) 2071
EventForwards.h XXX Following enums should be in BasicEvents.h. However, currently, it's impossible to use foward delearation for enum. 14444
EventMessageList.h This header file lists up all event messages. Before including this header file, you should define: NS_EVENT_MESSAGE(aMessage) Additionally, you can specify following macro for e*First and e*Last. NS_EVENT_MESSAGE_FIRST_LAST(aMessage, aFirst, aLast) This is optional, if you need only actual event messages, you don't need to define this macro. Naming rules of the event messages: 0. Starting with "e" prefix and use camelcase. 1. Basically, use same name as the DOM name which is fired at dispatching the event. 2. If the event message name becomes too generic, e.g., "eInvalid", that may conflict with another enum's item name, append something after the "e" prefix, e.g., "eFormInvalid". 16046
FontRange.h 666
GfxDriverInfo.cpp = nullptr 26512
GfxDriverInfo.h 17324
GfxInfoBase.cpp 65853
GfxInfoBase.h 6639
GfxInfoCollector.cpp 1379
GfxInfoCollector.h this is handy wrapper around JSAPI to make it more pleasant to use. We collect the JSAPI errors and so that callers don't need to 2253
IconLoader.cpp aUseUrgentStartForChannel 4044
IconLoader.h IconLoader is a utility for loading icons from either the disk or over the network, and then using them in native OS widgetry like the macOS global menu bar or the Windows notification area. 2131
IMEData.cpp = UINT32_MAX 13588
IMEData.h 37944
InitData.h 4564
InProcessCompositorWidget.cpp static 4355
InProcessCompositorWidget.h 2162
InputData.cpp 31458
InputData.h Base input data class. Should never be instantiated. 30746
LookAndFeel.h A Boolean value to determine whether the Windows accent color should be applied to the title bar. The value of this metric is not used on other platforms. These platforms should return NS_ERROR_NOT_IMPLEMENTED when queried for this metric. 19173
LookAndFeelTypes.ipdlh The format allows for some compression compared with having fixed length arrays for each value type and some indication of whether a value is present. This is because not all values are present on a given platform, and because there is also substantial repetition of specific values. Each of ints, floats, colors, and fonts is an array that stores the unique values that occur in the LookAndFeel. intMap, floatMap, colorMap, and fontMap map from value IDs (LookAndFeel::IntID, etc.) to indexes into the value arrays. The map arrays are of fixed length, determined by the maximum ID value. If a value for a particular ID is not present, the entry in the map is set to -1. 1908
LSBUtils.cpp 1992
LSBUtils.h 828
MediaKeysEventSourceFactory.h 732
MiscEvents.h mozilla::WidgetContentCommandEvent **************************************************************************** 4822
MouseEvents.h mozilla::WidgetPointerHelper **************************************************************************** 26423 10124
NativeKeyBindingsType.h 647
NativeKeyToDOMCodeName.h This header file defines simple code mapping between native scancode or something and DOM code name index. You must define NS_NATIVE_KEY_TO_DOM_CODE_NAME_INDEX macro before include this. It must have two arguments, (aNativeKey, aCodeNameIndex). aNativeKey is a scancode value or something (depends on the platform). aCodeNameIndex is the widget::CodeNameIndex value. 22731
NativeKeyToDOMKeyName.h This header file defines simple key mapping between native keycode value and DOM key name index. You must define NS_NATIVE_KEY_TO_DOM_KEY_NAME_INDEX macro before include this. It must have two arguments, (aNativeKey, aKeyNameIndex). aNativeKey is a native keycode value. aKeyNameIndex is the widget::KeyNameIndex value. 37415
NativeMenu.h 3736
NativeMenuSupport.h 1343
nsAppShellSingleton.h This file is designed to be included into the file that provides the XPCOM module implementation for a particular widget toolkit. The following functions are defined: nsAppShellInit nsAppShellShutdown nsAppShellConstructor The nsAppShellInit function is designed to be used as a module constructor. If you already have a module constructor, then call nsAppShellInit from your module constructor. The nsAppShellShutdown function is designed to be used as a module destructor. If you already have a module destructor, then call nsAppShellShutdown from your module destructor. The nsAppShellConstructor function is designed to be used as a factory method for the nsAppShell class. 2101
nsAutoRollup.cpp static 1301
nsAutoRollup.h 2032
nsBaseAppShell.cpp 10273
nsBaseAppShell.h A singleton that manages the UI thread's event queue. Subclass this class to enable platform-specific event queue support. 4870
nsBaseClipboard.cpp Sets the transferable object 9160
nsBaseClipboard.h A helper base class to implement nsIClipboard::SetData/AsyncSetData, so that all platform can share the same implementation. XXX this could be merged into nsBaseClipboard once all platform use nsBaseClipboard as base clipboard class to share the common code, see bug 1773707. 5375
nsBaseDragService.cpp 34862
nsBaseDragService.h XP DragService wrapper base class 6830
nsBaseFilePicker.cpp A runnable to dispatch from the main thread to the main thread to display the file picker while letting the showAsync method return right away. 11778
nsBaseFilePicker.h 2551
nsBaseWidget.cpp static 128445
nsBaseWidget.h Common widget implementation used as base class for native or crossplatform implementations of Widgets. All cross-platform behavior that all widgets need to implement should be placed in this class. (Note: widget implementations are not required to use this class, but it gives them a head start.) 29687
nsClipboardHelper.cpp nsClipboardHelper ctor / dtor *************************************************************************** 4427
nsClipboardHelper.h impl class for nsIClipboardHelper, a helper for common uses of nsIClipboard. 722
nsClipboardProxy.cpp aAddDataFlavor 6337
nsClipboardProxy.h 1438
nsColorPickerProxy.cpp 1496
nsColorPickerProxy.h 988
nsContentProcessWidgetFactory.h 2893
nsCUPSShim.cpp ex: set tabstop=8 softtabstop=2 shiftwidth=2 expandtab: 2452
nsCUPSShim.h ex: set tabstop=8 softtabstop=2 shiftwidth=2 expandtab: 3273
nsDeviceContextSpecProxy.cpp 5268
nsDeviceContextSpecProxy.h 1708
nsDragServiceProxy.cpp 3484
nsDragServiceProxy.h 824
nsFilePickerProxy.cpp 7456
nsFilePickerProxy.h This class creates a proxy file picker to be used in content processes. The file picker just collects the initialization data and when Show() is called, remotes everything to the chrome process which in turn can show a platform specific file picker. 3034
nsGUIEventIPC.h 54884
nsHTMLFormatConverter.cpp 6060
nsHTMLFormatConverter.h 966
nsIApplicationChooser.idl Initialize the application chooser picker widget. The application chooser is not valid until this method is called. @param parent nsIDOMWindow parent. This dialog will be dependent on this parent. parent must be non-null. @param title The title for the file widget 1386
nsIAppShell.idl After the default timezone changes, this topic is notified. Some systems may not support monitoring timezone. 2419
nsIBaseWindow.cpp 589
nsIBaseWindow.idl #include "nsIWidget.idl" Boy this would be nice. 9997
nsIBidiKeyboard.idl Inspects the installed keyboards and resets the bidi keyboard state 966
nsIClipboard.idl Provide the data for the set request. @param aTransferable The transferable contains the data to be written. @param aOwner [optional] The owner of the transferable. 6622
nsIClipboardHelper.idl helper service for common uses of nsIClipboard. 1512
nsIClipboardOwner.idl Notifies the owner of the clipboard transferable that the transferable is being removed from the clipboard @param aTransferable The transferable @result NS_Ok if no errors 746
nsIColorPicker.idl nsIColorPicker is representing colors as strings because the internal representation will depend on the underlying backend. The format of the colors taken in input and returned will always follow the format of the <input type='color'> value as described in the HTML specifications. 2881
nsIDeviceContextSpec.cpp 3129
nsIDeviceContextSpec.h Initialize the device context spec. @param aWidget A widget a dialog can be hosted in @param aPrintSettings Print settings for the print operation @param aIsPrintPreview True if creating Spec for PrintPreview @return NS_OK or a suitable error code. 3360
nsIDisplayInfo.idl 485
nsIDragService.idl Starts a modal drag session with an array of transaferables. Note: This method is deprecated for non-native code. @param aPrincipal - the triggering principal of the drag, or null if it's from browser chrome or OS @param aCsp - The csp of the triggering Document @param aTransferables - an array of transferables to be dragged @param aActionType - specified which of copy/move/link are allowed @param aContentPolicyType - the contentPolicyType that will be passed to the loadInfo when creating a new channel (defaults to TYPE_OTHER) 8338
nsIDragSession.idl Set the current state of the drag, whether it can be dropped or not. usually the target "frame" sets this so the native system can render the correct feedback 4839
nsIFilePicker.idl Initialize the file picker widget. The file picker is not valid until this method is called. @param parent mozIDOMWindow parent. This dialog will be dependent on this parent. parent must be non-null. @param title The title for the file widget @param mode load, save, or get folder 8088
nsIFormatConverter.idl Get the list of the "input" data flavors (mime types as nsISupportsCString), in otherwords, the flavors that this converter can convert "from" (the incoming data to the converter). 1703
nsIGfxInfo.idl NOTE: this interface is completely undesigned, not stable and likely to change 14153
nsIGfxInfoDebug.idl NOTE: this interface is only implemented in debug builds 674
nsIGtkTaskbarProgress.idl Allow the TaskbarProgress instance to set a new target window. 636
nsIJumpListBuilder.idl JumpLists Jump lists are built and then applied. Modifying an applied jump list is not permitted. Callers should begin the creation of a new jump list using initListBuild, add sub lists using addListToBuild, then commit the jump list using commitListBuild. Lists are built in real-time during the sequence of build calls, make sure to check for errors on each individual step. The default number of allowed items in a jump list is ten. Users can change the number through system preferences. User may also pin items to jump lists, which take up additional slots. Applications do not have control over the number of items allowed in jump lists; excess items added are dropped by the system. Item insertion priority is defined as first to last added. Users may remove items from jump lists after they are commited. The system tracks removed items between commits. A list of these items is returned by a call to initListBuild. nsIJumpListBuilder does not filter entries added that have been removed since the last commit. To prevent repeatedly adding entries users have removed, applications are encoraged to track removed items internally. Each list is made up of an array of nsIJumpListItem representing items such as shortcuts, links, and separators. See nsIJumpListItem for information on adding additional jump list types. 5712
nsIJumpListItem.idl Implements Win7 Taskbar jump list item interfaces. Note to consumers: it's reasonable to expect we'll need support for other types of jump list items (an audio file, an email message, etc.). To add types, create the specific interface here, add an implementation class to WinJumpListItem, and add support to addListBuild & removed items processing. 3800
nsIMacDockSupport.idl Allow applications to interface with the Mac OS X Dock. Applications may indicate progress on their Dock icon. Only one such progress indicator is available to the entire application. 2723
nsIMacFinderProgress.idl Initialize and display a new Finder progressbar on the given file @param path The path of the file @param canceledCallback Callback which is called when cancelation is requested 1319
nsIMacSharingService.idl Allow applications to interface with the Mac OS X Sharing APIs. 819
nsIMacUserActivityUpdater.idl Updates macOS widget code with the current URI and page title. Widget code can use this information to update NSUserActivity, enabling Handoff functionality. 758
nsIMacWebAppUtils.idl Allow MozApps API to locate and manipulate natively installed apps 1010
nsIPaper.idl The internal name of the paper (a fixed, non-localized ID). (For CUPS, this is the PWG-standardized name as used internally by CUPS; on Windows, it is the integer paper ID as a string.) 1526
nsIPaperMargin.idl 653
nsIPrintDialogService.idl Doc interface here 2630
nsIPrinter.idl An array of nsIPaper instances that represents the available paper sizes. 2571
nsIPrinterList.idl Initializes certain settings from the native printer into the PrintSettings These settings include, but are not limited to: Page Orientation Page Size Number of Copies 2227
nsIPrintSettings.idl Native types 16201
nsIPrintSettingsService.idl Interface to the Service for gwetting the Global PrintSettings object or a unique PrintSettings object 5164
nsIPrintSettingsWin.idl Native types 1490
nsIRollupListener.h Notifies the object to rollup, optionally returning the node that was just rolled up in aLastRolledUp, if non-null. aLastRolledUp is not addrefed. Returns true if the event that the caller is processing should be consumed. 2745
nsIScreen.idl The display type of nsIScreen belongs to. 4299
nsIScreenManager.idl 1270
nsISharePicker.idl Initialize the share picker widget. @param nsIDOMWindow openerWindow. 917
nsISound.idl Not strictly necessary, but avoids delay before first sound. The various methods on nsISound call Init() if they need to. 1499
nsIStandaloneNativeMenu.idl Platform-independent interface to platform native menu objects. 1692
nsISystemStatusBar.idl Allow applications to interface with the Mac OS X system status bar. 1493
nsITaskbarOverlayIconController.idl Starting in Windows 7, applications can display an overlay on the icon in the taskbar. This class wraps around the native functionality to do this. 1755
nsITaskbarPreview.idl nsITaskbarPreview Common interface for both window and tab taskbar previews. This interface cannot be instantiated directly. 2144
nsITaskbarPreviewButton.idl nsITaskbarPreviewButton Provides access to a window preview's toolbar button's properties. 1438
nsITaskbarPreviewController.idl nsITaskbarPreviewCallback Provides an interface for async image result callbacks. See nsITaskbarPreviewController request apis below. 3628
nsITaskbarProgress.idl Starting in Windows 7, applications can display a progress notification in the taskbar. This class wraps around the native functionality to do this. 2008
nsITaskbarTabPreview.idl nsITaskbarTabPreview This interface controls tab preview-specific behavior. Creating an nsITaskbarTabPreview for a window will hide that window's nsITaskbarWindowPreview in the taskbar - the native API performs this unconditionally. When there are no more tab previews for a window, the nsITaskbarWindowPreview will automatically become visible again. An application may have as many tab previews per window as memory allows. 1923
nsITaskbarWindowPreview.idl nsITaskbarWindowPreview This interface represents the preview for a window in the taskbar. By default, Windows implements much of the behavior for applications by default. The primary purpose of this interface is to allow Gecko applications to take control over parts of the preview. Some parts are not controlled through this interface: the title and icon of the preview match the title and icon of the window always. By default, Windows takes care of drawing the thumbnail and preview for the application however if enableCustomDrawing is set to true, then the controller will start to receive requestPreview and requestThumbnail calls as well as reads on the thumbnailAspectRatio, width and height properties. By default, nsITaskbarWindowPreviews are visible. When made invisible, the window disappears from the list of windows in the taskbar for the application. If the window has any visible nsITaskbarTabPreviews, then the nsITaskbarWindowPreview for the corresponding window is automatically hidden. This is not reflected in the visible property. Note that other parts of the system (such as alt-tab) may still request thumbnails and/or previews through the nsITaskbarWindowPreview's controller. nsITaskbarWindowPreview will never invoke the controller's onClose or onActivate methods since handling them may conflict with other internal Gecko state and there is existing infrastructure in place to allow clients to handle those events Window previews may have a toolbar with up to 7 buttons. See nsITaskbarPreviewButton for more information about button properties. 2762
nsITouchBarHelper.idl Back-to-frontend communication for the Touch Bar 1490
nsITouchBarInput.idl Implements an input to be registered on the Mac Touch Bar. 2150
nsITouchBarUpdater.idl Front-to-backend communication to keep Touch Bar updated 1318
nsITransferable.idl nsIFlavorDataProvider allows a flavor to 'promise' data later, supplying the data lazily. To use it, call setTransferData, passing the flavor string and a nsIFlavorDataProvider QI'd to nsISupports. When someone calls getTransferData later, if the data size is stored as 0, the nsISupports will be QI'd to nsIFlavorDataProvider, and its getFlavorData called. 8499
nsIUserIdleService.idl This interface lets you monitor how long the user has been 'idle', i.e. not used their mouse or keyboard. You can get the idle time directly, but in most cases you will want to register an observer for a predefined interval. The observer will get an 'idle' notification when the user is idle for that interval (or longer), and receive an 'active' notification when the user starts using their computer again. 3325
nsIUserIdleServiceInternal.idl "Resets the idle time to the value specified." @param idleDelta the time (in milliseconds) since the last user inter action 591
nsIWidget.h Callback function that processes events. The argument is actually a subtype (subclass) of WidgetEvent which carries platform specific information about the event. Platform specific code knows how to deal with it. The return value determines whether or not the default action should take place. 76107
nsIWidgetListener.cpp 2811
nsIWidgetListener.h sizemode is an adjunct to widget size 5873
nsIWindowsUIUtils.idl Whether the OS is currently in tablet mode. Always false on non-Windows and on versions of Windows before win10 1127
nsIWinTaskbar.idl nsIWinTaskbar This interface represents a service which exposes the APIs provided by the Windows taskbar to applications. Starting in Windows 7, applications gain some control over their appearance in the taskbar. By default, there is one taskbar preview per top level window (excluding popups). This preview is represented by an nsITaskbarWindowPreview object. An application can register its own "tab" previews. Such previews will hide the corresponding nsITaskbarWindowPreview automatically (though this is not reflected in the visible attribute of the nsITaskbarWindowPreview). These tab previews do not have to correspond to tabs in the application - they can vary in size, shape and location. They do not even need to be actual GUI elements on the window. Unlike window previews, tab previews require most of the functionality of the nsITaskbarPreviewController to be implemented. Applications can also show progress on their taskbar icon. This does not interact with the taskbar previews except if the nsITaskbarWindowPreview is made invisible in which case the progress is naturally not shown on that window. When taskbar icons are combined as is the default in Windows 7, the progress for those windows is also combined as defined here: Applications may also define custom taskbar jump lists on application shortcuts. See nsIJumpListBuilder for more information. 6433
nsNativeTheme.cpp static 18690
nsNativeTheme.h 4842
nsPaper.cpp 2389
nsPaper.h Plain struct used for commonly used, hard-coded paper sizes. Used to construct PaperInfo at runtime by localizing the name. 4117
nsPaperMargin.cpp 763
nsPaperMargin.h 771
nsPrimitiveHelpers.cpp 7282
nsPrimitiveHelpers.h 2319
nsPrinterBase.cpp 9204
nsPrinterBase.h Caches the argument by copying it into mPrintSettingsInitializer. If mPrintSettingsInitializer is already populated this is a no-op. 3872
nsPrinterCUPS.cpp 18029
nsPrinterCUPS.h @brief Interface to help implementing nsIPrinter using a CUPS printer. 7336
nsPrinterListBase.cpp 5930
nsPrinterListBase.h 3831
nsPrinterListCUPS.cpp Retrieves a human-readable name for the printer from CUPS. 7715
nsPrinterListCUPS.h 1080
nsPrintSettingsImpl.cpp member initializers and constructor code 29121
nsPrintSettingsImpl.h //*** nsPrintSettings //***************************************************************************** class nsPrintSettings; namespace mozilla { /** A struct that can be used off the main thread to collect printer-specific info that can be used to initialized a default nsIPrintSettings object. 4179
nsPrintSettingsService.cpp 38215
nsPrintSettingsService.h Class nsPrintSettingsService. Base class for the platform specific widget subclasses to inherit from. 3079
nsSoundProxy.cpp 1363
nsSoundProxy.h 532
nsTransferable.cpp Notes to self: - at some point, strings will be accessible from JS, so we won't have to wrap flavors in an nsISupportsCString. Until then, we're kinda stuck with this crappy API of nsIArrays. 14652
nsTransferable.h XP Transferable wrapper 2477
nsUserIdleService.cpp 30866
nsUserIdleService.h Class we can use to store an observer with its associated idle time requirement and whether or not the observer thinks it's "idle". 6615
nsWidgetsCID.h bd57cee8-1dd1-11b2-9fe7-95cf4709aea3 13419
nsXPLookAndFeel.cpp 51201
nsXPLookAndFeel.h 3364
PClipboardWriteRequest.ipdl 566
PrintBackgroundTask.h strict = 4892
PuppetBidiKeyboard.cpp 1260
PuppetBidiKeyboard.h 863
PuppetWidget.cpp static 39335
PuppetWidget.h This "puppet widget" isn't really a platform widget. It's intended to be used in widgetless rendering contexts, such as sandboxed content processes. If any "real" widgetry is needed, the request is forwarded to and/or data received from elsewhere. 16549
RemoteLookAndFeel.cpp 8264
RemoteLookAndFeel.h A LookAndFeel implementation whose native values are provided by the parent process. 2164
Screen.cpp 6300
Screen.h Return default orientation type that angle is 0. This returns LandscapePrimary or PortraitPrimary. 2644
ScreenManager.cpp MOZ_WAYLAND 7876
ScreenManager.h 1874
ScrollbarDrawing.cpp static 16877
ScrollbarDrawing.h 7524
ScrollbarDrawingAndroid.cpp 3609
ScrollbarDrawingAndroid.h 2215
ScrollbarDrawingCocoa.cpp 18220
ScrollbarDrawingCocoa.h 3710
ScrollbarDrawingGTK.cpp 5154
ScrollbarDrawingGTK.h 2225
ScrollbarDrawingWin.cpp 7002
ScrollbarDrawingWin.h 2280
ScrollbarDrawingWin11.cpp 14423
ScrollbarDrawingWin11.h 3217
SharedWidgetUtils.cpp 6704
SwipeTracker.cpp aProcessingFirstEvent = 10157
SwipeTracker.h SwipeTracker turns PanGestureInput events into swipe events (WidgetSimpleGestureEvent) and dispatches them into Gecko. The swiping behavior mirrors the behavior of the Cocoa API -[NSEvent trackSwipeEventWithOptions:dampenAmountThresholdMin:max:usingHandler:]. The advantage of using this class over the Cocoa API is that this class properly supports submitting queued up events to it, and that it hopefully doesn't intermittently break scrolling the way the Cocoa API does (bug 927702). The swipe direction is either left or right. It is determined before the SwipeTracker is created and stays fixed during the swipe. During the swipe, the swipe has a current "value" which is between 0 and the target value. The target value is either 1 (swiping left) or -1 (swiping right) - see SwipeSuccessTargetValue(). A swipe can either succeed or fail. If it succeeds, the swipe animation animates towards the success target value; if it fails, it animates back to a value of 0. A swipe can only succeed if the user is swiping in an allowed direction. (Since both the allowed directions and the swipe direction are known at swipe start time, it's clear from the beginning whether a swipe is doomed to fail. In that case, the purpose of the SwipeTracker is to simulate a bounce-back animation.) 4123
SystemTimeConverter.h 9348
TextEventDispatcher.cpp TextEventDispatcher *************************************************************************** 35102
TextEventDispatcher.h TextEventDispatcher is a helper class for dispatching widget events defined in TextEvents.h. Currently, this is a helper for dispatching WidgetCompositionEvent and WidgetKeyboardEvent. This manages the behavior of them for conforming to DOM Level 3 Events. An instance of this class is created by nsIWidget instance and owned by it. This is typically created only by the top level widgets because only they handle IME. 24087
TextEventDispatcherListener.h NotifyIME() is called by TextEventDispatcher::NotifyIME(). This is a notification or request to IME. See document of nsIWidget::NotifyIME() for the detail. 4273
TextEvents.h virtual keycode values **************************************************************************** 56365
TextRange.h mozilla::TextRangeStyle **************************************************************************** 8421
TextRecognition.cpp 5000
TextRecognition.h IsExclusive = 1520
Theme.cpp 65405
Theme.h bool NeedToClearBackgroundBehindWidget( nsIFrame*, StyleAppearance) override; 9672
ThemeChangeKind.h 1226
ThemeCocoa.cpp 985
ThemeCocoa.h 840
ThemeColors.cpp 9593
ThemeColors.h 3786
ThemeDrawing.cpp static 7371
ThemeDrawing.h 3315
TouchEvents.h mozilla::WidgetGestureNotifyEvent This event is the first event generated when the user touches the screen with a finger, and it's meant to decide what kind of action we'll use for that touch interaction. The event is dispatched to the layout and based on what is underneath the initial contact point it's then decided if we should pan (finger scrolling) or drag the target element. **************************************************************************** 7646
TouchResampler.cpp TouchResampler implementation 15477
TouchResampler.h De-jitters touch motions by resampling (interpolating or extrapolating) touch positions for the vsync timestamp. Touch resampling improves the touch panning experience on devices where touch positions are sampled at a rate that's not an integer multiple of the display refresh rate, for example 100Hz touch sampling on a 60Hz display: Without resampling, we would alternate between taking one touch sample or two touch samples into account each frame, creating a jittery motion ("small step, big step, small step, big step"). Intended for use on Android, where both touch events and vsync notifications arrive on the same thread, the Java UI thread. This class is not thread safe. TouchResampler operates in the following way: Original events are fed into ProcessEvent(). Outgoing events (potentially resampled for resampling) are added to a queue and can be consumed by calling ConsumeOutgoingEvents(). Touch events which are not touch move events are forwarded instantly and not resampled. Only touch move events are resampled. Whenever a touch move event is received, it gets delayed until NotifyFrame() is called, at which point it is resampled into a resampled version for the given frame timestamp, and added to the outgoing queue. If no touch move event is received between two consecutive frames, this is treated as a stop in the touch motion. If the last outgoing event was an resampled touch move event, we return back to the non-resampled state by emitting a copy of the last original touch move event, which has unmodified position data. Touch events which are not touch move events also force a return to the non-resampled state before they are moved to the outgoing queue. 7970
VsyncDispatcher.cpp 8070
VsyncDispatcher.h 5763
WidgetEventImpl.cpp Global helper methods **************************************************************************** 66937
WidgetMessageUtils.h 2785
WidgetTraceEvent.h 929
WidgetUtils.cpp 3924
WidgetUtils.h Shutdown() is called when "xpcom-will-shutdown" is notified. This is useful when you need to observe the notification in XP level code under widget. 3128
WindowButtonType.h 519
WindowOcclusionState.h 1174