Name Description Size
AppearanceOverride.h 763
AppearanceOverride.mm 3040
CFTypeRefPtr.h 5304
components.conf 6798
crashtests
cursors
CustomCocoaEvents.h This file defines constants to be used in the "subtype" field of NSEventTypeApplicationDefined type NSEvents. 669
DesktopBackgroundImage.h 575
DesktopBackgroundImage.mm 2129
docs
GfxInfo.h __mozilla_widget_GfxInfo_h__ 3788
GfxInfo.mm 16542
MacThemeGeometryType.h 749
MediaHardwareKeysEventSourceMac.h 1449
MediaHardwareKeysEventSourceMac.mm 5953
MediaHardwareKeysEventSourceMacMediaCenter.h 2101
MediaHardwareKeysEventSourceMacMediaCenter.mm 7557
MediaKeysEventSourceFactory.cpp 718
metrics.yaml 952
moz.build 4760
MOZIconHelper.h 1010
MOZIconHelper.mm Creates icons for display in native menu items on macOS. 2319
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. 2286
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. 7260
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
NativeKeyBindings.mm 25231
NativeMenuMac.h 2993
NativeMenuMac.mm 13753
NativeMenuSupport.mm 1225
nsAppShell.h Runs the main native Cocoa run loop, interrupting it as needed to process Gecko events. 2495
nsAppShell.mm Runs the main native Cocoa run loop, interrupting it as needed to process Gecko events. 42178
nsBidiKeyboard.h 568
nsBidiKeyboard.mm 1116
nsChangeObserver.h 3373
nsChildView.h 23405
nsChildView.mm 170591
nsClipboard.h 2560
nsClipboard.mm 30340
nsCocoaFeatures.h 2151
nsCocoaFeatures.mm static 8009
nsCocoaUtils.h 22605
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 for to be resolved. Each array is protected by a mutex. 69685
nsCocoaWindow.h 19016
nsCocoaWindow.mm 152989
nsColorPicker.h 1042
nsColorPicker.mm static 4522
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. 2235
nsCursorManager.mm ! @category nsCursorManager(PrivateMethods) Private methods for the cursor manager class. 11677
nsDeviceContextSpecX.h 1729
nsDeviceContextSpecX.mm 11350
nsDragService.h 2270
nsDragService.mm 17016
nsFilePicker.h Returns the current filter list in the format used by Cocoa's NSSavePanel and NSOpenPanel. Returns nil if no filter currently apply. 2429
nsFilePicker.mm This class is an observer of NSPopUpButton selection change. 22303
nsLookAndFeel.h 1563
nsLookAndFeel.mm 25426
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. 5558
nsMacCursor.mm ! @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. 11953
nsMacDockSupport.h 944
nsMacDockSupport.mm 14446
nsMacFinderProgress.h 613
nsMacFinderProgress.mm 2585
nsMacSharingService.h 599
nsMacSharingService.mm 7427
nsMacUserActivityUpdater.h 663
nsMacUserActivityUpdater.mm 1923
nsMacWebAppUtils.h 594
nsMacWebAppUtils.mm 3354
nsMenuBarX.h 5453
nsMenuBarX.mm 36301
nsMenuGroupOwnerX.h 3168
nsMenuGroupOwnerX.mm 7829
nsMenuItemIconX.h Retrieves and displays icons in native menu items on Mac OS X. 2196
nsMenuItemIconX.mm Retrieves and displays icons in native menu items on Mac OS X. 4817
nsMenuItemX.h 3287
nsMenuItemX.mm 14240
nsMenuParentX.h 1095
nsMenuUtilsX.h 2135
nsMenuUtilsX.mm 11256
nsMenuX.h 12346
nsMenuX.mm 45883
nsNativeThemeCocoa.h 17582
nsNativeThemeCocoa.mm 136936
nsNativeThemeColors.h { active window, inactive window } 2352
nsPIWidgetCocoa.idl 1178
nsPrintDialogX.h 1600
nsPrintDialogX.mm aWithScaling = 22221
nsPrintSettingsServiceX.h 1001
nsPrintSettingsServiceX.mm 2323
nsPrintSettingsX.h 4214
nsPrintSettingsX.mm 13358
nsSandboxViolationSink.h 1417
nsSandboxViolationSink.mm 3844
nsSound.h 600
nsSound.mm 1798
nsStandaloneNativeMenu.h 744
nsStandaloneNativeMenu.mm 1825
nsSystemStatusBarCocoa.h 1007
nsSystemStatusBarCocoa.mm 2092
nsToolkit.h 1207
nsToolkit.mm 8862
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. 4916
nsTouchBar.mm 22764
nsTouchBarInput.h NSObject representation of nsITouchBarInput. 2776
nsTouchBarInput.mm 6363
nsTouchBarInputIcon.h Retrieves and displays icons on the macOS Touch Bar. 2255
nsTouchBarInputIcon.mm Retrieves and displays icons on the macOS Touch Bar. 4428
nsTouchBarNativeAPIDefines.h 2359
nsTouchBarUpdater.h 600
nsTouchBarUpdater.mm 3630
nsUserIdleServiceX.h 889
nsUserIdleServiceX.mm 1917
nsWidgetFactory.h 1262
nsWidgetFactory.mm 4015
nsWindowMap.h 1881
nsWindowMap.mm 9288
OSXNotificationCenter.h 1903
OSXNotificationCenter.mm 19647
resources
ScreenHelperCocoa.h 918
ScreenHelperCocoa.mm 5716
SDKDeclarations.h This file contains header declarations from SDKs more recent than the minimum macOS SDK which we require for building Firefox, which is currently the macOS 10.12 SDK. 4617
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. 52000
TextInputHandler.mm 194495
TextRecognition.mm 5055
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. 3512
VibrancyManager.mm static 4909
ViewRegion.h Manages a set of NSViews to cover a LayoutDeviceIntRegion. 1616
ViewRegion.mm 2236
WidgetTraceEvent.mm 2371