Name Description Size
components.conf 6800
CustomCocoaEvents.h This file defines constants to be used in the "subtype" field of NSEventTypeApplicationDefined type NSEvents. 669
DesktopBackgroundImage.h 575 2137
GfxInfo.h __mozilla_widget_GfxInfo_h__ 3788 17240
MacThemeGeometryType.h 505
MediaHardwareKeysEventSourceMac.h 1449 5900
MediaHardwareKeysEventSourceMacMediaCenter.h 2135 7629
MediaKeysEventSourceFactory.cpp 568
metrics.yaml 439 4604
MOZIconHelper.h 1041 Creates icons for display in native menu items on macOS. 2163
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. 2355 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. 8276
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. 2123 25641
NativeMenuMac.h 3069 13932 1307
nsAppShell.h Runs the main native Cocoa run loop, interrupting it as needed to process Gecko events. 2605 Runs the main native Cocoa run loop, interrupting it as needed to process Gecko events. 43839
nsBidiKeyboard.h 568 1116
nsChangeObserver.h 3373
nsChildView.h 23198 170886
nsClipboard.h 2499 supportsSelectionClipboard 32343
nsCocoaFeatures.h 1899 static 7518
nsCocoaUtils.h 22773 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 for to be resolved. Each array is protected by a mutex. 66759
nsCocoaWindow.h 18221 137068
nsColorPicker.h 1042 static 4677
nsCursorManager.h ! @class nsCursorManager @abstract Singleton service provides access to all cursors available in the application. @discussion Use <code>nsCusorManager</code> to set the current cursor using an XP <code>nsCusor</code> enum value. <code>nsCursorManager</code> encapsulates the details of setting different types of cursors, animating cursors and cleaning up cursors when they are no longer in use. 2288 ! @category nsCursorManager(PrivateMethods) Private methods for the cursor manager class. 12976
nsDeviceContextSpecX.h 1757 11569
nsDragService.h Cocoa native nsIDragSession implementation 2687 17517
nsFilePicker.h Returns the current filter list in the format used by Cocoa's NSSavePanel and NSOpenPanel. Returns nil if no filter currently apply. 2455 This class is an observer of NSPopUpButton selection change. 22433
nsLookAndFeel.h 1564 24568
nsMacCursor.h ! @class nsMacCursor @abstract Represents a native Mac cursor. @discussion <code>nsMacCursor</code> provides a simple API for creating and working with native Macintosh cursors. Cursors can be created used without needing to be aware of the way different cursors are implemented, in particular the details of managing an animated cursor are hidden. 5589 ! @category nsMacCursor (PrivateMethods) @abstract Private methods internal to the nsMacCursor class. @discussion <code>nsMacCursor</code> is effectively an abstract class. It does not define complete behaviour in and of itself, the subclasses defined in this file provide the useful implementations. 12281
nsMacDockSupport.h 944 14534
nsMacFinderProgress.h 613 2681
nsMacSharingService.h 599 7383
nsMacUserActivityUpdater.h 663 1977
nsMacWebAppUtils.h 594 3296
nsMenuBarX.h 5619 38166
nsMenuGroupOwnerX.h 3243 8016
nsMenuItemIconX.h Retrieves and displays icons in native menu items on Mac OS X. 2196 Retrieves and displays icons in native menu items on Mac OS X. 4717
nsMenuItemX.h 3287 15396
nsMenuParentX.h 1095
nsMenuUtilsX.h 2180 11414
nsMenuX.h 12525 46461
nsNativeThemeCocoa.h 14244 110932
nsNativeThemeColors.h 787
nsPrintDialogX.h 1622 aWithScaling = 22363
nsPrintSettingsServiceX.h 1001 2339
nsPrintSettingsX.h 4242 13559
nsSandboxViolationSink.h 1417 4035
nsSound.h 600 1743
nsStandaloneNativeMenu.h 744 1845
nsSystemStatusBarCocoa.h 1007 2096
nsToolkit.h 1207 9277
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 23207
nsTouchBarInput.h NSObject representation of nsITouchBarInput. 2786 6488
nsTouchBarInputIcon.h Retrieves and displays icons on the macOS Touch Bar. 2215 Retrieves and displays icons on the macOS Touch Bar. 4403
nsTouchBarUpdater.h 600 3458
nsUserIdleServiceX.h 1130 1907
nsWidgetFactory.h 1262 4015
nsWindowMap.h 1887 8904
OSXNotificationCenter.h 1921 20163
ScreenHelperCocoa.h 918 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. 53097 196841 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. 2737 3096
ViewRegion.h Manages a set of NSViews to cover a LayoutDeviceIntRegion. 1643 2206 2371