From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- widget/BasicEvents.h | 1326 +++ widget/ClipboardWriteRequestChild.cpp | 73 + widget/ClipboardWriteRequestChild.h | 40 + widget/ClipboardWriteRequestParent.cpp | 109 + widget/ClipboardWriteRequestParent.h | 46 + widget/ColorScheme.h | 30 + widget/CommandList.h | 170 + widget/CompositorWidget.cpp | 78 + widget/CompositorWidget.h | 298 + widget/ContentCache.cpp | 1887 ++++ widget/ContentCache.h | 574 + widget/ContentData.cpp | 29 + widget/ContentData.h | 84 + widget/ContentEvents.h | 302 + widget/DimensionRequest.cpp | 119 + widget/DimensionRequest.h | 71 + widget/EventClassList.h | 58 + widget/EventForwards.h | 474 + widget/EventMessageList.h | 457 + widget/FontRange.h | 24 + widget/GfxDriverInfo.cpp | 755 ++ widget/GfxDriverInfo.h | 497 + widget/GfxInfoBase.cpp | 1995 ++++ widget/GfxInfoBase.h | 174 + widget/GfxInfoCollector.cpp | 44 + widget/GfxInfoCollector.h | 88 + widget/IMEData.cpp | 418 + widget/IMEData.h | 1077 ++ widget/IconLoader.cpp | 132 + widget/IconLoader.h | 69 + widget/InProcessCompositorWidget.cpp | 136 + widget/InProcessCompositorWidget.h | 55 + widget/InitData.h | 115 + widget/InputData.cpp | 925 ++ widget/InputData.h | 835 ++ widget/LSBUtils.cpp | 141 + widget/LSBUtils.h | 25 + widget/LookAndFeel.h | 625 ++ widget/LookAndFeelTypes.ipdlh | 59 + widget/MediaKeysEventSourceFactory.h | 24 + widget/MiscEvents.h | 148 + widget/MouseEvents.h | 742 ++ widget/NativeKeyBindingsType.h | 19 + widget/NativeKeyToDOMCodeName.h | 821 ++ widget/NativeKeyToDOMKeyName.h | 1288 +++ widget/NativeMenu.h | 101 + widget/NativeMenuSupport.h | 47 + widget/PClipboardWriteRequest.ipdl | 25 + widget/PrintBackgroundTask.h | 121 + widget/PuppetBidiKeyboard.cpp | 45 + widget/PuppetBidiKeyboard.h | 35 + widget/PuppetWidget.cpp | 1186 ++ widget/PuppetWidget.h | 406 + widget/RemoteLookAndFeel.cpp | 236 + widget/RemoteLookAndFeel.h | 63 + widget/Screen.cpp | 191 + widget/Screen.h | 84 + widget/ScreenManager.cpp | 261 + widget/ScreenManager.h | 68 + widget/ScrollbarDrawing.cpp | 424 + widget/ScrollbarDrawing.h | 172 + widget/ScrollbarDrawingAndroid.cpp | 84 + widget/ScrollbarDrawingAndroid.h | 50 + widget/ScrollbarDrawingCocoa.cpp | 476 + widget/ScrollbarDrawingCocoa.h | 76 + widget/ScrollbarDrawingGTK.cpp | 133 + widget/ScrollbarDrawingGTK.h | 52 + widget/ScrollbarDrawingWin.cpp | 173 + widget/ScrollbarDrawingWin.h | 55 + widget/ScrollbarDrawingWin11.cpp | 364 + widget/ScrollbarDrawingWin11.h | 68 + widget/SharedWidgetUtils.cpp | 273 + widget/SwipeTracker.cpp | 265 + widget/SwipeTracker.h | 111 + widget/SystemTimeConverter.h | 235 + widget/TextEventDispatcher.cpp | 989 ++ widget/TextEventDispatcher.h | 568 + widget/TextEventDispatcherListener.h | 95 + widget/TextEvents.h | 1459 +++ widget/TextRange.h | 287 + widget/TextRecognition.cpp | 133 + widget/TextRecognition.h | 54 + widget/Theme.cpp | 1686 +++ widget/Theme.h | 208 + widget/ThemeChangeKind.h | 35 + widget/ThemeCocoa.cpp | 28 + widget/ThemeCocoa.h | 31 + widget/ThemeColors.cpp | 264 + widget/ThemeColors.h | 111 + widget/ThemeDrawing.cpp | 183 + widget/ThemeDrawing.h | 79 + widget/TouchEvents.h | 214 + widget/TouchResampler.cpp | 377 + widget/TouchResampler.h | 191 + widget/VsyncDispatcher.cpp | 261 + widget/VsyncDispatcher.h | 157 + widget/WidgetEventImpl.cpp | 1948 ++++ widget/WidgetMessageUtils.h | 76 + widget/WidgetTraceEvent.h | 27 + widget/WidgetUtils.cpp | 134 + widget/WidgetUtils.h | 96 + widget/WindowButtonType.h | 22 + widget/WindowOcclusionState.h | 34 + widget/android/AndroidAlerts.cpp | 159 + widget/android/AndroidAlerts.h | 46 + widget/android/AndroidBridge.cpp | 431 + widget/android/AndroidBridge.h | 275 + widget/android/AndroidBridgeUtilities.h | 19 + widget/android/AndroidCompositorWidget.cpp | 105 + widget/android/AndroidCompositorWidget.h | 70 + widget/android/AndroidContentController.cpp | 70 + widget/android/AndroidContentController.h | 52 + widget/android/AndroidUiThread.cpp | 377 + widget/android/AndroidUiThread.h | 25 + widget/android/AndroidView.h | 35 + widget/android/AndroidVsync.cpp | 150 + widget/android/AndroidVsync.h | 79 + widget/android/Base64UtilsSupport.h | 52 + widget/android/CompositorWidgetChild.cpp | 42 + widget/android/CompositorWidgetChild.h | 41 + widget/android/CompositorWidgetParent.cpp | 54 + widget/android/CompositorWidgetParent.h | 42 + widget/android/EventDispatcher.cpp | 776 ++ widget/android/EventDispatcher.h | 104 + widget/android/GeckoBatteryManager.h | 28 + widget/android/GeckoEditableSupport.cpp | 1684 +++ widget/android/GeckoEditableSupport.h | 286 + widget/android/GeckoNetworkManager.h | 45 + widget/android/GeckoProcessManager.cpp | 77 + widget/android/GeckoProcessManager.h | 84 + widget/android/GeckoSystemStateListener.h | 31 + widget/android/GeckoTelemetryDelegate.h | 100 + widget/android/GeckoVRManager.h | 24 + widget/android/GeckoViewSupport.h | 126 + widget/android/GfxInfo.cpp | 871 ++ widget/android/GfxInfo.h | 109 + widget/android/ImageDecoderSupport.cpp | 185 + widget/android/ImageDecoderSupport.h | 30 + .../android/InProcessAndroidCompositorWidget.cpp | 57 + widget/android/InProcessAndroidCompositorWidget.h | 45 + widget/android/MediaKeysEventSourceFactory.cpp | 17 + widget/android/PCompositorWidget.ipdl | 30 + widget/android/PlatformWidgetTypes.ipdlh | 29 + widget/android/ScreenHelperAndroid.cpp | 70 + widget/android/ScreenHelperAndroid.h | 29 + widget/android/Telemetry.h | 31 + widget/android/WebExecutorSupport.cpp | 469 + widget/android/WebExecutorSupport.h | 32 + widget/android/WindowEvent.h | 57 + .../bindings/AccessibilityEvent-classes.txt | 3 + widget/android/bindings/AndroidBuild-classes.txt | 5 + .../android/bindings/AndroidGraphics-classes.txt | 10 + .../android/bindings/AndroidInputType-classes.txt | 3 + widget/android/bindings/AndroidProcess-classes.txt | 5 + widget/android/bindings/AndroidRect-classes.txt | 2 + widget/android/bindings/InetAddress-classes.txt | 6 + widget/android/bindings/JavaBuiltins-classes.txt | 25 + widget/android/bindings/JavaExceptions-classes.txt | 8 + widget/android/bindings/KeyEvent-classes.txt | 3 + widget/android/bindings/MediaCodec-classes.txt | 13 + widget/android/bindings/MotionEvent-classes.txt | 3 + widget/android/bindings/SurfaceTexture-classes.txt | 5 + .../android/bindings/ViewConfiguration-classes.txt | 1 + widget/android/bindings/moz.build | 54 + widget/android/components.conf | 100 + widget/android/jni/Accessors.h | 251 + widget/android/jni/Conversions.cpp | 115 + widget/android/jni/Conversions.h | 23 + widget/android/jni/GeckoBundleUtils.cpp | 309 + widget/android/jni/GeckoBundleUtils.h | 46 + widget/android/jni/GeckoResultUtils.h | 54 + widget/android/jni/Natives.h | 1540 +++ widget/android/jni/NativesInlines.h | 116 + widget/android/jni/Refs.h | 1117 ++ widget/android/jni/TypeAdapter.h | 71 + widget/android/jni/Types.h | 123 + widget/android/jni/Utils.cpp | 348 + widget/android/jni/Utils.h | 150 + widget/android/jni/moz.build | 36 + widget/android/moz.build | 201 + widget/android/nsAppShell.cpp | 753 ++ widget/android/nsAppShell.h | 217 + widget/android/nsClipboard.cpp | 182 + widget/android/nsClipboard.h | 41 + widget/android/nsDeviceContextAndroid.cpp | 100 + widget/android/nsDeviceContextAndroid.h | 33 + widget/android/nsIAndroidBridge.idl | 58 + widget/android/nsLookAndFeel.cpp | 457 + widget/android/nsLookAndFeel.h | 57 + widget/android/nsPrintSettingsServiceAndroid.cpp | 33 + widget/android/nsPrintSettingsServiceAndroid.h | 18 + widget/android/nsUserIdleServiceAndroid.cpp | 12 + widget/android/nsUserIdleServiceAndroid.h | 34 + widget/android/nsWidgetFactory.cpp | 21 + widget/android/nsWidgetFactory.h | 21 + widget/android/nsWindow.cpp | 3252 ++++++ widget/android/nsWindow.h | 292 + widget/cocoa/AppearanceOverride.h | 19 + widget/cocoa/AppearanceOverride.mm | 100 + widget/cocoa/CFTypeRefPtr.h | 194 + widget/cocoa/CustomCocoaEvents.h | 18 + widget/cocoa/DesktopBackgroundImage.h | 19 + widget/cocoa/DesktopBackgroundImage.mm | 68 + widget/cocoa/GfxInfo.h | 98 + widget/cocoa/GfxInfo.mm | 495 + widget/cocoa/MOZIconHelper.h | 34 + widget/cocoa/MOZIconHelper.mm | 64 + widget/cocoa/MOZMenuOpeningCoordinator.h | 53 + widget/cocoa/MOZMenuOpeningCoordinator.mm | 216 + widget/cocoa/MacThemeGeometryType.h | 21 + widget/cocoa/MediaHardwareKeysEventSourceMac.h | 47 + widget/cocoa/MediaHardwareKeysEventSourceMac.mm | 183 + .../MediaHardwareKeysEventSourceMacMediaCenter.h | 60 + .../MediaHardwareKeysEventSourceMacMediaCenter.mm | 172 + widget/cocoa/MediaKeysEventSourceFactory.cpp | 23 + widget/cocoa/NativeKeyBindings.h | 67 + widget/cocoa/NativeKeyBindings.mm | 605 + widget/cocoa/NativeMenuMac.h | 93 + widget/cocoa/NativeMenuMac.mm | 394 + widget/cocoa/NativeMenuSupport.mm | 32 + widget/cocoa/OSXNotificationCenter.h | 56 + widget/cocoa/OSXNotificationCenter.mm | 556 + widget/cocoa/SDKDeclarations.h | 133 + widget/cocoa/ScreenHelperCocoa.h | 34 + widget/cocoa/ScreenHelperCocoa.mm | 178 + widget/cocoa/TextInputHandler.h | 1283 +++ widget/cocoa/TextInputHandler.mm | 5073 +++++++++ widget/cocoa/TextRecognition.mm | 109 + widget/cocoa/VibrancyManager.h | 93 + widget/cocoa/VibrancyManager.mm | 147 + widget/cocoa/ViewRegion.h | 54 + widget/cocoa/ViewRegion.mm | 66 + widget/cocoa/WidgetTraceEvent.mm | 79 + widget/cocoa/components.conf | 168 + widget/cocoa/crashtests/373122-1-inner.html | 39 + widget/cocoa/crashtests/373122-1.html | 9 + widget/cocoa/crashtests/397209-1.html | 7 + widget/cocoa/crashtests/403296-1.xhtml | 10 + widget/cocoa/crashtests/419737-1.html | 8 + widget/cocoa/crashtests/435223-1.html | 8 + widget/cocoa/crashtests/444260-1.xhtml | 3 + widget/cocoa/crashtests/444864-1.html | 6 + widget/cocoa/crashtests/449111-1.html | 4 + widget/cocoa/crashtests/460349-1.xhtml | 4 + widget/cocoa/crashtests/460387-1.html | 2 + widget/cocoa/crashtests/464589-1.html | 20 + widget/cocoa/crashtests/crashtests.list | 11 + widget/cocoa/cursors/arrowN.png | Bin 0 -> 253 bytes widget/cocoa/cursors/arrowN@2x.png | Bin 0 -> 614 bytes widget/cocoa/cursors/arrowS.png | Bin 0 -> 250 bytes widget/cocoa/cursors/arrowS@2x.png | Bin 0 -> 609 bytes widget/cocoa/cursors/cell.png | Bin 0 -> 264 bytes widget/cocoa/cursors/cell@2x.png | Bin 0 -> 639 bytes widget/cocoa/cursors/colResize.png | Bin 0 -> 320 bytes widget/cocoa/cursors/colResize@2x.png | Bin 0 -> 825 bytes widget/cocoa/cursors/help.png | Bin 0 -> 713 bytes widget/cocoa/cursors/help@2x.png | Bin 0 -> 1679 bytes widget/cocoa/cursors/move.png | Bin 0 -> 281 bytes widget/cocoa/cursors/move@2x.png | Bin 0 -> 619 bytes widget/cocoa/cursors/rowResize.png | Bin 0 -> 329 bytes widget/cocoa/cursors/rowResize@2x.png | Bin 0 -> 843 bytes widget/cocoa/cursors/sizeNE.png | Bin 0 -> 274 bytes widget/cocoa/cursors/sizeNE@2x.png | Bin 0 -> 775 bytes widget/cocoa/cursors/sizeNESW.png | Bin 0 -> 295 bytes widget/cocoa/cursors/sizeNESW@2x.png | Bin 0 -> 948 bytes widget/cocoa/cursors/sizeNS.png | Bin 0 -> 279 bytes widget/cocoa/cursors/sizeNS@2x.png | Bin 0 -> 658 bytes widget/cocoa/cursors/sizeNW.png | Bin 0 -> 274 bytes widget/cocoa/cursors/sizeNW@2x.png | Bin 0 -> 771 bytes widget/cocoa/cursors/sizeNWSE.png | Bin 0 -> 288 bytes widget/cocoa/cursors/sizeNWSE@2x.png | Bin 0 -> 947 bytes widget/cocoa/cursors/sizeSE.png | Bin 0 -> 264 bytes widget/cocoa/cursors/sizeSE@2x.png | Bin 0 -> 783 bytes widget/cocoa/cursors/sizeSW.png | Bin 0 -> 268 bytes widget/cocoa/cursors/sizeSW@2x.png | Bin 0 -> 783 bytes widget/cocoa/cursors/vtIBeam.png | Bin 0 -> 104 bytes widget/cocoa/cursors/vtIBeam@2x.png | Bin 0 -> 331 bytes widget/cocoa/cursors/zoomIn.png | Bin 0 -> 648 bytes widget/cocoa/cursors/zoomIn@2x.png | Bin 0 -> 1702 bytes widget/cocoa/cursors/zoomOut.png | Bin 0 -> 641 bytes widget/cocoa/cursors/zoomOut@2x.png | Bin 0 -> 1693 bytes widget/cocoa/docs/index.md | 9 + widget/cocoa/docs/macos-apis.md | 188 + widget/cocoa/docs/sdks.md | 227 + widget/cocoa/metrics.yaml | 28 + widget/cocoa/moz.build | 182 + widget/cocoa/mozView.h | 62 + widget/cocoa/nsAppShell.h | 92 + widget/cocoa/nsAppShell.mm | 1120 ++ widget/cocoa/nsBidiKeyboard.h | 23 + widget/cocoa/nsBidiKeyboard.mm | 38 + widget/cocoa/nsChangeObserver.h | 71 + widget/cocoa/nsChildView.h | 591 + widget/cocoa/nsChildView.mm | 4930 +++++++++ widget/cocoa/nsClipboard.h | 63 + widget/cocoa/nsClipboard.mm | 776 ++ widget/cocoa/nsCocoaFeatures.h | 57 + widget/cocoa/nsCocoaFeatures.mm | 220 + widget/cocoa/nsCocoaUtils.h | 574 + widget/cocoa/nsCocoaUtils.mm | 1819 +++ widget/cocoa/nsCocoaWindow.h | 493 + widget/cocoa/nsCocoaWindow.mm | 4259 +++++++ widget/cocoa/nsColorPicker.h | 41 + widget/cocoa/nsColorPicker.mm | 158 + widget/cocoa/nsCursorManager.h | 61 + widget/cocoa/nsCursorManager.mm | 320 + widget/cocoa/nsDeviceContextSpecX.h | 53 + widget/cocoa/nsDeviceContextSpecX.mm | 303 + widget/cocoa/nsDragService.h | 57 + widget/cocoa/nsDragService.mm | 477 + widget/cocoa/nsFilePicker.h | 73 + widget/cocoa/nsFilePicker.mm | 639 ++ widget/cocoa/nsLookAndFeel.h | 43 + widget/cocoa/nsLookAndFeel.mm | 691 ++ widget/cocoa/nsMacCursor.h | 128 + widget/cocoa/nsMacCursor.mm | 367 + widget/cocoa/nsMacDockSupport.h | 35 + widget/cocoa/nsMacDockSupport.mm | 419 + widget/cocoa/nsMacFinderProgress.h | 24 + widget/cocoa/nsMacFinderProgress.mm | 87 + widget/cocoa/nsMacSharingService.h | 22 + widget/cocoa/nsMacSharingService.mm | 206 + widget/cocoa/nsMacUserActivityUpdater.h | 23 + widget/cocoa/nsMacUserActivityUpdater.mm | 64 + widget/cocoa/nsMacWebAppUtils.h | 22 + widget/cocoa/nsMacWebAppUtils.mm | 90 + widget/cocoa/nsMenuBarX.h | 153 + widget/cocoa/nsMenuBarX.mm | 1072 ++ widget/cocoa/nsMenuGroupOwnerX.h | 95 + widget/cocoa/nsMenuGroupOwnerX.mm | 226 + widget/cocoa/nsMenuItemIconX.h | 70 + widget/cocoa/nsMenuItemIconX.mm | 170 + widget/cocoa/nsMenuItemX.h | 105 + widget/cocoa/nsMenuItemX.mm | 401 + widget/cocoa/nsMenuParentX.h | 31 + widget/cocoa/nsMenuUtilsX.h | 50 + widget/cocoa/nsMenuUtilsX.mm | 294 + widget/cocoa/nsMenuX.h | 288 + widget/cocoa/nsMenuX.mm | 1403 +++ widget/cocoa/nsNativeThemeCocoa.h | 419 + widget/cocoa/nsNativeThemeCocoa.mm | 3444 ++++++ widget/cocoa/nsNativeThemeColors.h | 72 + widget/cocoa/nsPIWidgetCocoa.idl | 37 + widget/cocoa/nsPrintDialogX.h | 59 + widget/cocoa/nsPrintDialogX.mm | 590 + widget/cocoa/nsPrintSettingsServiceX.h | 33 + widget/cocoa/nsPrintSettingsServiceX.mm | 74 + widget/cocoa/nsPrintSettingsX.h | 102 + widget/cocoa/nsPrintSettingsX.mm | 362 + widget/cocoa/nsSandboxViolationSink.h | 36 + widget/cocoa/nsSandboxViolationSink.mm | 107 + widget/cocoa/nsSound.h | 25 + widget/cocoa/nsSound.mm | 69 + widget/cocoa/nsStandaloneNativeMenu.h | 27 + widget/cocoa/nsStandaloneNativeMenu.mm | 79 + widget/cocoa/nsSystemStatusBarCocoa.h | 40 + widget/cocoa/nsSystemStatusBarCocoa.mm | 69 + widget/cocoa/nsToolkit.h | 49 + widget/cocoa/nsToolkit.mm | 252 + widget/cocoa/nsTouchBar.h | 136 + widget/cocoa/nsTouchBar.mm | 605 + widget/cocoa/nsTouchBarInput.h | 90 + widget/cocoa/nsTouchBarInput.mm | 245 + widget/cocoa/nsTouchBarInputIcon.h | 71 + widget/cocoa/nsTouchBarInputIcon.mm | 133 + widget/cocoa/nsTouchBarNativeAPIDefines.h | 67 + widget/cocoa/nsTouchBarUpdater.h | 23 + widget/cocoa/nsTouchBarUpdater.mm | 116 + widget/cocoa/nsUserIdleServiceX.h | 30 + widget/cocoa/nsUserIdleServiceX.mm | 58 + widget/cocoa/nsWidgetFactory.h | 44 + widget/cocoa/nsWidgetFactory.mm | 124 + widget/cocoa/nsWindowMap.h | 60 + widget/cocoa/nsWindowMap.mm | 281 + widget/cocoa/resources/MainMenu.nib/classes.nib | 4 + widget/cocoa/resources/MainMenu.nib/info.nib | 21 + .../cocoa/resources/MainMenu.nib/keyedobjects.nib | Bin 0 -> 1877 bytes widget/components.conf | 98 + widget/crashtests/1128214.html | 19 + widget/crashtests/303901-1.html | 29 + widget/crashtests/303901-2.html | 20 + widget/crashtests/380359-1.xhtml | 8 + widget/crashtests/crashtests.list | 4 + widget/generic/PCompositorWidget.ipdl | 29 + widget/generic/PlatformWidgetTypes.ipdlh | 21 + widget/gtk/AsyncDBus.cpp | 92 + widget/gtk/AsyncDBus.h | 40 + widget/gtk/AsyncGtkClipboardRequest.cpp | 120 + widget/gtk/AsyncGtkClipboardRequest.h | 61 + widget/gtk/CompositorWidgetChild.cpp | 51 + widget/gtk/CompositorWidgetChild.h | 41 + widget/gtk/CompositorWidgetParent.cpp | 54 + widget/gtk/CompositorWidgetParent.h | 42 + widget/gtk/DMABufLibWrapper.cpp | 325 + widget/gtk/DMABufLibWrapper.h | 228 + widget/gtk/DMABufSurface.cpp | 1654 +++ widget/gtk/DMABufSurface.h | 376 + widget/gtk/GRefPtr.h | 89 + widget/gtk/GUniquePtr.h | 34 + widget/gtk/GfxInfo.cpp | 1406 +++ widget/gtk/GfxInfo.h | 133 + widget/gtk/GfxInfoUtils.h | 100 + widget/gtk/GtkCompositorWidget.cpp | 246 + widget/gtk/GtkCompositorWidget.h | 137 + widget/gtk/IMContextWrapper.cpp | 3360 ++++++ widget/gtk/IMContextWrapper.h | 688 ++ widget/gtk/InProcessGtkCompositorWidget.cpp | 44 + widget/gtk/InProcessGtkCompositorWidget.h | 30 + widget/gtk/MPRISInterfaceDescription.h | 91 + widget/gtk/MPRISServiceHandler.cpp | 856 ++ widget/gtk/MPRISServiceHandler.h | 187 + widget/gtk/MediaKeysEventSourceFactory.cpp | 14 + widget/gtk/MozContainer.cpp | 374 + widget/gtk/MozContainer.h | 90 + widget/gtk/MozContainerWayland.cpp | 819 ++ widget/gtk/MozContainerWayland.h | 108 + widget/gtk/NativeKeyBindings.cpp | 527 + widget/gtk/NativeKeyBindings.h | 62 + widget/gtk/NativeMenuGtk.cpp | 424 + widget/gtk/NativeMenuGtk.h | 64 + widget/gtk/NativeMenuSupport.cpp | 29 + widget/gtk/PCompositorWidget.ipdl | 35 + widget/gtk/PlatformWidgetTypes.ipdlh | 33 + widget/gtk/ScreenHelperGTK.cpp | 553 + widget/gtk/ScreenHelperGTK.h | 104 + widget/gtk/TaskbarProgress.cpp | 106 + widget/gtk/TaskbarProgress.h | 33 + widget/gtk/WakeLockListener.cpp | 546 + widget/gtk/WakeLockListener.h | 55 + widget/gtk/WaylandBuffer.cpp | 224 + widget/gtk/WaylandBuffer.h | 140 + widget/gtk/WaylandVsyncSource.cpp | 431 + widget/gtk/WaylandVsyncSource.h | 99 + widget/gtk/WidgetStyleCache.cpp | 1463 +++ widget/gtk/WidgetStyleCache.h | 63 + widget/gtk/WidgetTraceEvent.cpp | 68 + widget/gtk/WidgetUtilsGtk.cpp | 496 + widget/gtk/WidgetUtilsGtk.h | 80 + widget/gtk/WindowSurface.h | 41 + widget/gtk/WindowSurfaceProvider.cpp | 202 + widget/gtk/WindowSurfaceProvider.h | 101 + widget/gtk/WindowSurfaceWaylandMultiBuffer.cpp | 417 + widget/gtk/WindowSurfaceWaylandMultiBuffer.h | 84 + widget/gtk/WindowSurfaceX11.cpp | 47 + widget/gtk/WindowSurfaceX11.h | 39 + widget/gtk/WindowSurfaceX11Image.cpp | 254 + widget/gtk/WindowSurfaceX11Image.h | 48 + widget/gtk/WindowSurfaceX11SHM.cpp | 27 + widget/gtk/WindowSurfaceX11SHM.h | 36 + widget/gtk/compat/gdk/gdkdnd.h | 29 + widget/gtk/compat/gdk/gdkkeysyms.h | 266 + widget/gtk/compat/gdk/gdkvisual.h | 15 + widget/gtk/compat/gdk/gdkwindow.h | 27 + widget/gtk/compat/gdk/gdkx.h | 42 + widget/gtk/compat/glib/gmem.h | 48 + widget/gtk/compat/gtk/gtkwidget.h | 43 + widget/gtk/compat/gtk/gtkwindow.h | 26 + widget/gtk/components.conf | 151 + widget/gtk/crashtests/540078-1.xhtml | 1 + widget/gtk/crashtests/673390-1.html | 1 + widget/gtk/crashtests/crashtests.list | 2 + widget/gtk/gtk3drawing.cpp | 2452 +++++ widget/gtk/gtkdrawing.h | 545 + widget/gtk/moz.build | 181 + widget/gtk/mozgtk/moz.build | 37 + widget/gtk/mozgtk/mozgtk.c | 30 + widget/gtk/mozwayland/moz.build | 16 + widget/gtk/mozwayland/mozwayland.c | 212 + widget/gtk/mozwayland/mozwayland.h | 134 + widget/gtk/nsAppShell.cpp | 424 + widget/gtk/nsAppShell.h | 46 + widget/gtk/nsApplicationChooser.cpp | 132 + widget/gtk/nsApplicationChooser.h | 32 + widget/gtk/nsBidiKeyboard.cpp | 52 + widget/gtk/nsBidiKeyboard.h | 25 + widget/gtk/nsClipboard.cpp | 1372 +++ widget/gtk/nsClipboard.h | 174 + widget/gtk/nsClipboardWayland.cpp | 75 + widget/gtk/nsClipboardWayland.h | 28 + widget/gtk/nsClipboardX11.cpp | 169 + widget/gtk/nsClipboardX11.h | 32 + widget/gtk/nsColorPicker.cpp | 253 + widget/gtk/nsColorPicker.h | 71 + widget/gtk/nsDeviceContextSpecG.cpp | 422 + widget/gtk/nsDeviceContextSpecG.h | 62 + widget/gtk/nsDragService.cpp | 2658 +++++ widget/gtk/nsDragService.h | 264 + widget/gtk/nsFilePicker.cpp | 706 ++ widget/gtk/nsFilePicker.h | 89 + widget/gtk/nsGTKToolkit.h | 52 + widget/gtk/nsGtkCursors.h | 416 + widget/gtk/nsGtkKeyUtils.cpp | 2491 +++++ widget/gtk/nsGtkKeyUtils.h | 515 + widget/gtk/nsGtkUtils.h | 59 + widget/gtk/nsImageToPixbuf.cpp | 121 + widget/gtk/nsImageToPixbuf.h | 37 + widget/gtk/nsLookAndFeel.cpp | 2101 ++++ widget/gtk/nsLookAndFeel.h | 180 + widget/gtk/nsNativeThemeGTK.cpp | 1466 +++ widget/gtk/nsNativeThemeGTK.h | 118 + widget/gtk/nsPrintDialogGTK.cpp | 621 ++ widget/gtk/nsPrintDialogGTK.h | 35 + widget/gtk/nsPrintSettingsGTK.cpp | 677 ++ widget/gtk/nsPrintSettingsGTK.h | 147 + widget/gtk/nsPrintSettingsServiceGTK.cpp | 80 + widget/gtk/nsPrintSettingsServiceGTK.h | 33 + widget/gtk/nsShmImage.cpp | 326 + widget/gtk/nsShmImage.h | 75 + widget/gtk/nsSound.cpp | 397 + widget/gtk/nsSound.h | 33 + widget/gtk/nsToolkit.cpp | 24 + widget/gtk/nsUserIdleServiceGTK.cpp | 125 + widget/gtk/nsUserIdleServiceGTK.h | 55 + widget/gtk/nsWaylandDisplay.cpp | 185 + widget/gtk/nsWaylandDisplay.h | 111 + widget/gtk/nsWidgetFactory.cpp | 70 + widget/gtk/nsWidgetFactory.h | 21 + widget/gtk/nsWindow.cpp | 9816 +++++++++++++++++ widget/gtk/nsWindow.h | 1005 ++ widget/gtk/vaapitest/moz.build | 25 + widget/gtk/vaapitest/vaapitest.cpp | 254 + widget/gtk/wayland/gbm.h | 480 + .../idle-inhibit-unstable-v1-client-protocol.h | 228 + .../wayland/idle-inhibit-unstable-v1-protocol.c | 60 + .../linux-dmabuf-unstable-v1-client-protocol.h | 650 ++ .../wayland/linux-dmabuf-unstable-v1-protocol.c | 81 + widget/gtk/wayland/moz.build | 37 + ...inter-constraints-unstable-v1-client-protocol.h | 650 ++ .../pointer-constraints-unstable-v1-protocol.c | 97 + .../relative-pointer-unstable-v1-client-protocol.h | 293 + .../relative-pointer-unstable-v1-protocol.c | 69 + widget/gtk/wayland/va_drmcommon.h | 156 + widget/gtk/wayland/viewporter-client-protocol.h | 392 + widget/gtk/wayland/viewporter-protocol.c | 56 + .../wayland/xdg-activation-v1-client-protocol.h | 409 + widget/gtk/wayland/xdg-activation-v1-protocol.c | 82 + .../xdg-output-unstable-v1-client-protocol.h | 392 + .../gtk/wayland/xdg-output-unstable-v1-protocol.c | 74 + widget/headless/HeadlessClipboard.cpp | 130 + widget/headless/HeadlessClipboard.h | 52 + widget/headless/HeadlessClipboardData.cpp | 19 + widget/headless/HeadlessClipboardData.h | 34 + widget/headless/HeadlessCompositorWidget.cpp | 46 + widget/headless/HeadlessCompositorWidget.h | 54 + widget/headless/HeadlessKeyBindings.cpp | 37 + widget/headless/HeadlessKeyBindings.h | 42 + widget/headless/HeadlessKeyBindingsCocoa.mm | 51 + widget/headless/HeadlessLookAndFeel.h | 58 + widget/headless/HeadlessLookAndFeelGTK.cpp | 230 + widget/headless/HeadlessScreenHelper.cpp | 43 + widget/headless/HeadlessScreenHelper.h | 27 + widget/headless/HeadlessSound.cpp | 36 + widget/headless/HeadlessSound.h | 31 + widget/headless/HeadlessWidget.cpp | 625 ++ widget/headless/HeadlessWidget.h | 182 + widget/headless/HeadlessWidgetTypes.ipdlh | 20 + widget/headless/moz.build | 48 + widget/headless/tests/headless.html | 6 + widget/headless/tests/headless_button.html | 6 + widget/headless/tests/moz.build | 7 + widget/headless/tests/test_headless.js | 214 + widget/headless/tests/test_headless_clipboard.js | 45 + widget/headless/tests/xpcshell.ini | 10 + widget/moz.build | 392 + widget/nsAppShellSingleton.h | 60 + widget/nsAutoRollup.cpp | 50 + widget/nsAutoRollup.h | 54 + widget/nsBaseAppShell.cpp | 313 + widget/nsBaseAppShell.h | 140 + widget/nsBaseClipboard.cpp | 301 + widget/nsBaseClipboard.h | 163 + widget/nsBaseDragService.cpp | 1035 ++ widget/nsBaseDragService.h | 214 + widget/nsBaseFilePicker.cpp | 422 + widget/nsBaseFilePicker.h | 70 + widget/nsBaseWidget.cpp | 3463 ++++++ widget/nsBaseWidget.h | 773 ++ widget/nsCUPSShim.cpp | 76 + widget/nsCUPSShim.h | 96 + widget/nsClipboardHelper.cpp | 123 + widget/nsClipboardHelper.h | 30 + widget/nsClipboardProxy.cpp | 181 + widget/nsClipboardProxy.h | 48 + widget/nsColorPickerProxy.cpp | 54 + widget/nsColorPickerProxy.h | 33 + widget/nsContentProcessWidgetFactory.h | 59 + widget/nsDeviceContextSpecProxy.cpp | 156 + widget/nsDeviceContextSpecProxy.h | 57 + widget/nsDragServiceProxy.cpp | 96 + widget/nsDragServiceProxy.h | 27 + widget/nsFilePickerProxy.cpp | 287 + widget/nsFilePickerProxy.h | 86 + widget/nsGUIEventIPC.h | 1386 +++ widget/nsHTMLFormatConverter.cpp | 184 + widget/nsHTMLFormatConverter.h | 32 + widget/nsIAppShell.idl | 71 + widget/nsIApplicationChooser.idl | 39 + widget/nsIBaseWindow.cpp | 14 + widget/nsIBaseWindow.idl | 296 + widget/nsIBidiKeyboard.idl | 31 + widget/nsIClipboard.idl | 171 + widget/nsIClipboardHelper.idl | 45 + widget/nsIClipboardOwner.idl | 29 + widget/nsIColorPicker.idl | 72 + widget/nsIDeviceContextSpec.cpp | 87 + widget/nsIDeviceContextSpec.h | 104 + widget/nsIDisplayInfo.idl | 14 + widget/nsIDragService.idl | 208 + widget/nsIDragSession.idl | 151 + widget/nsIFilePicker.idl | 229 + widget/nsIFormatConverter.idl | 50 + widget/nsIGfxInfo.idl | 338 + widget/nsIGfxInfoDebug.idl | 19 + widget/nsIGtkTaskbarProgress.idl | 22 + widget/nsIJumpListBuilder.idl | 161 + widget/nsIJumpListItem.idl | 136 + widget/nsIMacDockSupport.idl | 71 + widget/nsIMacFinderProgress.idl | 43 + widget/nsIMacSharingService.idl | 30 + widget/nsIMacUserActivityUpdater.idl | 24 + widget/nsIMacWebAppUtils.idl | 35 + widget/nsIPaper.idl | 42 + widget/nsIPaperMargin.idl | 16 + widget/nsIPrintDialogService.idl | 66 + widget/nsIPrintSettings.idl | 404 + widget/nsIPrintSettingsService.idl | 151 + widget/nsIPrintSettingsWin.idl | 56 + widget/nsIPrinter.idl | 83 + widget/nsIPrinterList.idl | 61 + widget/nsIRollupListener.h | 81 + widget/nsIScreen.idl | 127 + widget/nsIScreenManager.idl | 36 + widget/nsISharePicker.idl | 32 + widget/nsISound.idl | 40 + widget/nsIStandaloneNativeMenu.idl | 55 + widget/nsISystemStatusBar.idl | 36 + widget/nsITaskbarOverlayIconController.idl | 39 + widget/nsITaskbarPreview.idl | 70 + widget/nsITaskbarPreviewButton.idl | 62 + widget/nsITaskbarPreviewController.idl | 103 + widget/nsITaskbarProgress.idl | 58 + widget/nsITaskbarTabPreview.idl | 62 + widget/nsITaskbarWindowPreview.idl | 69 + widget/nsITouchBarHelper.idl | 65 + widget/nsITouchBarInput.idl | 78 + widget/nsITouchBarUpdater.idl | 42 + widget/nsITransferable.idl | 215 + widget/nsIUserIdleService.idl | 86 + widget/nsIUserIdleServiceInternal.idl | 17 + widget/nsIWidget.h | 2150 ++++ widget/nsIWidgetListener.cpp | 89 + widget/nsIWidgetListener.h | 194 + widget/nsIWinTaskbar.idl | 172 + widget/nsIWindowsUIUtils.idl | 34 + widget/nsNativeTheme.cpp | 577 + widget/nsNativeTheme.h | 169 + widget/nsPaper.cpp | 87 + widget/nsPaper.h | 128 + widget/nsPaperMargin.cpp | 32 + widget/nsPaperMargin.h | 29 + widget/nsPrimitiveHelpers.cpp | 193 + widget/nsPrimitiveHelpers.h | 54 + widget/nsPrintSettingsImpl.cpp | 941 ++ widget/nsPrintSettingsImpl.h | 134 + widget/nsPrintSettingsService.cpp | 1088 ++ widget/nsPrintSettingsService.h | 87 + widget/nsPrinterBase.cpp | 247 + widget/nsPrinterBase.h | 114 + widget/nsPrinterCUPS.cpp | 476 + widget/nsPrinterCUPS.h | 181 + widget/nsPrinterListBase.cpp | 168 + widget/nsPrinterListBase.h | 92 + widget/nsPrinterListCUPS.cpp | 233 + widget/nsPrinterListCUPS.h | 32 + widget/nsSoundProxy.cpp | 49 + widget/nsSoundProxy.h | 22 + widget/nsTransferable.cpp | 545 + widget/nsTransferable.h | 91 + widget/nsUserIdleService.cpp | 870 ++ widget/nsUserIdleService.h | 220 + widget/nsWidgetsCID.h | 332 + widget/nsXPLookAndFeel.cpp | 1588 +++ widget/nsXPLookAndFeel.h | 92 + widget/reftests/664925.xhtml | 1 + .../reftests/meter-fallback-default-style-ref.html | 57 + widget/reftests/meter-fallback-default-style.html | 21 + widget/reftests/meter-native-style-ref.html | 19 + widget/reftests/meter-native-style.html | 18 + .../reftests/meter-vertical-native-style-ref.html | 14 + widget/reftests/meter-vertical-native-style.html | 13 + .../progressbar-fallback-default-style-ref.html | 33 + .../progressbar-fallback-default-style.html | 20 + widget/reftests/reftest.list | 9 + widget/reftests/scaled-scrollbar.html | 6 + widget/reftests/scrollbar-buttons.html | 4 + widget/tests/TestChromeMargin.cpp | 130 + widget/tests/browser/browser.ini | 66 + widget/tests/browser/browser_test_ContentCache.js | 296 + .../tests/browser/browser_test_InputContextURI.js | 156 + .../tests/browser/browser_test_clipboardcache.js | 141 + .../tests/browser/browser_test_fullscreen_size.js | 66 + ...tenteditable_on_focus_move_in_remote_content.js | 122 + ...ditable_on_readonly_change_in_remote_content.js | 261 + ...n_designMode_on_focus_move_in_remote_content.js | 116 + ...r_test_ime_state_in_plugin_in_remote_content.js | 120 + ...in_text_control_on_reframe_in_remote_content.js | 78 + ...e_on_editable_state_change_in_remote_content.js | 297 + ...st_ime_state_on_focus_move_in_remote_content.js | 128 + ...state_on_input_type_change_in_remote_content.js | 70 + ...e_state_on_readonly_change_in_remote_content.js | 68 + .../tests/browser/browser_test_scrollbar_colors.js | 146 + widget/tests/browser/browser_test_swipe_gesture.js | 1275 +++ widget/tests/browser/file_ime_state_tests.html | 48 + widget/tests/browser/helper_scrollbar_colors.html | 22 + widget/tests/browser/helper_swipe_gesture.html | 20 + widget/tests/bug586713_window.xhtml | 50 + widget/tests/chrome.ini | 134 + widget/tests/clipboard_helper.js | 83 + widget/tests/empty_window.xhtml | 4 + widget/tests/file_bug596600.html | 4 + widget/tests/file_ime_state_test_helper.js | 197 + .../file_input_events_on_deactive_window.html | 5 + widget/tests/file_secure_input.html | 1 + ..._state_in_contenteditable_on_readonly_change.js | 616 ++ ...le_test_ime_state_in_text_control_on_reframe.js | 190 + widget/tests/file_test_ime_state_on_focus_move.js | 1588 +++ .../file_test_ime_state_on_input_type_change.js | 315 + .../file_test_ime_state_on_readonly_change.js | 242 + widget/tests/gtest/MockWinWidget.cpp | 77 + widget/tests/gtest/MockWinWidget.h | 85 + widget/tests/gtest/TestTimeConverter.cpp | 265 + widget/tests/gtest/TestTouchResampler.cpp | 941 ++ widget/tests/gtest/TestWinHeaderOnlyUtils.cpp | 37 + widget/tests/gtest/TestWinMessageLoggingUtils.cpp | 101 + .../tests/gtest/TestWinWindowOcclusionTracker.cpp | 167 + .../TestWinWindowOcclusionTrackerInteractive.cpp | 402 + widget/tests/gtest/moz.build | 27 + widget/tests/mochitest.ini | 27 + widget/tests/moz.build | 125 + widget/tests/native_menus_window.xhtml | 282 + widget/tests/standalone_native_menu_window.xhtml | 374 + widget/tests/system_font_changes.xhtml | 63 + widget/tests/taskbar_previews.xhtml | 116 + ...AltGr_key_events_in_web_content_on_windows.html | 106 + widget/tests/test_actionhint.html | 114 + widget/tests/test_alwaysontop_focus.xhtml | 38 + widget/tests/test_assign_event_data.html | 708 ++ widget/tests/test_autocapitalize.html | 65 + widget/tests/test_bug1123480.xhtml | 153 + widget/tests/test_bug343416.xhtml | 191 + widget/tests/test_bug413277.html | 35 + widget/tests/test_bug428405.xhtml | 166 + widget/tests/test_bug429954.xhtml | 42 + widget/tests/test_bug444800.xhtml | 97 + widget/tests/test_bug466599.xhtml | 103 + widget/tests/test_bug478536.xhtml | 33 + widget/tests/test_bug485118.xhtml | 72 + widget/tests/test_bug517396.xhtml | 53 + widget/tests/test_bug522217.xhtml | 35 + widget/tests/test_bug538242.xhtml | 55 + widget/tests/test_bug565392.html | 62 + widget/tests/test_bug586713.xhtml | 29 + widget/tests/test_bug593307.xhtml | 40 + widget/tests/test_bug596600.xhtml | 190 + widget/tests/test_bug673301.xhtml | 33 + widget/tests/test_bug760802.xhtml | 83 + widget/tests/test_clipboard.xhtml | 111 + widget/tests/test_clipboard_asyncSetData.xhtml | 173 + widget/tests/test_clipboard_cache.xhtml | 56 + widget/tests/test_clipboard_owner.xhtml | 80 + .../tests/test_composition_text_querycontent.xhtml | 34 + ...ntenteditable_on_readonly_change_in_parent.html | 72 + .../tests/test_ime_state_in_plugin_in_parent.html | 92 + ...state_in_text_control_on_reframe_in_parent.html | 42 + ...e_state_on_editable_state_change_in_parent.html | 263 + .../test_ime_state_on_focus_move_in_parent.html | 88 + ...t_ime_state_on_input_type_change_in_parent.html | 39 + ...est_ime_state_on_readonly_change_in_parent.html | 31 + widget/tests/test_ime_state_others_in_parent.html | 153 + .../test_input_events_on_deactive_window.xhtml | 233 + widget/tests/test_key_event_counts.xhtml | 90 + widget/tests/test_keycodes.xhtml | 5626 ++++++++++ .../tests/test_keypress_event_with_alt_on_mac.html | 106 + .../test_mouse_event_with_control_on_mac.html | 116 + widget/tests/test_mouse_scroll.xhtml | 35 + widget/tests/test_native_key_bindings_mac.html | 336 + widget/tests/test_native_menus.xhtml | 29 + widget/tests/test_panel_mouse_coords.xhtml | 78 + widget/tests/test_picker_no_crash.html | 30 + widget/tests/test_platform_colors.xhtml | 106 + widget/tests/test_position_on_resize.xhtml | 90 + widget/tests/test_secure_input.html | 141 + widget/tests/test_sizemode_events.xhtml | 148 + widget/tests/test_standalone_native_menu.xhtml | 29 + widget/tests/test_system_font_changes.xhtml | 28 + widget/tests/test_system_status_bar.xhtml | 53 + widget/tests/test_taskbar_progress.xhtml | 117 + widget/tests/test_textScaleFactor_system_font.html | 139 + widget/tests/test_transferable_overflow.xhtml | 151 + widget/tests/test_wheeltransaction.xhtml | 27 + widget/tests/unit/test_macsharingservice.js | 61 + widget/tests/unit/test_macwebapputils.js | 34 + widget/tests/unit/test_taskbar_jumplistitems.js | 282 + widget/tests/unit/xpcshell.ini | 11 + widget/tests/window_bug429954.xhtml | 44 + widget/tests/window_bug478536.xhtml | 211 + widget/tests/window_bug522217.xhtml | 80 + widget/tests/window_bug538242.xhtml | 3 + widget/tests/window_bug593307_centerscreen.xhtml | 26 + widget/tests/window_bug593307_offscreen.xhtml | 33 + .../window_composition_text_querycontent.xhtml | 10977 +++++++++++++++++++ widget/tests/window_imestate_iframes.html | 358 + widget/tests/window_mouse_scroll_win.html | 1516 +++ widget/tests/window_mouse_scroll_win_2.html | 6 + widget/tests/window_picker_no_crash_child.html | 6 + widget/tests/window_state_windows.xhtml | 80 + widget/tests/window_wheeltransaction.xhtml | 1569 +++ widget/uikit/GfxInfo.cpp | 174 + widget/uikit/GfxInfo.h | 75 + widget/uikit/moz.build | 24 + widget/uikit/nsAppShell.h | 56 + widget/uikit/nsAppShell.mm | 241 + widget/uikit/nsLookAndFeel.h | 39 + widget/uikit/nsLookAndFeel.mm | 383 + widget/uikit/nsScreenManager.h | 60 + widget/uikit/nsScreenManager.mm | 98 + widget/uikit/nsWidgetFactory.mm | 49 + widget/uikit/nsWindow.h | 110 + widget/uikit/nsWindow.mm | 728 ++ widget/windows/AudioSession.cpp | 351 + widget/windows/AudioSession.h | 19 + widget/windows/CheckInvariantWrapper.h | 78 + widget/windows/CompositorWidgetChild.cpp | 114 + widget/windows/CompositorWidgetChild.h | 62 + widget/windows/CompositorWidgetParent.cpp | 239 + widget/windows/CompositorWidgetParent.h | 94 + widget/windows/DirectManipulationOwner.cpp | 732 ++ widget/windows/DirectManipulationOwner.h | 54 + widget/windows/GfxInfo.cpp | 2061 ++++ widget/windows/GfxInfo.h | 105 + widget/windows/IEnumFE.cpp | 139 + widget/windows/IEnumFE.h | 88 + widget/windows/IMMHandler.cpp | 2410 ++++ widget/windows/IMMHandler.h | 427 + widget/windows/InProcessWinCompositorWidget.cpp | 374 + widget/windows/InProcessWinCompositorWidget.h | 113 + widget/windows/InkCollector.cpp | 247 + widget/windows/InkCollector.h | 102 + widget/windows/InputDeviceUtils.cpp | 61 + widget/windows/InputDeviceUtils.h | 26 + widget/windows/JumpListBuilder.cpp | 647 ++ widget/windows/JumpListBuilder.h | 71 + widget/windows/JumpListItem.cpp | 576 + widget/windows/JumpListItem.h | 126 + widget/windows/KeyboardLayout.cpp | 5382 +++++++++ widget/windows/KeyboardLayout.h | 1120 ++ widget/windows/LSPAnnotator.cpp | 135 + widget/windows/MediaKeysEventSourceFactory.cpp | 20 + widget/windows/OSKInputPaneManager.cpp | 101 + widget/windows/OSKInputPaneManager.h | 24 + widget/windows/OSKTabTipManager.cpp | 113 + widget/windows/OSKTabTipManager.h | 22 + widget/windows/OSKVRManager.cpp | 35 + widget/windows/OSKVRManager.h | 22 + widget/windows/PCompositorWidget.ipdl | 49 + widget/windows/PlatformWidgetTypes.ipdlh | 34 + widget/windows/RemoteBackbuffer.cpp | 713 ++ widget/windows/RemoteBackbuffer.h | 95 + widget/windows/ScreenHelperWin.cpp | 157 + widget/windows/ScreenHelperWin.h | 26 + widget/windows/ShellHeaderOnlyUtils.h | 178 + widget/windows/SystemStatusBar.cpp | 339 + widget/windows/SystemStatusBar.h | 33 + widget/windows/TSFTextStore.cpp | 7463 +++++++++++++ widget/windows/TSFTextStore.h | 1157 ++ widget/windows/TaskbarPreview.cpp | 416 + widget/windows/TaskbarPreview.h | 132 + widget/windows/TaskbarPreviewButton.cpp | 137 + widget/windows/TaskbarPreviewButton.h | 47 + widget/windows/TaskbarTabPreview.cpp | 344 + widget/windows/TaskbarTabPreview.h | 70 + widget/windows/TaskbarWindowPreview.cpp | 326 + widget/windows/TaskbarWindowPreview.h | 85 + widget/windows/ToastNotification.cpp | 913 ++ widget/windows/ToastNotification.h | 71 + widget/windows/ToastNotificationHandler.cpp | 1115 ++ widget/windows/ToastNotificationHandler.h | 151 + widget/windows/ToastNotificationHeaderOnlyUtils.h | 157 + widget/windows/UrlmonHeaderOnlyUtils.h | 76 + widget/windows/WidgetTraceEvent.cpp | 121 + widget/windows/WinCompositorWidget.cpp | 105 + widget/windows/WinCompositorWidget.h | 105 + widget/windows/WinCompositorWindowThread.cpp | 298 + widget/windows/WinCompositorWindowThread.h | 67 + widget/windows/WinEventObserver.cpp | 223 + widget/windows/WinEventObserver.h | 115 + widget/windows/WinHeaderOnlyUtils.h | 837 ++ widget/windows/WinIMEHandler.cpp | 1085 ++ widget/windows/WinIMEHandler.h | 247 + widget/windows/WinMessages.h | 90 + widget/windows/WinModifierKeyState.h | 59 + widget/windows/WinMouseScrollHandler.cpp | 1668 +++ widget/windows/WinMouseScrollHandler.h | 574 + widget/windows/WinPointerEvents.cpp | 192 + widget/windows/WinPointerEvents.h | 151 + widget/windows/WinTaskbar.cpp | 452 + widget/windows/WinTaskbar.h | 46 + widget/windows/WinTextEventDispatcherListener.cpp | 68 + widget/windows/WinTextEventDispatcherListener.h | 50 + widget/windows/WinUtils.cpp | 2123 ++++ widget/windows/WinUtils.h | 737 ++ widget/windows/WinWindowOcclusionTracker.cpp | 1481 +++ widget/windows/WinWindowOcclusionTracker.h | 333 + widget/windows/WindowHook.cpp | 113 + widget/windows/WindowHook.h | 76 + widget/windows/WindowsConsole.cpp | 53 + widget/windows/WindowsConsole.h | 16 + widget/windows/WindowsEMF.cpp | 94 + widget/windows/WindowsEMF.h | 106 + widget/windows/WindowsEventLog.h | 99 + widget/windows/WindowsSMTCProvider.cpp | 723 ++ widget/windows/WindowsSMTCProvider.h | 128 + widget/windows/WindowsUIUtils.cpp | 861 ++ widget/windows/WindowsUIUtils.h | 50 + widget/windows/components.conf | 213 + widget/windows/docs/blocklist.rst | 358 + widget/windows/docs/index.rst | 8 + .../windows/filedialog/WinFileDialogCommands.cpp | 196 + widget/windows/filedialog/WinFileDialogCommands.h | 32 + .../filedialog/WinFileDialogCommandsDefn.ipdlh | 49 + widget/windows/filedialog/moz.build | 22 + widget/windows/moz.build | 208 + widget/windows/nsAppShell.cpp | 810 ++ widget/windows/nsAppShell.h | 64 + widget/windows/nsBidiKeyboard.cpp | 169 + widget/windows/nsBidiKeyboard.h | 34 + widget/windows/nsClipboard.cpp | 1471 +++ widget/windows/nsClipboard.h | 115 + widget/windows/nsColorPicker.cpp | 202 + widget/windows/nsColorPicker.h | 55 + widget/windows/nsDataObj.cpp | 2276 ++++ widget/windows/nsDataObj.h | 315 + widget/windows/nsDataObjCollection.cpp | 370 + widget/windows/nsDataObjCollection.h | 92 + widget/windows/nsDeviceContextSpecWin.cpp | 673 ++ widget/windows/nsDeviceContextSpecWin.h | 98 + widget/windows/nsDragService.cpp | 628 ++ widget/windows/nsDragService.h | 67 + widget/windows/nsFilePicker.cpp | 528 + widget/windows/nsFilePicker.h | 94 + widget/windows/nsLookAndFeel.cpp | 893 ++ widget/windows/nsLookAndFeel.h | 87 + widget/windows/nsNativeDragSource.cpp | 98 + widget/windows/nsNativeDragSource.h | 68 + widget/windows/nsNativeDragTarget.cpp | 472 + widget/windows/nsNativeDragTarget.h | 103 + widget/windows/nsNativeThemeWin.cpp | 3398 ++++++ widget/windows/nsNativeThemeWin.h | 175 + widget/windows/nsPrintDialogUtil.cpp | 360 + widget/windows/nsPrintDialogUtil.h | 11 + widget/windows/nsPrintDialogWin.cpp | 147 + widget/windows/nsPrintDialogWin.h | 39 + widget/windows/nsPrintSettingsServiceWin.cpp | 127 + widget/windows/nsPrintSettingsServiceWin.h | 29 + widget/windows/nsPrintSettingsWin.cpp | 477 + widget/windows/nsPrintSettingsWin.h | 62 + widget/windows/nsPrinterWin.cpp | 521 + widget/windows/nsPrinterWin.h | 53 + widget/windows/nsSharePicker.cpp | 81 + widget/windows/nsSharePicker.h | 29 + widget/windows/nsSound.cpp | 331 + widget/windows/nsSound.h | 47 + widget/windows/nsToolkit.cpp | 69 + widget/windows/nsToolkit.h | 47 + widget/windows/nsUXThemeConstants.h | 258 + widget/windows/nsUXThemeData.cpp | 356 + widget/windows/nsUXThemeData.h | 112 + widget/windows/nsUserIdleServiceWin.cpp | 20 + widget/windows/nsUserIdleServiceWin.h | 42 + widget/windows/nsWidgetFactory.cpp | 60 + widget/windows/nsWidgetFactory.h | 21 + widget/windows/nsWinGesture.cpp | 388 + widget/windows/nsWinGesture.h | 91 + widget/windows/nsWindow.cpp | 9650 ++++++++++++++++ widget/windows/nsWindow.h | 947 ++ widget/windows/nsWindowDbg.cpp | 1513 +++ widget/windows/nsWindowDbg.h | 128 + widget/windows/nsWindowDefs.h | 129 + widget/windows/nsWindowGfx.cpp | 733 ++ widget/windows/nsWindowGfx.h | 35 + widget/windows/nsWindowLoggedMessages.cpp | 307 + widget/windows/nsWindowLoggedMessages.h | 26 + widget/windows/nsWindowTaskbarConcealer.cpp | 437 + widget/windows/nsWindowTaskbarConcealer.h | 51 + widget/windows/nsdefs.h | 58 + widget/windows/res/aliasb.cur | Bin 0 -> 326 bytes widget/windows/res/cell.cur | Bin 0 -> 326 bytes widget/windows/res/col_resize.cur | Bin 0 -> 326 bytes widget/windows/res/copy.cur | Bin 0 -> 326 bytes widget/windows/res/grab.cur | Bin 0 -> 326 bytes widget/windows/res/grabbing.cur | Bin 0 -> 326 bytes widget/windows/res/none.cur | Bin 0 -> 326 bytes widget/windows/res/row_resize.cur | Bin 0 -> 326 bytes widget/windows/res/select.cur | Bin 0 -> 326 bytes widget/windows/res/vertical_text.cur | Bin 0 -> 326 bytes widget/windows/res/zoom_in.cur | Bin 0 -> 326 bytes widget/windows/res/zoom_out.cur | Bin 0 -> 326 bytes widget/windows/resource.h | 16 + widget/windows/tests/TestUriValidation.cpp | 135 + widget/windows/tests/TestUrisToValidate.h | 471 + widget/windows/tests/gtest/TestWinDND.cpp | 728 ++ widget/windows/tests/gtest/moz.build | 18 + widget/windows/tests/moz.build | 33 + .../tests/unit/test_windows_alert_service.js | 314 + widget/windows/tests/unit/xpcshell.ini | 4 + widget/windows/touchinjection_sdk80.h | 171 + widget/windows/widget.rc | 30 + widget/x11/keysym2ucs.c | 866 ++ widget/x11/keysym2ucs.h | 28 + widget/x11/moz.build | 16 + 1020 files changed, 298188 insertions(+) create mode 100644 widget/BasicEvents.h create mode 100644 widget/ClipboardWriteRequestChild.cpp create mode 100644 widget/ClipboardWriteRequestChild.h create mode 100644 widget/ClipboardWriteRequestParent.cpp create mode 100644 widget/ClipboardWriteRequestParent.h create mode 100644 widget/ColorScheme.h create mode 100644 widget/CommandList.h create mode 100644 widget/CompositorWidget.cpp create mode 100644 widget/CompositorWidget.h create mode 100644 widget/ContentCache.cpp create mode 100644 widget/ContentCache.h create mode 100644 widget/ContentData.cpp create mode 100644 widget/ContentData.h create mode 100644 widget/ContentEvents.h create mode 100644 widget/DimensionRequest.cpp create mode 100644 widget/DimensionRequest.h create mode 100644 widget/EventClassList.h create mode 100644 widget/EventForwards.h create mode 100644 widget/EventMessageList.h create mode 100644 widget/FontRange.h create mode 100644 widget/GfxDriverInfo.cpp create mode 100644 widget/GfxDriverInfo.h create mode 100644 widget/GfxInfoBase.cpp create mode 100644 widget/GfxInfoBase.h create mode 100644 widget/GfxInfoCollector.cpp create mode 100644 widget/GfxInfoCollector.h create mode 100644 widget/IMEData.cpp create mode 100644 widget/IMEData.h create mode 100644 widget/IconLoader.cpp create mode 100644 widget/IconLoader.h create mode 100644 widget/InProcessCompositorWidget.cpp create mode 100644 widget/InProcessCompositorWidget.h create mode 100644 widget/InitData.h create mode 100644 widget/InputData.cpp create mode 100644 widget/InputData.h create mode 100644 widget/LSBUtils.cpp create mode 100644 widget/LSBUtils.h create mode 100644 widget/LookAndFeel.h create mode 100644 widget/LookAndFeelTypes.ipdlh create mode 100644 widget/MediaKeysEventSourceFactory.h create mode 100644 widget/MiscEvents.h create mode 100644 widget/MouseEvents.h create mode 100644 widget/NativeKeyBindingsType.h create mode 100644 widget/NativeKeyToDOMCodeName.h create mode 100644 widget/NativeKeyToDOMKeyName.h create mode 100644 widget/NativeMenu.h create mode 100644 widget/NativeMenuSupport.h create mode 100644 widget/PClipboardWriteRequest.ipdl create mode 100644 widget/PrintBackgroundTask.h create mode 100644 widget/PuppetBidiKeyboard.cpp create mode 100644 widget/PuppetBidiKeyboard.h create mode 100644 widget/PuppetWidget.cpp create mode 100644 widget/PuppetWidget.h create mode 100644 widget/RemoteLookAndFeel.cpp create mode 100644 widget/RemoteLookAndFeel.h create mode 100644 widget/Screen.cpp create mode 100644 widget/Screen.h create mode 100644 widget/ScreenManager.cpp create mode 100644 widget/ScreenManager.h create mode 100644 widget/ScrollbarDrawing.cpp create mode 100644 widget/ScrollbarDrawing.h create mode 100644 widget/ScrollbarDrawingAndroid.cpp create mode 100644 widget/ScrollbarDrawingAndroid.h create mode 100644 widget/ScrollbarDrawingCocoa.cpp create mode 100644 widget/ScrollbarDrawingCocoa.h create mode 100644 widget/ScrollbarDrawingGTK.cpp create mode 100644 widget/ScrollbarDrawingGTK.h create mode 100644 widget/ScrollbarDrawingWin.cpp create mode 100644 widget/ScrollbarDrawingWin.h create mode 100644 widget/ScrollbarDrawingWin11.cpp create mode 100644 widget/ScrollbarDrawingWin11.h create mode 100644 widget/SharedWidgetUtils.cpp create mode 100644 widget/SwipeTracker.cpp create mode 100644 widget/SwipeTracker.h create mode 100644 widget/SystemTimeConverter.h create mode 100644 widget/TextEventDispatcher.cpp create mode 100644 widget/TextEventDispatcher.h create mode 100644 widget/TextEventDispatcherListener.h create mode 100644 widget/TextEvents.h create mode 100644 widget/TextRange.h create mode 100644 widget/TextRecognition.cpp create mode 100644 widget/TextRecognition.h create mode 100644 widget/Theme.cpp create mode 100644 widget/Theme.h create mode 100644 widget/ThemeChangeKind.h create mode 100644 widget/ThemeCocoa.cpp create mode 100644 widget/ThemeCocoa.h create mode 100644 widget/ThemeColors.cpp create mode 100644 widget/ThemeColors.h create mode 100644 widget/ThemeDrawing.cpp create mode 100644 widget/ThemeDrawing.h create mode 100644 widget/TouchEvents.h create mode 100644 widget/TouchResampler.cpp create mode 100644 widget/TouchResampler.h create mode 100644 widget/VsyncDispatcher.cpp create mode 100644 widget/VsyncDispatcher.h create mode 100644 widget/WidgetEventImpl.cpp create mode 100644 widget/WidgetMessageUtils.h create mode 100644 widget/WidgetTraceEvent.h create mode 100644 widget/WidgetUtils.cpp create mode 100644 widget/WidgetUtils.h create mode 100644 widget/WindowButtonType.h create mode 100644 widget/WindowOcclusionState.h create mode 100644 widget/android/AndroidAlerts.cpp create mode 100644 widget/android/AndroidAlerts.h create mode 100644 widget/android/AndroidBridge.cpp create mode 100644 widget/android/AndroidBridge.h create mode 100644 widget/android/AndroidBridgeUtilities.h create mode 100644 widget/android/AndroidCompositorWidget.cpp create mode 100644 widget/android/AndroidCompositorWidget.h create mode 100644 widget/android/AndroidContentController.cpp create mode 100644 widget/android/AndroidContentController.h create mode 100644 widget/android/AndroidUiThread.cpp create mode 100644 widget/android/AndroidUiThread.h create mode 100644 widget/android/AndroidView.h create mode 100644 widget/android/AndroidVsync.cpp create mode 100644 widget/android/AndroidVsync.h create mode 100644 widget/android/Base64UtilsSupport.h create mode 100644 widget/android/CompositorWidgetChild.cpp create mode 100644 widget/android/CompositorWidgetChild.h create mode 100644 widget/android/CompositorWidgetParent.cpp create mode 100644 widget/android/CompositorWidgetParent.h create mode 100644 widget/android/EventDispatcher.cpp create mode 100644 widget/android/EventDispatcher.h create mode 100644 widget/android/GeckoBatteryManager.h create mode 100644 widget/android/GeckoEditableSupport.cpp create mode 100644 widget/android/GeckoEditableSupport.h create mode 100644 widget/android/GeckoNetworkManager.h create mode 100644 widget/android/GeckoProcessManager.cpp create mode 100644 widget/android/GeckoProcessManager.h create mode 100644 widget/android/GeckoSystemStateListener.h create mode 100644 widget/android/GeckoTelemetryDelegate.h create mode 100644 widget/android/GeckoVRManager.h create mode 100644 widget/android/GeckoViewSupport.h create mode 100644 widget/android/GfxInfo.cpp create mode 100644 widget/android/GfxInfo.h create mode 100644 widget/android/ImageDecoderSupport.cpp create mode 100644 widget/android/ImageDecoderSupport.h create mode 100644 widget/android/InProcessAndroidCompositorWidget.cpp create mode 100644 widget/android/InProcessAndroidCompositorWidget.h create mode 100644 widget/android/MediaKeysEventSourceFactory.cpp create mode 100644 widget/android/PCompositorWidget.ipdl create mode 100644 widget/android/PlatformWidgetTypes.ipdlh create mode 100644 widget/android/ScreenHelperAndroid.cpp create mode 100644 widget/android/ScreenHelperAndroid.h create mode 100644 widget/android/Telemetry.h create mode 100644 widget/android/WebExecutorSupport.cpp create mode 100644 widget/android/WebExecutorSupport.h create mode 100644 widget/android/WindowEvent.h create mode 100644 widget/android/bindings/AccessibilityEvent-classes.txt create mode 100644 widget/android/bindings/AndroidBuild-classes.txt create mode 100644 widget/android/bindings/AndroidGraphics-classes.txt create mode 100644 widget/android/bindings/AndroidInputType-classes.txt create mode 100644 widget/android/bindings/AndroidProcess-classes.txt create mode 100644 widget/android/bindings/AndroidRect-classes.txt create mode 100644 widget/android/bindings/InetAddress-classes.txt create mode 100644 widget/android/bindings/JavaBuiltins-classes.txt create mode 100644 widget/android/bindings/JavaExceptions-classes.txt create mode 100644 widget/android/bindings/KeyEvent-classes.txt create mode 100644 widget/android/bindings/MediaCodec-classes.txt create mode 100644 widget/android/bindings/MotionEvent-classes.txt create mode 100644 widget/android/bindings/SurfaceTexture-classes.txt create mode 100644 widget/android/bindings/ViewConfiguration-classes.txt create mode 100644 widget/android/bindings/moz.build create mode 100644 widget/android/components.conf create mode 100644 widget/android/jni/Accessors.h create mode 100644 widget/android/jni/Conversions.cpp create mode 100644 widget/android/jni/Conversions.h create mode 100644 widget/android/jni/GeckoBundleUtils.cpp create mode 100644 widget/android/jni/GeckoBundleUtils.h create mode 100644 widget/android/jni/GeckoResultUtils.h create mode 100644 widget/android/jni/Natives.h create mode 100644 widget/android/jni/NativesInlines.h create mode 100644 widget/android/jni/Refs.h create mode 100644 widget/android/jni/TypeAdapter.h create mode 100644 widget/android/jni/Types.h create mode 100644 widget/android/jni/Utils.cpp create mode 100644 widget/android/jni/Utils.h create mode 100644 widget/android/jni/moz.build create mode 100644 widget/android/moz.build create mode 100644 widget/android/nsAppShell.cpp create mode 100644 widget/android/nsAppShell.h create mode 100644 widget/android/nsClipboard.cpp create mode 100644 widget/android/nsClipboard.h create mode 100644 widget/android/nsDeviceContextAndroid.cpp create mode 100644 widget/android/nsDeviceContextAndroid.h create mode 100644 widget/android/nsIAndroidBridge.idl create mode 100644 widget/android/nsLookAndFeel.cpp create mode 100644 widget/android/nsLookAndFeel.h create mode 100644 widget/android/nsPrintSettingsServiceAndroid.cpp create mode 100644 widget/android/nsPrintSettingsServiceAndroid.h create mode 100644 widget/android/nsUserIdleServiceAndroid.cpp create mode 100644 widget/android/nsUserIdleServiceAndroid.h create mode 100644 widget/android/nsWidgetFactory.cpp create mode 100644 widget/android/nsWidgetFactory.h create mode 100644 widget/android/nsWindow.cpp create mode 100644 widget/android/nsWindow.h create mode 100644 widget/cocoa/AppearanceOverride.h create mode 100644 widget/cocoa/AppearanceOverride.mm create mode 100644 widget/cocoa/CFTypeRefPtr.h create mode 100644 widget/cocoa/CustomCocoaEvents.h create mode 100644 widget/cocoa/DesktopBackgroundImage.h create mode 100644 widget/cocoa/DesktopBackgroundImage.mm create mode 100644 widget/cocoa/GfxInfo.h create mode 100644 widget/cocoa/GfxInfo.mm create mode 100644 widget/cocoa/MOZIconHelper.h create mode 100644 widget/cocoa/MOZIconHelper.mm create mode 100644 widget/cocoa/MOZMenuOpeningCoordinator.h create mode 100644 widget/cocoa/MOZMenuOpeningCoordinator.mm create mode 100644 widget/cocoa/MacThemeGeometryType.h create mode 100644 widget/cocoa/MediaHardwareKeysEventSourceMac.h create mode 100644 widget/cocoa/MediaHardwareKeysEventSourceMac.mm create mode 100644 widget/cocoa/MediaHardwareKeysEventSourceMacMediaCenter.h create mode 100644 widget/cocoa/MediaHardwareKeysEventSourceMacMediaCenter.mm create mode 100644 widget/cocoa/MediaKeysEventSourceFactory.cpp create mode 100644 widget/cocoa/NativeKeyBindings.h create mode 100644 widget/cocoa/NativeKeyBindings.mm create mode 100644 widget/cocoa/NativeMenuMac.h create mode 100644 widget/cocoa/NativeMenuMac.mm create mode 100644 widget/cocoa/NativeMenuSupport.mm create mode 100644 widget/cocoa/OSXNotificationCenter.h create mode 100644 widget/cocoa/OSXNotificationCenter.mm create mode 100644 widget/cocoa/SDKDeclarations.h create mode 100644 widget/cocoa/ScreenHelperCocoa.h create mode 100644 widget/cocoa/ScreenHelperCocoa.mm create mode 100644 widget/cocoa/TextInputHandler.h create mode 100644 widget/cocoa/TextInputHandler.mm create mode 100644 widget/cocoa/TextRecognition.mm create mode 100644 widget/cocoa/VibrancyManager.h create mode 100644 widget/cocoa/VibrancyManager.mm create mode 100644 widget/cocoa/ViewRegion.h create mode 100644 widget/cocoa/ViewRegion.mm create mode 100644 widget/cocoa/WidgetTraceEvent.mm create mode 100644 widget/cocoa/components.conf create mode 100644 widget/cocoa/crashtests/373122-1-inner.html create mode 100644 widget/cocoa/crashtests/373122-1.html create mode 100644 widget/cocoa/crashtests/397209-1.html create mode 100644 widget/cocoa/crashtests/403296-1.xhtml create mode 100644 widget/cocoa/crashtests/419737-1.html create mode 100644 widget/cocoa/crashtests/435223-1.html create mode 100644 widget/cocoa/crashtests/444260-1.xhtml create mode 100644 widget/cocoa/crashtests/444864-1.html create mode 100644 widget/cocoa/crashtests/449111-1.html create mode 100644 widget/cocoa/crashtests/460349-1.xhtml create mode 100644 widget/cocoa/crashtests/460387-1.html create mode 100644 widget/cocoa/crashtests/464589-1.html create mode 100644 widget/cocoa/crashtests/crashtests.list create mode 100644 widget/cocoa/cursors/arrowN.png create mode 100644 widget/cocoa/cursors/arrowN@2x.png create mode 100644 widget/cocoa/cursors/arrowS.png create mode 100644 widget/cocoa/cursors/arrowS@2x.png create mode 100644 widget/cocoa/cursors/cell.png create mode 100644 widget/cocoa/cursors/cell@2x.png create mode 100644 widget/cocoa/cursors/colResize.png create mode 100644 widget/cocoa/cursors/colResize@2x.png create mode 100644 widget/cocoa/cursors/help.png create mode 100644 widget/cocoa/cursors/help@2x.png create mode 100644 widget/cocoa/cursors/move.png create mode 100644 widget/cocoa/cursors/move@2x.png create mode 100644 widget/cocoa/cursors/rowResize.png create mode 100644 widget/cocoa/cursors/rowResize@2x.png create mode 100644 widget/cocoa/cursors/sizeNE.png create mode 100644 widget/cocoa/cursors/sizeNE@2x.png create mode 100644 widget/cocoa/cursors/sizeNESW.png create mode 100644 widget/cocoa/cursors/sizeNESW@2x.png create mode 100644 widget/cocoa/cursors/sizeNS.png create mode 100644 widget/cocoa/cursors/sizeNS@2x.png create mode 100644 widget/cocoa/cursors/sizeNW.png create mode 100644 widget/cocoa/cursors/sizeNW@2x.png create mode 100644 widget/cocoa/cursors/sizeNWSE.png create mode 100644 widget/cocoa/cursors/sizeNWSE@2x.png create mode 100644 widget/cocoa/cursors/sizeSE.png create mode 100644 widget/cocoa/cursors/sizeSE@2x.png create mode 100644 widget/cocoa/cursors/sizeSW.png create mode 100644 widget/cocoa/cursors/sizeSW@2x.png create mode 100644 widget/cocoa/cursors/vtIBeam.png create mode 100644 widget/cocoa/cursors/vtIBeam@2x.png create mode 100644 widget/cocoa/cursors/zoomIn.png create mode 100644 widget/cocoa/cursors/zoomIn@2x.png create mode 100644 widget/cocoa/cursors/zoomOut.png create mode 100644 widget/cocoa/cursors/zoomOut@2x.png create mode 100644 widget/cocoa/docs/index.md create mode 100644 widget/cocoa/docs/macos-apis.md create mode 100644 widget/cocoa/docs/sdks.md create mode 100644 widget/cocoa/metrics.yaml create mode 100644 widget/cocoa/moz.build create mode 100644 widget/cocoa/mozView.h create mode 100644 widget/cocoa/nsAppShell.h create mode 100644 widget/cocoa/nsAppShell.mm create mode 100644 widget/cocoa/nsBidiKeyboard.h create mode 100644 widget/cocoa/nsBidiKeyboard.mm create mode 100644 widget/cocoa/nsChangeObserver.h create mode 100644 widget/cocoa/nsChildView.h create mode 100644 widget/cocoa/nsChildView.mm create mode 100644 widget/cocoa/nsClipboard.h create mode 100644 widget/cocoa/nsClipboard.mm create mode 100644 widget/cocoa/nsCocoaFeatures.h create mode 100644 widget/cocoa/nsCocoaFeatures.mm create mode 100644 widget/cocoa/nsCocoaUtils.h create mode 100644 widget/cocoa/nsCocoaUtils.mm create mode 100644 widget/cocoa/nsCocoaWindow.h create mode 100644 widget/cocoa/nsCocoaWindow.mm create mode 100644 widget/cocoa/nsColorPicker.h create mode 100644 widget/cocoa/nsColorPicker.mm create mode 100644 widget/cocoa/nsCursorManager.h create mode 100644 widget/cocoa/nsCursorManager.mm create mode 100644 widget/cocoa/nsDeviceContextSpecX.h create mode 100644 widget/cocoa/nsDeviceContextSpecX.mm create mode 100644 widget/cocoa/nsDragService.h create mode 100644 widget/cocoa/nsDragService.mm create mode 100644 widget/cocoa/nsFilePicker.h create mode 100644 widget/cocoa/nsFilePicker.mm create mode 100644 widget/cocoa/nsLookAndFeel.h create mode 100644 widget/cocoa/nsLookAndFeel.mm create mode 100644 widget/cocoa/nsMacCursor.h create mode 100644 widget/cocoa/nsMacCursor.mm create mode 100644 widget/cocoa/nsMacDockSupport.h create mode 100644 widget/cocoa/nsMacDockSupport.mm create mode 100644 widget/cocoa/nsMacFinderProgress.h create mode 100644 widget/cocoa/nsMacFinderProgress.mm create mode 100644 widget/cocoa/nsMacSharingService.h create mode 100644 widget/cocoa/nsMacSharingService.mm create mode 100644 widget/cocoa/nsMacUserActivityUpdater.h create mode 100644 widget/cocoa/nsMacUserActivityUpdater.mm create mode 100644 widget/cocoa/nsMacWebAppUtils.h create mode 100644 widget/cocoa/nsMacWebAppUtils.mm create mode 100644 widget/cocoa/nsMenuBarX.h create mode 100644 widget/cocoa/nsMenuBarX.mm create mode 100644 widget/cocoa/nsMenuGroupOwnerX.h create mode 100644 widget/cocoa/nsMenuGroupOwnerX.mm create mode 100644 widget/cocoa/nsMenuItemIconX.h create mode 100644 widget/cocoa/nsMenuItemIconX.mm create mode 100644 widget/cocoa/nsMenuItemX.h create mode 100644 widget/cocoa/nsMenuItemX.mm create mode 100644 widget/cocoa/nsMenuParentX.h create mode 100644 widget/cocoa/nsMenuUtilsX.h create mode 100644 widget/cocoa/nsMenuUtilsX.mm create mode 100644 widget/cocoa/nsMenuX.h create mode 100644 widget/cocoa/nsMenuX.mm create mode 100644 widget/cocoa/nsNativeThemeCocoa.h create mode 100644 widget/cocoa/nsNativeThemeCocoa.mm create mode 100644 widget/cocoa/nsNativeThemeColors.h create mode 100644 widget/cocoa/nsPIWidgetCocoa.idl create mode 100644 widget/cocoa/nsPrintDialogX.h create mode 100644 widget/cocoa/nsPrintDialogX.mm create mode 100644 widget/cocoa/nsPrintSettingsServiceX.h create mode 100644 widget/cocoa/nsPrintSettingsServiceX.mm create mode 100644 widget/cocoa/nsPrintSettingsX.h create mode 100644 widget/cocoa/nsPrintSettingsX.mm create mode 100644 widget/cocoa/nsSandboxViolationSink.h create mode 100644 widget/cocoa/nsSandboxViolationSink.mm create mode 100644 widget/cocoa/nsSound.h create mode 100644 widget/cocoa/nsSound.mm create mode 100644 widget/cocoa/nsStandaloneNativeMenu.h create mode 100644 widget/cocoa/nsStandaloneNativeMenu.mm create mode 100644 widget/cocoa/nsSystemStatusBarCocoa.h create mode 100644 widget/cocoa/nsSystemStatusBarCocoa.mm create mode 100644 widget/cocoa/nsToolkit.h create mode 100644 widget/cocoa/nsToolkit.mm create mode 100644 widget/cocoa/nsTouchBar.h create mode 100644 widget/cocoa/nsTouchBar.mm create mode 100644 widget/cocoa/nsTouchBarInput.h create mode 100644 widget/cocoa/nsTouchBarInput.mm create mode 100644 widget/cocoa/nsTouchBarInputIcon.h create mode 100644 widget/cocoa/nsTouchBarInputIcon.mm create mode 100644 widget/cocoa/nsTouchBarNativeAPIDefines.h create mode 100644 widget/cocoa/nsTouchBarUpdater.h create mode 100644 widget/cocoa/nsTouchBarUpdater.mm create mode 100644 widget/cocoa/nsUserIdleServiceX.h create mode 100644 widget/cocoa/nsUserIdleServiceX.mm create mode 100644 widget/cocoa/nsWidgetFactory.h create mode 100644 widget/cocoa/nsWidgetFactory.mm create mode 100644 widget/cocoa/nsWindowMap.h create mode 100644 widget/cocoa/nsWindowMap.mm create mode 100644 widget/cocoa/resources/MainMenu.nib/classes.nib create mode 100644 widget/cocoa/resources/MainMenu.nib/info.nib create mode 100644 widget/cocoa/resources/MainMenu.nib/keyedobjects.nib create mode 100644 widget/components.conf create mode 100644 widget/crashtests/1128214.html create mode 100644 widget/crashtests/303901-1.html create mode 100644 widget/crashtests/303901-2.html create mode 100644 widget/crashtests/380359-1.xhtml create mode 100644 widget/crashtests/crashtests.list create mode 100644 widget/generic/PCompositorWidget.ipdl create mode 100644 widget/generic/PlatformWidgetTypes.ipdlh create mode 100644 widget/gtk/AsyncDBus.cpp create mode 100644 widget/gtk/AsyncDBus.h create mode 100644 widget/gtk/AsyncGtkClipboardRequest.cpp create mode 100644 widget/gtk/AsyncGtkClipboardRequest.h create mode 100644 widget/gtk/CompositorWidgetChild.cpp create mode 100644 widget/gtk/CompositorWidgetChild.h create mode 100644 widget/gtk/CompositorWidgetParent.cpp create mode 100644 widget/gtk/CompositorWidgetParent.h create mode 100644 widget/gtk/DMABufLibWrapper.cpp create mode 100644 widget/gtk/DMABufLibWrapper.h create mode 100644 widget/gtk/DMABufSurface.cpp create mode 100644 widget/gtk/DMABufSurface.h create mode 100644 widget/gtk/GRefPtr.h create mode 100644 widget/gtk/GUniquePtr.h create mode 100644 widget/gtk/GfxInfo.cpp create mode 100644 widget/gtk/GfxInfo.h create mode 100644 widget/gtk/GfxInfoUtils.h create mode 100644 widget/gtk/GtkCompositorWidget.cpp create mode 100644 widget/gtk/GtkCompositorWidget.h create mode 100644 widget/gtk/IMContextWrapper.cpp create mode 100644 widget/gtk/IMContextWrapper.h create mode 100644 widget/gtk/InProcessGtkCompositorWidget.cpp create mode 100644 widget/gtk/InProcessGtkCompositorWidget.h create mode 100644 widget/gtk/MPRISInterfaceDescription.h create mode 100644 widget/gtk/MPRISServiceHandler.cpp create mode 100644 widget/gtk/MPRISServiceHandler.h create mode 100644 widget/gtk/MediaKeysEventSourceFactory.cpp create mode 100644 widget/gtk/MozContainer.cpp create mode 100644 widget/gtk/MozContainer.h create mode 100644 widget/gtk/MozContainerWayland.cpp create mode 100644 widget/gtk/MozContainerWayland.h create mode 100644 widget/gtk/NativeKeyBindings.cpp create mode 100644 widget/gtk/NativeKeyBindings.h create mode 100644 widget/gtk/NativeMenuGtk.cpp create mode 100644 widget/gtk/NativeMenuGtk.h create mode 100644 widget/gtk/NativeMenuSupport.cpp create mode 100644 widget/gtk/PCompositorWidget.ipdl create mode 100644 widget/gtk/PlatformWidgetTypes.ipdlh create mode 100644 widget/gtk/ScreenHelperGTK.cpp create mode 100644 widget/gtk/ScreenHelperGTK.h create mode 100644 widget/gtk/TaskbarProgress.cpp create mode 100644 widget/gtk/TaskbarProgress.h create mode 100644 widget/gtk/WakeLockListener.cpp create mode 100644 widget/gtk/WakeLockListener.h create mode 100644 widget/gtk/WaylandBuffer.cpp create mode 100644 widget/gtk/WaylandBuffer.h create mode 100644 widget/gtk/WaylandVsyncSource.cpp create mode 100644 widget/gtk/WaylandVsyncSource.h create mode 100644 widget/gtk/WidgetStyleCache.cpp create mode 100644 widget/gtk/WidgetStyleCache.h create mode 100644 widget/gtk/WidgetTraceEvent.cpp create mode 100644 widget/gtk/WidgetUtilsGtk.cpp create mode 100644 widget/gtk/WidgetUtilsGtk.h create mode 100644 widget/gtk/WindowSurface.h create mode 100644 widget/gtk/WindowSurfaceProvider.cpp create mode 100644 widget/gtk/WindowSurfaceProvider.h create mode 100644 widget/gtk/WindowSurfaceWaylandMultiBuffer.cpp create mode 100644 widget/gtk/WindowSurfaceWaylandMultiBuffer.h create mode 100644 widget/gtk/WindowSurfaceX11.cpp create mode 100644 widget/gtk/WindowSurfaceX11.h create mode 100644 widget/gtk/WindowSurfaceX11Image.cpp create mode 100644 widget/gtk/WindowSurfaceX11Image.h create mode 100644 widget/gtk/WindowSurfaceX11SHM.cpp create mode 100644 widget/gtk/WindowSurfaceX11SHM.h create mode 100644 widget/gtk/compat/gdk/gdkdnd.h create mode 100644 widget/gtk/compat/gdk/gdkkeysyms.h create mode 100644 widget/gtk/compat/gdk/gdkvisual.h create mode 100644 widget/gtk/compat/gdk/gdkwindow.h create mode 100644 widget/gtk/compat/gdk/gdkx.h create mode 100644 widget/gtk/compat/glib/gmem.h create mode 100644 widget/gtk/compat/gtk/gtkwidget.h create mode 100644 widget/gtk/compat/gtk/gtkwindow.h create mode 100644 widget/gtk/components.conf create mode 100644 widget/gtk/crashtests/540078-1.xhtml create mode 100644 widget/gtk/crashtests/673390-1.html create mode 100644 widget/gtk/crashtests/crashtests.list create mode 100644 widget/gtk/gtk3drawing.cpp create mode 100644 widget/gtk/gtkdrawing.h create mode 100644 widget/gtk/moz.build create mode 100644 widget/gtk/mozgtk/moz.build create mode 100644 widget/gtk/mozgtk/mozgtk.c create mode 100644 widget/gtk/mozwayland/moz.build create mode 100644 widget/gtk/mozwayland/mozwayland.c create mode 100644 widget/gtk/mozwayland/mozwayland.h create mode 100644 widget/gtk/nsAppShell.cpp create mode 100644 widget/gtk/nsAppShell.h create mode 100644 widget/gtk/nsApplicationChooser.cpp create mode 100644 widget/gtk/nsApplicationChooser.h create mode 100644 widget/gtk/nsBidiKeyboard.cpp create mode 100644 widget/gtk/nsBidiKeyboard.h create mode 100644 widget/gtk/nsClipboard.cpp create mode 100644 widget/gtk/nsClipboard.h create mode 100644 widget/gtk/nsClipboardWayland.cpp create mode 100644 widget/gtk/nsClipboardWayland.h create mode 100644 widget/gtk/nsClipboardX11.cpp create mode 100644 widget/gtk/nsClipboardX11.h create mode 100644 widget/gtk/nsColorPicker.cpp create mode 100644 widget/gtk/nsColorPicker.h create mode 100644 widget/gtk/nsDeviceContextSpecG.cpp create mode 100644 widget/gtk/nsDeviceContextSpecG.h create mode 100644 widget/gtk/nsDragService.cpp create mode 100644 widget/gtk/nsDragService.h create mode 100644 widget/gtk/nsFilePicker.cpp create mode 100644 widget/gtk/nsFilePicker.h create mode 100644 widget/gtk/nsGTKToolkit.h create mode 100644 widget/gtk/nsGtkCursors.h create mode 100644 widget/gtk/nsGtkKeyUtils.cpp create mode 100644 widget/gtk/nsGtkKeyUtils.h create mode 100644 widget/gtk/nsGtkUtils.h create mode 100644 widget/gtk/nsImageToPixbuf.cpp create mode 100644 widget/gtk/nsImageToPixbuf.h create mode 100644 widget/gtk/nsLookAndFeel.cpp create mode 100644 widget/gtk/nsLookAndFeel.h create mode 100644 widget/gtk/nsNativeThemeGTK.cpp create mode 100644 widget/gtk/nsNativeThemeGTK.h create mode 100644 widget/gtk/nsPrintDialogGTK.cpp create mode 100644 widget/gtk/nsPrintDialogGTK.h create mode 100644 widget/gtk/nsPrintSettingsGTK.cpp create mode 100644 widget/gtk/nsPrintSettingsGTK.h create mode 100644 widget/gtk/nsPrintSettingsServiceGTK.cpp create mode 100644 widget/gtk/nsPrintSettingsServiceGTK.h create mode 100644 widget/gtk/nsShmImage.cpp create mode 100644 widget/gtk/nsShmImage.h create mode 100644 widget/gtk/nsSound.cpp create mode 100644 widget/gtk/nsSound.h create mode 100644 widget/gtk/nsToolkit.cpp create mode 100644 widget/gtk/nsUserIdleServiceGTK.cpp create mode 100644 widget/gtk/nsUserIdleServiceGTK.h create mode 100644 widget/gtk/nsWaylandDisplay.cpp create mode 100644 widget/gtk/nsWaylandDisplay.h create mode 100644 widget/gtk/nsWidgetFactory.cpp create mode 100644 widget/gtk/nsWidgetFactory.h create mode 100644 widget/gtk/nsWindow.cpp create mode 100644 widget/gtk/nsWindow.h create mode 100644 widget/gtk/vaapitest/moz.build create mode 100644 widget/gtk/vaapitest/vaapitest.cpp create mode 100644 widget/gtk/wayland/gbm.h create mode 100644 widget/gtk/wayland/idle-inhibit-unstable-v1-client-protocol.h create mode 100644 widget/gtk/wayland/idle-inhibit-unstable-v1-protocol.c create mode 100644 widget/gtk/wayland/linux-dmabuf-unstable-v1-client-protocol.h create mode 100644 widget/gtk/wayland/linux-dmabuf-unstable-v1-protocol.c create mode 100644 widget/gtk/wayland/moz.build create mode 100644 widget/gtk/wayland/pointer-constraints-unstable-v1-client-protocol.h create mode 100644 widget/gtk/wayland/pointer-constraints-unstable-v1-protocol.c create mode 100644 widget/gtk/wayland/relative-pointer-unstable-v1-client-protocol.h create mode 100644 widget/gtk/wayland/relative-pointer-unstable-v1-protocol.c create mode 100644 widget/gtk/wayland/va_drmcommon.h create mode 100644 widget/gtk/wayland/viewporter-client-protocol.h create mode 100644 widget/gtk/wayland/viewporter-protocol.c create mode 100644 widget/gtk/wayland/xdg-activation-v1-client-protocol.h create mode 100644 widget/gtk/wayland/xdg-activation-v1-protocol.c create mode 100644 widget/gtk/wayland/xdg-output-unstable-v1-client-protocol.h create mode 100644 widget/gtk/wayland/xdg-output-unstable-v1-protocol.c create mode 100644 widget/headless/HeadlessClipboard.cpp create mode 100644 widget/headless/HeadlessClipboard.h create mode 100644 widget/headless/HeadlessClipboardData.cpp create mode 100644 widget/headless/HeadlessClipboardData.h create mode 100644 widget/headless/HeadlessCompositorWidget.cpp create mode 100644 widget/headless/HeadlessCompositorWidget.h create mode 100644 widget/headless/HeadlessKeyBindings.cpp create mode 100644 widget/headless/HeadlessKeyBindings.h create mode 100644 widget/headless/HeadlessKeyBindingsCocoa.mm create mode 100644 widget/headless/HeadlessLookAndFeel.h create mode 100644 widget/headless/HeadlessLookAndFeelGTK.cpp create mode 100644 widget/headless/HeadlessScreenHelper.cpp create mode 100644 widget/headless/HeadlessScreenHelper.h create mode 100644 widget/headless/HeadlessSound.cpp create mode 100644 widget/headless/HeadlessSound.h create mode 100644 widget/headless/HeadlessWidget.cpp create mode 100644 widget/headless/HeadlessWidget.h create mode 100644 widget/headless/HeadlessWidgetTypes.ipdlh create mode 100644 widget/headless/moz.build create mode 100644 widget/headless/tests/headless.html create mode 100644 widget/headless/tests/headless_button.html create mode 100644 widget/headless/tests/moz.build create mode 100644 widget/headless/tests/test_headless.js create mode 100644 widget/headless/tests/test_headless_clipboard.js create mode 100644 widget/headless/tests/xpcshell.ini create mode 100644 widget/moz.build create mode 100644 widget/nsAppShellSingleton.h create mode 100644 widget/nsAutoRollup.cpp create mode 100644 widget/nsAutoRollup.h create mode 100644 widget/nsBaseAppShell.cpp create mode 100644 widget/nsBaseAppShell.h create mode 100644 widget/nsBaseClipboard.cpp create mode 100644 widget/nsBaseClipboard.h create mode 100644 widget/nsBaseDragService.cpp create mode 100644 widget/nsBaseDragService.h create mode 100644 widget/nsBaseFilePicker.cpp create mode 100644 widget/nsBaseFilePicker.h create mode 100644 widget/nsBaseWidget.cpp create mode 100644 widget/nsBaseWidget.h create mode 100644 widget/nsCUPSShim.cpp create mode 100644 widget/nsCUPSShim.h create mode 100644 widget/nsClipboardHelper.cpp create mode 100644 widget/nsClipboardHelper.h create mode 100644 widget/nsClipboardProxy.cpp create mode 100644 widget/nsClipboardProxy.h create mode 100644 widget/nsColorPickerProxy.cpp create mode 100644 widget/nsColorPickerProxy.h create mode 100644 widget/nsContentProcessWidgetFactory.h create mode 100644 widget/nsDeviceContextSpecProxy.cpp create mode 100644 widget/nsDeviceContextSpecProxy.h create mode 100644 widget/nsDragServiceProxy.cpp create mode 100644 widget/nsDragServiceProxy.h create mode 100644 widget/nsFilePickerProxy.cpp create mode 100644 widget/nsFilePickerProxy.h create mode 100644 widget/nsGUIEventIPC.h create mode 100644 widget/nsHTMLFormatConverter.cpp create mode 100644 widget/nsHTMLFormatConverter.h create mode 100644 widget/nsIAppShell.idl create mode 100644 widget/nsIApplicationChooser.idl create mode 100644 widget/nsIBaseWindow.cpp create mode 100644 widget/nsIBaseWindow.idl create mode 100644 widget/nsIBidiKeyboard.idl create mode 100644 widget/nsIClipboard.idl create mode 100644 widget/nsIClipboardHelper.idl create mode 100644 widget/nsIClipboardOwner.idl create mode 100644 widget/nsIColorPicker.idl create mode 100644 widget/nsIDeviceContextSpec.cpp create mode 100644 widget/nsIDeviceContextSpec.h create mode 100644 widget/nsIDisplayInfo.idl create mode 100644 widget/nsIDragService.idl create mode 100644 widget/nsIDragSession.idl create mode 100644 widget/nsIFilePicker.idl create mode 100644 widget/nsIFormatConverter.idl create mode 100644 widget/nsIGfxInfo.idl create mode 100644 widget/nsIGfxInfoDebug.idl create mode 100644 widget/nsIGtkTaskbarProgress.idl create mode 100644 widget/nsIJumpListBuilder.idl create mode 100644 widget/nsIJumpListItem.idl create mode 100644 widget/nsIMacDockSupport.idl create mode 100644 widget/nsIMacFinderProgress.idl create mode 100644 widget/nsIMacSharingService.idl create mode 100644 widget/nsIMacUserActivityUpdater.idl create mode 100644 widget/nsIMacWebAppUtils.idl create mode 100644 widget/nsIPaper.idl create mode 100644 widget/nsIPaperMargin.idl create mode 100644 widget/nsIPrintDialogService.idl create mode 100644 widget/nsIPrintSettings.idl create mode 100644 widget/nsIPrintSettingsService.idl create mode 100644 widget/nsIPrintSettingsWin.idl create mode 100644 widget/nsIPrinter.idl create mode 100644 widget/nsIPrinterList.idl create mode 100644 widget/nsIRollupListener.h create mode 100644 widget/nsIScreen.idl create mode 100644 widget/nsIScreenManager.idl create mode 100644 widget/nsISharePicker.idl create mode 100644 widget/nsISound.idl create mode 100644 widget/nsIStandaloneNativeMenu.idl create mode 100644 widget/nsISystemStatusBar.idl create mode 100644 widget/nsITaskbarOverlayIconController.idl create mode 100644 widget/nsITaskbarPreview.idl create mode 100644 widget/nsITaskbarPreviewButton.idl create mode 100644 widget/nsITaskbarPreviewController.idl create mode 100644 widget/nsITaskbarProgress.idl create mode 100644 widget/nsITaskbarTabPreview.idl create mode 100644 widget/nsITaskbarWindowPreview.idl create mode 100644 widget/nsITouchBarHelper.idl create mode 100644 widget/nsITouchBarInput.idl create mode 100644 widget/nsITouchBarUpdater.idl create mode 100644 widget/nsITransferable.idl create mode 100644 widget/nsIUserIdleService.idl create mode 100644 widget/nsIUserIdleServiceInternal.idl create mode 100644 widget/nsIWidget.h create mode 100644 widget/nsIWidgetListener.cpp create mode 100644 widget/nsIWidgetListener.h create mode 100644 widget/nsIWinTaskbar.idl create mode 100644 widget/nsIWindowsUIUtils.idl create mode 100644 widget/nsNativeTheme.cpp create mode 100644 widget/nsNativeTheme.h create mode 100644 widget/nsPaper.cpp create mode 100644 widget/nsPaper.h create mode 100644 widget/nsPaperMargin.cpp create mode 100644 widget/nsPaperMargin.h create mode 100644 widget/nsPrimitiveHelpers.cpp create mode 100644 widget/nsPrimitiveHelpers.h create mode 100644 widget/nsPrintSettingsImpl.cpp create mode 100644 widget/nsPrintSettingsImpl.h create mode 100644 widget/nsPrintSettingsService.cpp create mode 100644 widget/nsPrintSettingsService.h create mode 100644 widget/nsPrinterBase.cpp create mode 100644 widget/nsPrinterBase.h create mode 100644 widget/nsPrinterCUPS.cpp create mode 100644 widget/nsPrinterCUPS.h create mode 100644 widget/nsPrinterListBase.cpp create mode 100644 widget/nsPrinterListBase.h create mode 100644 widget/nsPrinterListCUPS.cpp create mode 100644 widget/nsPrinterListCUPS.h create mode 100644 widget/nsSoundProxy.cpp create mode 100644 widget/nsSoundProxy.h create mode 100644 widget/nsTransferable.cpp create mode 100644 widget/nsTransferable.h create mode 100644 widget/nsUserIdleService.cpp create mode 100644 widget/nsUserIdleService.h create mode 100644 widget/nsWidgetsCID.h create mode 100644 widget/nsXPLookAndFeel.cpp create mode 100644 widget/nsXPLookAndFeel.h create mode 100644 widget/reftests/664925.xhtml create mode 100644 widget/reftests/meter-fallback-default-style-ref.html create mode 100644 widget/reftests/meter-fallback-default-style.html create mode 100644 widget/reftests/meter-native-style-ref.html create mode 100644 widget/reftests/meter-native-style.html create mode 100644 widget/reftests/meter-vertical-native-style-ref.html create mode 100644 widget/reftests/meter-vertical-native-style.html create mode 100644 widget/reftests/progressbar-fallback-default-style-ref.html create mode 100644 widget/reftests/progressbar-fallback-default-style.html create mode 100644 widget/reftests/reftest.list create mode 100644 widget/reftests/scaled-scrollbar.html create mode 100644 widget/reftests/scrollbar-buttons.html create mode 100644 widget/tests/TestChromeMargin.cpp create mode 100644 widget/tests/browser/browser.ini create mode 100644 widget/tests/browser/browser_test_ContentCache.js create mode 100644 widget/tests/browser/browser_test_InputContextURI.js create mode 100644 widget/tests/browser/browser_test_clipboardcache.js create mode 100644 widget/tests/browser/browser_test_fullscreen_size.js create mode 100644 widget/tests/browser/browser_test_ime_state_in_contenteditable_on_focus_move_in_remote_content.js create mode 100644 widget/tests/browser/browser_test_ime_state_in_contenteditable_on_readonly_change_in_remote_content.js create mode 100644 widget/tests/browser/browser_test_ime_state_in_designMode_on_focus_move_in_remote_content.js create mode 100644 widget/tests/browser/browser_test_ime_state_in_plugin_in_remote_content.js create mode 100644 widget/tests/browser/browser_test_ime_state_in_text_control_on_reframe_in_remote_content.js create mode 100644 widget/tests/browser/browser_test_ime_state_on_editable_state_change_in_remote_content.js create mode 100644 widget/tests/browser/browser_test_ime_state_on_focus_move_in_remote_content.js create mode 100644 widget/tests/browser/browser_test_ime_state_on_input_type_change_in_remote_content.js create mode 100644 widget/tests/browser/browser_test_ime_state_on_readonly_change_in_remote_content.js create mode 100644 widget/tests/browser/browser_test_scrollbar_colors.js create mode 100644 widget/tests/browser/browser_test_swipe_gesture.js create mode 100644 widget/tests/browser/file_ime_state_tests.html create mode 100644 widget/tests/browser/helper_scrollbar_colors.html create mode 100644 widget/tests/browser/helper_swipe_gesture.html create mode 100644 widget/tests/bug586713_window.xhtml create mode 100644 widget/tests/chrome.ini create mode 100644 widget/tests/clipboard_helper.js create mode 100644 widget/tests/empty_window.xhtml create mode 100644 widget/tests/file_bug596600.html create mode 100644 widget/tests/file_ime_state_test_helper.js create mode 100644 widget/tests/file_input_events_on_deactive_window.html create mode 100644 widget/tests/file_secure_input.html create mode 100644 widget/tests/file_test_ime_state_in_contenteditable_on_readonly_change.js create mode 100644 widget/tests/file_test_ime_state_in_text_control_on_reframe.js create mode 100644 widget/tests/file_test_ime_state_on_focus_move.js create mode 100644 widget/tests/file_test_ime_state_on_input_type_change.js create mode 100644 widget/tests/file_test_ime_state_on_readonly_change.js create mode 100644 widget/tests/gtest/MockWinWidget.cpp create mode 100644 widget/tests/gtest/MockWinWidget.h create mode 100644 widget/tests/gtest/TestTimeConverter.cpp create mode 100644 widget/tests/gtest/TestTouchResampler.cpp create mode 100644 widget/tests/gtest/TestWinHeaderOnlyUtils.cpp create mode 100644 widget/tests/gtest/TestWinMessageLoggingUtils.cpp create mode 100644 widget/tests/gtest/TestWinWindowOcclusionTracker.cpp create mode 100644 widget/tests/gtest/TestWinWindowOcclusionTrackerInteractive.cpp create mode 100644 widget/tests/gtest/moz.build create mode 100644 widget/tests/mochitest.ini create mode 100644 widget/tests/moz.build create mode 100644 widget/tests/native_menus_window.xhtml create mode 100644 widget/tests/standalone_native_menu_window.xhtml create mode 100644 widget/tests/system_font_changes.xhtml create mode 100644 widget/tests/taskbar_previews.xhtml create mode 100644 widget/tests/test_AltGr_key_events_in_web_content_on_windows.html create mode 100644 widget/tests/test_actionhint.html create mode 100644 widget/tests/test_alwaysontop_focus.xhtml create mode 100644 widget/tests/test_assign_event_data.html create mode 100644 widget/tests/test_autocapitalize.html create mode 100644 widget/tests/test_bug1123480.xhtml create mode 100644 widget/tests/test_bug343416.xhtml create mode 100644 widget/tests/test_bug413277.html create mode 100644 widget/tests/test_bug428405.xhtml create mode 100644 widget/tests/test_bug429954.xhtml create mode 100644 widget/tests/test_bug444800.xhtml create mode 100644 widget/tests/test_bug466599.xhtml create mode 100644 widget/tests/test_bug478536.xhtml create mode 100644 widget/tests/test_bug485118.xhtml create mode 100644 widget/tests/test_bug517396.xhtml create mode 100644 widget/tests/test_bug522217.xhtml create mode 100644 widget/tests/test_bug538242.xhtml create mode 100644 widget/tests/test_bug565392.html create mode 100644 widget/tests/test_bug586713.xhtml create mode 100644 widget/tests/test_bug593307.xhtml create mode 100644 widget/tests/test_bug596600.xhtml create mode 100644 widget/tests/test_bug673301.xhtml create mode 100644 widget/tests/test_bug760802.xhtml create mode 100644 widget/tests/test_clipboard.xhtml create mode 100644 widget/tests/test_clipboard_asyncSetData.xhtml create mode 100644 widget/tests/test_clipboard_cache.xhtml create mode 100644 widget/tests/test_clipboard_owner.xhtml create mode 100644 widget/tests/test_composition_text_querycontent.xhtml create mode 100644 widget/tests/test_ime_state_in_contenteditable_on_readonly_change_in_parent.html create mode 100644 widget/tests/test_ime_state_in_plugin_in_parent.html create mode 100644 widget/tests/test_ime_state_in_text_control_on_reframe_in_parent.html create mode 100644 widget/tests/test_ime_state_on_editable_state_change_in_parent.html create mode 100644 widget/tests/test_ime_state_on_focus_move_in_parent.html create mode 100644 widget/tests/test_ime_state_on_input_type_change_in_parent.html create mode 100644 widget/tests/test_ime_state_on_readonly_change_in_parent.html create mode 100644 widget/tests/test_ime_state_others_in_parent.html create mode 100644 widget/tests/test_input_events_on_deactive_window.xhtml create mode 100644 widget/tests/test_key_event_counts.xhtml create mode 100644 widget/tests/test_keycodes.xhtml create mode 100644 widget/tests/test_keypress_event_with_alt_on_mac.html create mode 100644 widget/tests/test_mouse_event_with_control_on_mac.html create mode 100644 widget/tests/test_mouse_scroll.xhtml create mode 100644 widget/tests/test_native_key_bindings_mac.html create mode 100644 widget/tests/test_native_menus.xhtml create mode 100644 widget/tests/test_panel_mouse_coords.xhtml create mode 100644 widget/tests/test_picker_no_crash.html create mode 100644 widget/tests/test_platform_colors.xhtml create mode 100644 widget/tests/test_position_on_resize.xhtml create mode 100644 widget/tests/test_secure_input.html create mode 100644 widget/tests/test_sizemode_events.xhtml create mode 100644 widget/tests/test_standalone_native_menu.xhtml create mode 100644 widget/tests/test_system_font_changes.xhtml create mode 100644 widget/tests/test_system_status_bar.xhtml create mode 100644 widget/tests/test_taskbar_progress.xhtml create mode 100644 widget/tests/test_textScaleFactor_system_font.html create mode 100644 widget/tests/test_transferable_overflow.xhtml create mode 100644 widget/tests/test_wheeltransaction.xhtml create mode 100644 widget/tests/unit/test_macsharingservice.js create mode 100644 widget/tests/unit/test_macwebapputils.js create mode 100644 widget/tests/unit/test_taskbar_jumplistitems.js create mode 100644 widget/tests/unit/xpcshell.ini create mode 100644 widget/tests/window_bug429954.xhtml create mode 100644 widget/tests/window_bug478536.xhtml create mode 100644 widget/tests/window_bug522217.xhtml create mode 100644 widget/tests/window_bug538242.xhtml create mode 100644 widget/tests/window_bug593307_centerscreen.xhtml create mode 100644 widget/tests/window_bug593307_offscreen.xhtml create mode 100644 widget/tests/window_composition_text_querycontent.xhtml create mode 100644 widget/tests/window_imestate_iframes.html create mode 100644 widget/tests/window_mouse_scroll_win.html create mode 100644 widget/tests/window_mouse_scroll_win_2.html create mode 100644 widget/tests/window_picker_no_crash_child.html create mode 100644 widget/tests/window_state_windows.xhtml create mode 100644 widget/tests/window_wheeltransaction.xhtml create mode 100644 widget/uikit/GfxInfo.cpp create mode 100644 widget/uikit/GfxInfo.h create mode 100644 widget/uikit/moz.build create mode 100644 widget/uikit/nsAppShell.h create mode 100644 widget/uikit/nsAppShell.mm create mode 100644 widget/uikit/nsLookAndFeel.h create mode 100644 widget/uikit/nsLookAndFeel.mm create mode 100644 widget/uikit/nsScreenManager.h create mode 100644 widget/uikit/nsScreenManager.mm create mode 100644 widget/uikit/nsWidgetFactory.mm create mode 100644 widget/uikit/nsWindow.h create mode 100644 widget/uikit/nsWindow.mm create mode 100644 widget/windows/AudioSession.cpp create mode 100644 widget/windows/AudioSession.h create mode 100644 widget/windows/CheckInvariantWrapper.h create mode 100644 widget/windows/CompositorWidgetChild.cpp create mode 100644 widget/windows/CompositorWidgetChild.h create mode 100644 widget/windows/CompositorWidgetParent.cpp create mode 100644 widget/windows/CompositorWidgetParent.h create mode 100644 widget/windows/DirectManipulationOwner.cpp create mode 100644 widget/windows/DirectManipulationOwner.h create mode 100644 widget/windows/GfxInfo.cpp create mode 100644 widget/windows/GfxInfo.h create mode 100644 widget/windows/IEnumFE.cpp create mode 100644 widget/windows/IEnumFE.h create mode 100644 widget/windows/IMMHandler.cpp create mode 100644 widget/windows/IMMHandler.h create mode 100644 widget/windows/InProcessWinCompositorWidget.cpp create mode 100644 widget/windows/InProcessWinCompositorWidget.h create mode 100644 widget/windows/InkCollector.cpp create mode 100644 widget/windows/InkCollector.h create mode 100644 widget/windows/InputDeviceUtils.cpp create mode 100644 widget/windows/InputDeviceUtils.h create mode 100644 widget/windows/JumpListBuilder.cpp create mode 100644 widget/windows/JumpListBuilder.h create mode 100644 widget/windows/JumpListItem.cpp create mode 100644 widget/windows/JumpListItem.h create mode 100644 widget/windows/KeyboardLayout.cpp create mode 100644 widget/windows/KeyboardLayout.h create mode 100644 widget/windows/LSPAnnotator.cpp create mode 100644 widget/windows/MediaKeysEventSourceFactory.cpp create mode 100644 widget/windows/OSKInputPaneManager.cpp create mode 100644 widget/windows/OSKInputPaneManager.h create mode 100644 widget/windows/OSKTabTipManager.cpp create mode 100644 widget/windows/OSKTabTipManager.h create mode 100644 widget/windows/OSKVRManager.cpp create mode 100644 widget/windows/OSKVRManager.h create mode 100644 widget/windows/PCompositorWidget.ipdl create mode 100644 widget/windows/PlatformWidgetTypes.ipdlh create mode 100644 widget/windows/RemoteBackbuffer.cpp create mode 100644 widget/windows/RemoteBackbuffer.h create mode 100644 widget/windows/ScreenHelperWin.cpp create mode 100644 widget/windows/ScreenHelperWin.h create mode 100644 widget/windows/ShellHeaderOnlyUtils.h create mode 100644 widget/windows/SystemStatusBar.cpp create mode 100644 widget/windows/SystemStatusBar.h create mode 100644 widget/windows/TSFTextStore.cpp create mode 100644 widget/windows/TSFTextStore.h create mode 100644 widget/windows/TaskbarPreview.cpp create mode 100644 widget/windows/TaskbarPreview.h create mode 100644 widget/windows/TaskbarPreviewButton.cpp create mode 100644 widget/windows/TaskbarPreviewButton.h create mode 100644 widget/windows/TaskbarTabPreview.cpp create mode 100644 widget/windows/TaskbarTabPreview.h create mode 100644 widget/windows/TaskbarWindowPreview.cpp create mode 100644 widget/windows/TaskbarWindowPreview.h create mode 100644 widget/windows/ToastNotification.cpp create mode 100644 widget/windows/ToastNotification.h create mode 100644 widget/windows/ToastNotificationHandler.cpp create mode 100644 widget/windows/ToastNotificationHandler.h create mode 100644 widget/windows/ToastNotificationHeaderOnlyUtils.h create mode 100644 widget/windows/UrlmonHeaderOnlyUtils.h create mode 100644 widget/windows/WidgetTraceEvent.cpp create mode 100644 widget/windows/WinCompositorWidget.cpp create mode 100644 widget/windows/WinCompositorWidget.h create mode 100644 widget/windows/WinCompositorWindowThread.cpp create mode 100644 widget/windows/WinCompositorWindowThread.h create mode 100644 widget/windows/WinEventObserver.cpp create mode 100644 widget/windows/WinEventObserver.h create mode 100644 widget/windows/WinHeaderOnlyUtils.h create mode 100644 widget/windows/WinIMEHandler.cpp create mode 100644 widget/windows/WinIMEHandler.h create mode 100644 widget/windows/WinMessages.h create mode 100644 widget/windows/WinModifierKeyState.h create mode 100644 widget/windows/WinMouseScrollHandler.cpp create mode 100644 widget/windows/WinMouseScrollHandler.h create mode 100644 widget/windows/WinPointerEvents.cpp create mode 100644 widget/windows/WinPointerEvents.h create mode 100644 widget/windows/WinTaskbar.cpp create mode 100644 widget/windows/WinTaskbar.h create mode 100644 widget/windows/WinTextEventDispatcherListener.cpp create mode 100644 widget/windows/WinTextEventDispatcherListener.h create mode 100644 widget/windows/WinUtils.cpp create mode 100644 widget/windows/WinUtils.h create mode 100644 widget/windows/WinWindowOcclusionTracker.cpp create mode 100644 widget/windows/WinWindowOcclusionTracker.h create mode 100644 widget/windows/WindowHook.cpp create mode 100644 widget/windows/WindowHook.h create mode 100644 widget/windows/WindowsConsole.cpp create mode 100644 widget/windows/WindowsConsole.h create mode 100644 widget/windows/WindowsEMF.cpp create mode 100644 widget/windows/WindowsEMF.h create mode 100644 widget/windows/WindowsEventLog.h create mode 100644 widget/windows/WindowsSMTCProvider.cpp create mode 100644 widget/windows/WindowsSMTCProvider.h create mode 100644 widget/windows/WindowsUIUtils.cpp create mode 100644 widget/windows/WindowsUIUtils.h create mode 100644 widget/windows/components.conf create mode 100644 widget/windows/docs/blocklist.rst create mode 100644 widget/windows/docs/index.rst create mode 100644 widget/windows/filedialog/WinFileDialogCommands.cpp create mode 100644 widget/windows/filedialog/WinFileDialogCommands.h create mode 100644 widget/windows/filedialog/WinFileDialogCommandsDefn.ipdlh create mode 100644 widget/windows/filedialog/moz.build create mode 100644 widget/windows/moz.build create mode 100644 widget/windows/nsAppShell.cpp create mode 100644 widget/windows/nsAppShell.h create mode 100644 widget/windows/nsBidiKeyboard.cpp create mode 100644 widget/windows/nsBidiKeyboard.h create mode 100644 widget/windows/nsClipboard.cpp create mode 100644 widget/windows/nsClipboard.h create mode 100644 widget/windows/nsColorPicker.cpp create mode 100644 widget/windows/nsColorPicker.h create mode 100644 widget/windows/nsDataObj.cpp create mode 100644 widget/windows/nsDataObj.h create mode 100644 widget/windows/nsDataObjCollection.cpp create mode 100644 widget/windows/nsDataObjCollection.h create mode 100644 widget/windows/nsDeviceContextSpecWin.cpp create mode 100644 widget/windows/nsDeviceContextSpecWin.h create mode 100644 widget/windows/nsDragService.cpp create mode 100644 widget/windows/nsDragService.h create mode 100644 widget/windows/nsFilePicker.cpp create mode 100644 widget/windows/nsFilePicker.h create mode 100644 widget/windows/nsLookAndFeel.cpp create mode 100644 widget/windows/nsLookAndFeel.h create mode 100644 widget/windows/nsNativeDragSource.cpp create mode 100644 widget/windows/nsNativeDragSource.h create mode 100644 widget/windows/nsNativeDragTarget.cpp create mode 100644 widget/windows/nsNativeDragTarget.h create mode 100644 widget/windows/nsNativeThemeWin.cpp create mode 100644 widget/windows/nsNativeThemeWin.h create mode 100644 widget/windows/nsPrintDialogUtil.cpp create mode 100644 widget/windows/nsPrintDialogUtil.h create mode 100644 widget/windows/nsPrintDialogWin.cpp create mode 100644 widget/windows/nsPrintDialogWin.h create mode 100644 widget/windows/nsPrintSettingsServiceWin.cpp create mode 100644 widget/windows/nsPrintSettingsServiceWin.h create mode 100644 widget/windows/nsPrintSettingsWin.cpp create mode 100644 widget/windows/nsPrintSettingsWin.h create mode 100644 widget/windows/nsPrinterWin.cpp create mode 100644 widget/windows/nsPrinterWin.h create mode 100644 widget/windows/nsSharePicker.cpp create mode 100644 widget/windows/nsSharePicker.h create mode 100644 widget/windows/nsSound.cpp create mode 100644 widget/windows/nsSound.h create mode 100644 widget/windows/nsToolkit.cpp create mode 100644 widget/windows/nsToolkit.h create mode 100644 widget/windows/nsUXThemeConstants.h create mode 100644 widget/windows/nsUXThemeData.cpp create mode 100644 widget/windows/nsUXThemeData.h create mode 100644 widget/windows/nsUserIdleServiceWin.cpp create mode 100644 widget/windows/nsUserIdleServiceWin.h create mode 100644 widget/windows/nsWidgetFactory.cpp create mode 100644 widget/windows/nsWidgetFactory.h create mode 100644 widget/windows/nsWinGesture.cpp create mode 100644 widget/windows/nsWinGesture.h create mode 100644 widget/windows/nsWindow.cpp create mode 100644 widget/windows/nsWindow.h create mode 100644 widget/windows/nsWindowDbg.cpp create mode 100644 widget/windows/nsWindowDbg.h create mode 100644 widget/windows/nsWindowDefs.h create mode 100644 widget/windows/nsWindowGfx.cpp create mode 100644 widget/windows/nsWindowGfx.h create mode 100644 widget/windows/nsWindowLoggedMessages.cpp create mode 100644 widget/windows/nsWindowLoggedMessages.h create mode 100644 widget/windows/nsWindowTaskbarConcealer.cpp create mode 100644 widget/windows/nsWindowTaskbarConcealer.h create mode 100644 widget/windows/nsdefs.h create mode 100644 widget/windows/res/aliasb.cur create mode 100644 widget/windows/res/cell.cur create mode 100644 widget/windows/res/col_resize.cur create mode 100644 widget/windows/res/copy.cur create mode 100644 widget/windows/res/grab.cur create mode 100644 widget/windows/res/grabbing.cur create mode 100644 widget/windows/res/none.cur create mode 100644 widget/windows/res/row_resize.cur create mode 100644 widget/windows/res/select.cur create mode 100644 widget/windows/res/vertical_text.cur create mode 100644 widget/windows/res/zoom_in.cur create mode 100644 widget/windows/res/zoom_out.cur create mode 100644 widget/windows/resource.h create mode 100644 widget/windows/tests/TestUriValidation.cpp create mode 100644 widget/windows/tests/TestUrisToValidate.h create mode 100644 widget/windows/tests/gtest/TestWinDND.cpp create mode 100644 widget/windows/tests/gtest/moz.build create mode 100644 widget/windows/tests/moz.build create mode 100644 widget/windows/tests/unit/test_windows_alert_service.js create mode 100644 widget/windows/tests/unit/xpcshell.ini create mode 100644 widget/windows/touchinjection_sdk80.h create mode 100644 widget/windows/widget.rc create mode 100644 widget/x11/keysym2ucs.c create mode 100644 widget/x11/keysym2ucs.h create mode 100644 widget/x11/moz.build (limited to 'widget') diff --git a/widget/BasicEvents.h b/widget/BasicEvents.h new file mode 100644 index 0000000000..704905a3d2 --- /dev/null +++ b/widget/BasicEvents.h @@ -0,0 +1,1326 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#ifndef mozilla_BasicEvents_h__ +#define mozilla_BasicEvents_h__ + +#include +#include + +#include "mozilla/EventForwards.h" +#include "mozilla/TimeStamp.h" +#include "mozilla/dom/EventTarget.h" +#include "mozilla/layers/LayersTypes.h" +#include "nsCOMPtr.h" +#include "nsAtom.h" +#include "nsISupportsImpl.h" +#include "nsIWidget.h" +#include "nsString.h" +#include "Units.h" + +#ifdef DEBUG +# include "nsXULAppAPI.h" +#endif // #ifdef DEBUG + +class nsIPrincipal; + +namespace IPC { +template +struct ParamTraits; +} // namespace IPC + +namespace mozilla { + +class EventTargetChainItem; + +enum class CrossProcessForwarding { + // eStop prevents the event to be sent to remote process. + eStop, + // eAllow keeps current state of the event whether it's sent to remote + // process. In other words, eAllow does NOT mean that making the event + // sent to remote process when IsCrossProcessForwardingStopped() returns + // true. + eAllow, +}; + +/****************************************************************************** + * mozilla::BaseEventFlags + * + * BaseEventFlags must be a POD struct for safe to use memcpy (including + * in ParamTraits). So don't make virtual methods, constructor, + * destructor and operators. + * This is necessary for VC which is NOT C++0x compiler. + ******************************************************************************/ + +struct BaseEventFlags { + public: + // If mIsTrusted is true, the event is a trusted event. Otherwise, it's + // an untrusted event. + bool mIsTrusted : 1; + // If mInBubblingPhase is true, the event is in bubbling phase or target + // phase. + bool mInBubblingPhase : 1; + // If mInCapturePhase is true, the event is in capture phase or target phase. + bool mInCapturePhase : 1; + // If mInSystemGroup is true, the event is being dispatched in system group. + bool mInSystemGroup : 1; + // If mCancelable is true, the event can be consumed. I.e., calling + // dom::Event::PreventDefault() can prevent the default action. + bool mCancelable : 1; + // If mBubbles is true, the event can bubble. Otherwise, cannot be handled + // in bubbling phase. + bool mBubbles : 1; + // If mPropagationStopped is true, dom::Event::StopPropagation() or + // dom::Event::StopImmediatePropagation() has been called. + bool mPropagationStopped : 1; + // If mImmediatePropagationStopped is true, + // dom::Event::StopImmediatePropagation() has been called. + // Note that mPropagationStopped must be true when this is true. + bool mImmediatePropagationStopped : 1; + // If mDefaultPrevented is true, the event has been consumed. + // E.g., dom::Event::PreventDefault() has been called or + // the default action has been performed. + bool mDefaultPrevented : 1; + // If mDefaultPreventedByContent is true, the event has been + // consumed by content. + // Note that mDefaultPrevented must be true when this is true. + bool mDefaultPreventedByContent : 1; + // If mDefaultPreventedByChrome is true, the event has been + // consumed by chrome. + // Note that mDefaultPrevented must be true when this is true. + bool mDefaultPreventedByChrome : 1; + // mMultipleActionsPrevented may be used when default handling don't want to + // be prevented, but only one of the event targets should handle the event. + // For example, when a