Name Description Size
CFTypeRefPtr.h 5304
ComplexTextInputPanel.h Copyright (C) 2009 Apple Inc. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Modified by Josh Aas of Mozilla Corporation. 1998
ComplexTextInputPanel.mm Copyright (C) 2009 Apple Inc. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Modified by Josh Aas of Mozilla Corporation. 7694
CustomCocoaEvents.h This file defines constants to be used in the "subtype" field of NSApplicationDefined type NSEvents. 660
DesktopBackgroundImage.h 575
DesktopBackgroundImage.mm 2129
GfxInfo.h __mozilla_widget_GfxInfo_h__ 3983
GfxInfo.mm readonly attribute bool HasBattery; 17401
MediaHardwareKeysEventSourceMac.h 1449
MediaHardwareKeysEventSourceMac.mm 5944
MediaHardwareKeysEventSourceMacMediaCenter.h 2026
MediaHardwareKeysEventSourceMacMediaCenter.mm 7005
MediaKeysEventSourceFactory.cpp 718
MediaPlayerWrapper.h 4499
MediaPlayerWrapper.mm 1332
NativeKeyBindings.h 1341
NativeKeyBindings.mm 11742
OSXNotificationCenter.h 2057
OSXNotificationCenter.mm 20078
ProcInfo.mm address 6662
ScreenHelperCocoa.h 918
ScreenHelperCocoa.mm 4798
SwipeTracker.h SwipeTracker turns PanGestureInput events into swipe events (WidgetSimpleGestureEvent) and dispatches them into Gecko. The swiping behavior mirrors the behavior of the Cocoa API -[NSEvent trackSwipeEventWithOptions:dampenAmountThresholdMin:max:usingHandler:]. The advantage of using this class over the Cocoa API is that this class properly supports submitting queued up events to it, and that it hopefully doesn't intermittently break scrolling the way the Cocoa API does (bug 927702). The swipe direction is either left or right. It is determined before the SwipeTracker is created and stays fixed during the swipe. During the swipe, the swipe has a current "value" which is between 0 and the target value. The target value is either 1 (swiping left) or -1 (swiping right) - see SwipeSuccessTargetValue(). A swipe can either succeed or fail. If it succeeds, the swipe animation animates towards the success target value; if it fails, it animates back to a value of 0. A swipe can only succeed if the user is swiping in an allowed direction. (Since both the allowed directions and the swipe direction are known at swipe start time, it's clear from the beginning whether a swipe is doomed to fail. In that case, the purpose of the SwipeTracker is to simulate a bounce-back animation.) 3719
SwipeTracker.mm 7963
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. 52118
TextInputHandler.mm 193325
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. 3892
VibrancyManager.mm static 7239
ViewRegion.h Manages a set of NSViews to cover a LayoutDeviceIntRegion. 1616
ViewRegion.mm 2236
WidgetTraceEvent.mm 2362
components.conf 623
crashtests 13
cursors 34
docs 3
moz.build 4654
mozView.h 2109
nsAppShell.h Runs the main native Cocoa run loop, interrupting it as needed to process Gecko events. 1768
nsAppShell.mm Runs the main native Cocoa run loop, interrupting it as needed to process Gecko events. 35414
nsBidiKeyboard.h 568
nsBidiKeyboard.mm 1116
nsChangeObserver.h 2185
nsChildView.h 24465
nsChildView.mm 182709
nsClipboard.h 2028
nsClipboard.mm 28289
nsCocoaDebugUtils.h 3651
nsCocoaDebugUtils.mm 7755
nsCocoaFeatures.h 2187
nsCocoaFeatures.mm static 6849
nsCocoaUtils.h 19686
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. 55041
nsCocoaWindow.h 16719
nsCocoaWindow.mm 140131
nsColorPicker.h 1218
nsColorPicker.mm static 4384
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. 2689
nsCursorManager.mm ! @category nsCursorManager(PrivateMethods) Private methods for the cursor manager class. 11769
nsDeviceContextSpecX.h 1648
nsDeviceContextSpecX.mm 10705
nsDragService.h 2857
nsDragService.mm 23965
nsFilePicker.h Returns the current filter list in the format used by Cocoa's NSSavePanel and NSOpenPanel. Returns nil if no filter currently apply. 2382
nsFilePicker.mm This class is an observer of NSPopUpButton selection change. 22130
nsIconLoaderObserver.h Called when the nsIconLoaderService finishes loading the icon. To be used as a completion handler for nsIconLoaderService. 781
nsIconLoaderService.h Retrieves and displays icons in native menu items on Mac OS X. 1961
nsIconLoaderService.mm Retrieves and displays icons in native menu items on Mac OS X. 8643
nsLookAndFeel.h 2819
nsLookAndFeel.mm 27025
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. 11961
nsMacDockSupport.h 944
nsMacDockSupport.mm 6736
nsMacFinderProgress.h 613
nsMacFinderProgress.mm 2551
nsMacSharingService.h 599
nsMacSharingService.mm 7281
nsMacWebAppUtils.h 594
nsMacWebAppUtils.mm 3348
nsMenuBarX.h 4977
nsMenuBarX.mm 35258
nsMenuBaseX.h Called when an icon of a menu item somewhere in this menu has updated. Menu objects with parents need to propagate the notification to their parent. 2114
nsMenuGroupOwnerX.h 2022
nsMenuGroupOwnerX.mm 6789
nsMenuItemIconX.h Retrieves and displays icons in native menu items on Mac OS X. 1928
nsMenuItemIconX.mm Retrieves and displays icons in native menu items on Mac OS X. 6664
nsMenuItemX.h 2408
nsMenuItemX.mm 12799
nsMenuUtilsX.h 1174
nsMenuUtilsX.mm 8952
nsMenuX.h 3346
nsMenuX.mm 31260
nsNativeBasicThemeCocoa.cpp 598
nsNativeBasicThemeCocoa.h 568
nsNativeThemeCocoa.h 21911
nsNativeThemeCocoa.mm 170382
nsNativeThemeColors.h { active window, inactive window } 2243
nsPIWidgetCocoa.idl 1178
nsPrintDialogX.h 1634
nsPrintDialogX.mm 21743
nsPrintSettingsServiceX.h These serialize and deserialize methods are not symmetrical in that printSettingsX != deserialize(serialize(printSettingsX)). This is because the native print settings stored in the nsPrintSettingsX's NSPrintInfo object are not fully serialized. Only the values needed for successful printing are. 1809
nsPrintSettingsServiceX.mm 7014
nsPrintSettingsX.h 5133
nsPrintSettingsX.mm Don't save print settings after the user cancels out of the print dialog. For saving print settings after a cancellation to work properly, in addition to changing |mSaveOnCancel|, the print dialog implementation must be updated to save changed settings and serialize them back to the child process. 23708
nsSandboxViolationSink.h 1417
nsSandboxViolationSink.mm 3867
nsSound.h 600
nsSound.mm 1794
nsStandaloneNativeMenu.h 1312
nsStandaloneNativeMenu.mm 5920
nsSystemStatusBarCocoa.h 970
nsSystemStatusBarCocoa.mm 2150
nsToolkit.h 1207
nsToolkit.mm MOZ_USE_NATIVE_POPUP_WINDOWS 8842
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. 4825
nsTouchBar.mm 23203
nsTouchBarInput.h NSObject representation of nsITouchBarInput. 2528
nsTouchBarInput.mm 6541
nsTouchBarInputIcon.h Retrieves and displays icons on the macOS Touch Bar. 2206
nsTouchBarInputIcon.mm Retrieves and displays icons on the macOS Touch Bar. 3987
nsTouchBarNativeAPIDefines.h 3007
nsTouchBarUpdater.h 600
nsTouchBarUpdater.mm 3630
nsUserIdleServiceX.h 920
nsUserIdleServiceX.mm 1966
nsWidgetFactory.mm 9126
nsWindowMap.h 1869
nsWindowMap.mm 9273
resources 1