Name Description Size
android 65
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. **************************************************************************** 53278
cocoa 131
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. 8517
CompositorWidget.cpp 2872
CompositorWidget.h Access to a widget from the compositor is restricted to these methods. 8779
ContentCache.cpp mozilla::ContentCache *************************************************************************** 70503
ContentCache.h ContentCache stores various information of the child content. This class has members which are necessary both in parent process and content process. 20772
ContentEvents.h mozilla::InternalScrollPortEvent **************************************************************************** 10584
crashtests 5
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. 14468
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". 16819
FontRange.h 666
generic 2
GfxDriverInfo.cpp = nullptr 33442
GfxDriverInfo.h 18318
GfxInfoBase.cpp 64892
GfxInfoBase.h 7017
GfxInfoCollector.cpp 1373
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 2247
gtk 123
headless 22
IconLoader.cpp aUseUrgentStartForChannel 3864
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 10947
IMEData.h 34213
InProcessCompositorWidget.cpp static 4599
InProcessCompositorWidget.h 2162
InputData.cpp 31383
InputData.h Base input data class. Should never be instantiated. 29687
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. 18030
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 1859
LSBUtils.h 828
MediaKeysEventSourceFactory.h 732
MiscEvents.h mozilla::WidgetContentCommandEvent **************************************************************************** 4822
MouseEvents.h mozilla::WidgetPointerHelper **************************************************************************** 26408
moz.build 8517
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 3596
nsAppShellSingleton.h This file is designed to be included into the file that provides the nsIModule 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. 2200
nsAutoRollup.cpp static 1301
nsAutoRollup.h 2032
nsBaseAppShell.cpp 10013
nsBaseAppShell.h A singleton that manages the UI thread's event queue. Subclass this class to enable platform-specific event queue support. 4760
nsBaseClipboard.cpp Sets the transferable object 3441
nsBaseClipboard.h Native Win32 BaseClipboard wrapper 1121
nsBaseDragService.cpp 32958
nsBaseDragService.h XP DragService wrapper base class 6889
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. 11552
nsBaseFilePicker.h 2455
nsBaseScreen.cpp 1287
nsBaseScreen.h 1293
nsBaseWidget.cpp static 124471
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.) 30132
nsClipboardHelper.cpp nsClipboardHelper ctor / dtor *************************************************************************** 4250
nsClipboardHelper.h impl class for nsIClipboardHelper, a helper for common uses of nsIClipboard. 722
nsClipboardProxy.cpp 4952
nsClipboardProxy.h 1438
nsColorPickerProxy.cpp 1446
nsColorPickerProxy.h 986
nsContentProcessWidgetFactory.cpp 2744
nsCUPSShim.cpp ex: set tabstop=8 softtabstop=2 shiftwidth=2 expandtab: 2452
nsCUPSShim.h ex: set tabstop=8 softtabstop=2 shiftwidth=2 expandtab: 3003
nsDeviceContextSpecProxy.cpp 6561
nsDeviceContextSpecProxy.h 1883
nsDragServiceProxy.cpp 3227
nsDragServiceProxy.h 824
nsFilePickerProxy.cpp 7396
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. 2917
nsGUIEventIPC.h 56878
nsHTMLFormatConverter.cpp 6057
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 1387
nsIAppShell.idl Interface for the native event system layer. This interface is designed to be used on the main application thread only. 2850
nsIBaseWindow.idl #include "nsIWidget.idl" Boy this would be nice. 7120
nsIBidiKeyboard.idl Inspects the installed keyboards and resets the bidi keyboard state 967
nsIClipboard.idl Given a transferable, set the data on the native clipboard @param aTransferable The transferable @param anOwner The owner of the transferable @param aWhichClipboard Specifies the clipboard to which this operation applies. @result NS_Ok if no errors 3013
nsIClipboardHelper.idl helper service for common uses of nsIClipboard. 1049
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. 2848
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. 2956
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) 8074
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 4518
nsIFilePicker.idl Callback which is called when a filepicker is shown and a result is returned. @param aResult One of returnOK, returnCancel, or returnReplace 7746
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 13181
nsIGfxInfoDebug.idl NOTE: this interface is only implemented in debug builds 871
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. 5657
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. 3801
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
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.h Interface to a print dialog accessed through the widget library. 2502
nsIPrinter.idl An array of nsIPaper instances that represents the available paper sizes. 2207
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
nsIPrintSession.idl nsIPrintSession Stores data pertaining only to a single print job. This differs from nsIPrintSettings, which stores data which may be valid across a number of jobs. The creation of a component which implements this interface will begin the session. Likewise, destruction of that object will end the session. @status 1075
nsIPrintSettings.idl Native types 14772
nsIPrintSettingsService.idl Interface to the Service for gwetting the Global PrintSettings object or a unique PrintSettings object 5132
nsIPrintSettingsWin.idl Native types 1490
nsIRollupListener.h Notifies the object to rollup, optionally returning the node that was just rolled up. If aFlush is true, then views should be flushed after the rollup. aPoint is the mouse pointer position where the event that triggered the rollup occurred, which may be nullptr. aCount is the number of popups in a chain to close. If this is UINT32_MAX, then all popups are closed. If aLastRolledUp is non-null, it will be set to the last rolled up popup, if this is supported. aLastRolledUp is not addrefed. Returns true if the event that the caller is processing should be consumed. 2646
nsIScreen.idl The display type of nsIScreen belongs to. 2356
nsIScreenManager.idl 1028
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. 1496
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. 2145
nsITaskbarPreviewButton.idl nsITaskbarPreviewButton Provides access to a window preview's toolbar button's properties. 1439
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. 1924
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. 2763
nsITouchBarHelper.idl Back-to-frontend communication for the Touch Bar 1358
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. 8090
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 592
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. 78300
nsIWidgetListener.cpp 2932
nsIWidgetListener.h sizemode is an adjunct to widget size 6059
nsIWindowsUIUtils.idl Whether the OS is currently in tablet mode. Always false on non-Windows and on versions of Windows before win10 1028
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: http://msdn.microsoft.com/en-us/library/dd391697%28VS.85%29.aspx Applications may also define custom taskbar jump lists on application shortcuts. See nsIJumpListBuilder for more information. 6751
nsNativeBasicTheme.cpp 93277
nsNativeBasicTheme.h 22174
nsNativeTheme.cpp static 22824
nsNativeTheme.h 5675
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 7498
nsPrimitiveHelpers.h 2322
nsPrinterBase.cpp 7947
nsPrinterBase.h Caches the argument by copying it into mPrintSettingsInitializer. If mPrintSettingsInitializer is already populated this is a no-op. 3748
nsPrinterCUPS.cpp 13671
nsPrinterCUPS.h @brief Interface to help implementing nsIPrinter using a CUPS printer. 6113
nsPrinterListBase.cpp 5736
nsPrinterListBase.h 3831
nsPrinterListCUPS.cpp Retrieves a human-readable name for the printer from CUPS. https://www.cups.org/doc/cupspm.html#basic-destination-information 6277
nsPrinterListCUPS.h 1080
nsPrintSession.cpp 1282
nsPrintSession.h 1030
nsPrintSettingsImpl.cpp member initializers and constructor code 25519
nsPrintSettingsImpl.h //*** 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. 3536
nsPrintSettingsService.cpp 35597
nsPrintSettingsService.h Class nsPrintSettingsService. Base class for the platform specific widget subclasses to inherit from. 3231
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. 14192
nsTransferable.h XP Transferable wrapper 2405
nsUserIdleService.cpp 5 sec 31176
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". 6784
nsWidgetInitData.h Window types Don't alter previously encoded enum values - 3rd party apps may look at these. 5763
nsWidgetsCID.h bd57cee8-1dd1-11b2-9fe7-95cf4709aea3 13377
nsXPLookAndFeel.cpp 35917
nsXPLookAndFeel.h 2992
PrintBackgroundTask.h strict = 4891
PuppetBidiKeyboard.cpp 1260
PuppetBidiKeyboard.h 863
PuppetWidget.cpp static 42432
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. 16805
reftests 12
RemoteLookAndFeel.cpp 8264
RemoteLookAndFeel.h A LookAndFeel implementation whose native values are provided by the parent process. 2164
Screen.cpp 3818
Screen.h 1443
ScreenManager.cpp MOZ_WAYLAND 7049
ScreenManager.h 1597
ScrollbarDrawingMac.cpp aOverlay = 13417
ScrollbarDrawingMac.h 2598
SharedWidgetUtils.cpp 6704
SystemTimeConverter.h 9348
tests 77
TextEventDispatcher.cpp TextEventDispatcher *************************************************************************** 34287
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. 23380
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 **************************************************************************** 55873
TextRange.h mozilla::TextRangeStyle **************************************************************************** 8421
ThemeChangeKind.h 1226
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. **************************************************************************** 7240
TouchResampler.cpp TouchResampler implementation 15531
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
uikit 12
VsyncDispatcher.cpp 6094
VsyncDispatcher.h 4130
WidgetEventImpl.cpp Global helper methods **************************************************************************** 66107
WidgetMessageUtils.h 2469
WidgetTraceEvent.h 929
WidgetUtils.cpp 4509
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. 3472
windows 162
x11 3