Name Description Size Coverage
CocoaCompositorWidget.cpp 2441 -
CocoaCompositorWidget.h 1748 -
components.conf 6800 -
CompositorWidgetChild.cpp 1482 -
CompositorWidgetChild.h 1538 -
CompositorWidgetParent.cpp 1537 -
CompositorWidgetParent.h 1414 -
crashtests -
cursors -
CustomCocoaEvents.h This file defines constants to be used in the "subtype" field of NSEventTypeApplicationDefined type NSEvents. 569 -
DesktopBackgroundImage.h 575 -
DesktopBackgroundImage.mm 2137 -
docs -
GfxInfo.h _mozilla_widget_GfxInfo_h_ 4294 -
GfxInfo.mm 18234 -
MacThemeGeometryType.h 505 -
MediaHardwareKeysEventSourceMac.h 1458 -
MediaHardwareKeysEventSourceMac.mm 5733 -
MediaHardwareKeysEventSourceMacMediaCenter.h 2342 -
MediaHardwareKeysEventSourceMacMediaCenter.mm 12005 -
MediaKeysEventSourceFactory.cpp 568 -
metrics.yaml 1118 -
moz.build 4791 -
MOZDynamicCursor.h 1348 -
MOZDynamicCursor.mm 10404 -
MOZIconHelper.h 1013 -
MOZIconHelper.mm Creates icons for display in native menu items on macOS. 2056 -
MOZMenuOpeningCoordinator.h MOZMenuOpeningCoordinator is a workaround for the fact that opening an NSMenu creates a nested event loop. This event loop is only exited after the menu is closed. The caller of NativeMenuMac::ShowAsContextMenu does not expect ShowAsContextMenu to create a nested event loop, so we need to make sure to open the NSMenu asynchronously. 2326 -
MOZMenuOpeningCoordinator.mm Makes sure that the nested event loop for NSMenu tracking is situated as low on the stack as possible, and that two NSMenu event loops are never nested. 8311 -
mozView.h 2109 -
NativeKeyBindings.h GetEditCommandsForTests() returns commands performed in native widget in typical environment. I.e., this does NOT refer customized shortcut key mappings of the environment. 2091 -
NativeKeyBindings.mm 26550 -
NativeMenuMac.h 3069 -
NativeMenuMac.mm 14000 -
NativeMenuSupport.mm 1395 -
nsAppShell.h Runs the main native Cocoa run loop, interrupting it as needed to process Gecko events. 2605 -
nsAppShell.mm Runs the main native Cocoa run loop, interrupting it as needed to process Gecko events. 43640 -
nsBidiKeyboard.h 568 -
nsBidiKeyboard.mm 1116 -
nsChangeObserver.h 3343 -
nsChildView.h 9826 -
nsClipboard.h 2543 -
nsClipboard.mm supportsSelectionClipboard 32564 -
nsCocoaFeatures.h 1927 -
nsCocoaFeatures.mm static 7816 -
nsCocoaUtils.h 22823 -
nsCocoaUtils.mm For each audio and video capture request, we hold an owning reference to a promise to be resolved when the request's async callback is invoked. sVideoCapturePromises and sAudioCapturePromises are arrays of video and audio promises waiting to be resolved. Each array is protected by a mutex. 68601 -
nsCocoaWindow.h 26237 -
nsCocoaWindow.mm 289956 -
nsColorPicker.h 1065 -
nsColorPicker.mm static 4471 -
nsDeviceContextSpecX.h 1757 -
nsDeviceContextSpecX.mm 11475 -
nsDragService.h Cocoa native nsIDragSession implementation 2687 -
nsDragService.mm 17497 -
nsFilePicker.h Returns the current filter list in the format used by Cocoa's NSSavePanel and NSOpenPanel. Returns nil if no filter currently apply. 2547 -
nsFilePicker.mm This class is an observer of NSPopUpButton selection change. 23942 -
nsLookAndFeel.h 1512 -
nsLookAndFeel.mm 24864 -
nsMacDockSupport.h 1153 -
nsMacDockSupport.mm 18116 -
nsMacFinderProgress.h 611 -
nsMacFinderProgress.mm 2664 -
nsMacSharingService.h 599 -
nsMacSharingService.mm 7286 -
nsMacUserActivityUpdater.h 663 -
nsMacUserActivityUpdater.mm 1944 -
nsMacWebAppUtils.h 592 -
nsMacWebAppUtils.mm 3296 -
nsMenuBarX.h 5491 -
nsMenuBarX.mm 39807 -
nsMenuGroupOwnerX.h 3342 -
nsMenuGroupOwnerX.mm 9194 -
nsMenuItemIconX.h Retrieves and displays icons in native menu items on Mac OS X. 2067 -
nsMenuItemIconX.mm Retrieves and displays icons in native menu items on Mac OS X. 3505 -
nsMenuItemX.h 3353 -
nsMenuItemX.mm 15594 -
nsMenuParentX.h 1173 -
nsMenuUtilsX.h 2180 -
nsMenuUtilsX.mm 12203 -
nsMenuX.h 12648 -
nsMenuX.mm 47247 -
nsNativeThemeCocoa.h 8216 -
nsNativeThemeCocoa.mm 67782 -
nsNativeThemeColors.h 787 -
nsPrintDialogX.h 1540 -
nsPrintDialogX.mm aWithScaling = 22367 -
nsPrintSettingsServiceX.h 1001 -
nsPrintSettingsServiceX.mm 2339 -
nsPrintSettingsX.h 4165 -
nsPrintSettingsX.mm 13249 -
nsSandboxViolationSink.h 1417 -
nsSandboxViolationSink.mm 4035 -
nsSound.h 600 -
nsSound.mm 1743 -
nsStandaloneNativeMenu.h 744 -
nsStandaloneNativeMenu.mm 1845 -
nsSystemStatusBarCocoa.h 1007 -
nsSystemStatusBarCocoa.mm 2061 -
nsToolkit.h 1207 -
nsToolkit.mm 9141 -
nsTouchBar.h Our TouchBar is its own delegate. This is adequate for our purposes, since the current implementation only defines Touch Bar buttons for the main Firefox window. If modals and other windows were to have custom Touch Bar views, each window would have to be a NSTouchBarDelegate so they could define their own custom sets of buttons. 4862 -
nsTouchBar.mm 23207 -
nsTouchBarInput.h NSObject representation of nsITouchBarInput. 2786 -
nsTouchBarInput.mm 6488 -
nsTouchBarInputIcon.h Retrieves and displays icons on the macOS Touch Bar. 2215 -
nsTouchBarInputIcon.mm Retrieves and displays icons on the macOS Touch Bar. 4361 -
nsTouchBarUpdater.h 600 -
nsTouchBarUpdater.mm 3425 -
nsUserIdleServiceX.h 1130 -
nsUserIdleServiceX.mm 1907 -
nsWidgetFactory.h 1387 -
nsWidgetFactory.mm 4015 -
nsWindowMap.h 1887 -
nsWindowMap.mm 8904 -
OSXNotificationCenter.h 1616 -
OSXNotificationCenter.mm 15077 -
PCompositorWidget.ipdl 802 -
PlatformWidgetTypes.ipdlh 765 -
resources -
ScreenHelperCocoa.h 918 -
ScreenHelperCocoa.mm 6772 -
TextInputHandler.h TISInputSourceWrapper is a wrapper for the TISInputSourceRef. If we get the TISInputSourceRef from InputSourceID, we need to release the CFArray instance which is returned by TISCreateInputSourceList. However, when we release the list, we cannot access the TISInputSourceRef. So, it's not usable, and it may cause the memory leak bugs. nsTISInputSource automatically releases the list when the instance is destroyed. 54989 -
TextInputHandler.mm 211853 -
TextRecognition.mm 5119 -
VibrancyManager.h VibrancyManager takes care of updating the vibrant regions of a window. Vibrancy is a visual look that was introduced on OS X starting with 10.10. An app declares vibrant window regions to the window server, and the window server will display a blurred rendering of the screen contents from behind the window in these areas, behind the actual window contents. Consequently, the effect is only visible in areas where the window contents are not completely opaque. Usually this is achieved by clearing the background of the window prior to drawing in the vibrant areas. This is possible even if the window is declared as opaque. 2768 -
VibrancyManager.mm 3958 -
ViewRegion.h Manages a set of NSViews to cover a LayoutDeviceIntRegion. 1951 -
ViewRegion.mm 2070 -