gecko-dev/widget/cocoa
Emilio Cobos Álvarez de7b391af7 Bug 1749645 - Rename nsNativeBasicTheme{,Cocoa} to Theme{,Cocoa}. r=mstange
We have this situation right now where all the themes are inheriting from
nsNativeBasicTheme. Rename it to a nicer name, and clean up some code while at
it.

In the future I'd like to simplify the inheritance chain to remove
nsNativeTheme altogether (so that all nsITheme implementations use
mozilla::widget::Theme).

That's not hard to do mechanically, but rather than dumping all of
nsNativeTheme into Theme I'd like to do it a bit more carefully, to hopefully
remove a lot of the helpers that nsNativeTheme has to deal with XUL and so on
and use something nicer. Eventually the inheritance chain will be something
like:

 * nsITheme : public nsISupports
 * Theme : public nsITheme, public nsITimerCallback, public nsINamed
 * ThemeCocoa : public Theme
 * nsNativeThemeCocoa : public ThemeCocoa
 * nsNativeThemeWin : public Theme
 * nsNativeThemeGtk : public Theme

Differential Revision: https://phabricator.services.mozilla.com/D135668
2022-01-12 16:33:31 +00:00
..
crashtests
cursors
docs Bug 1748904 - Fix use of now-obsolete eval_rst directives in docs r=firefox-source-docs-reviewers,ahal DONTBUILD 2022-01-06 20:21:24 +00:00
resources/MainMenu.nib
AppearanceOverride.h Bug 1736078 - Remove widget.macos.support-dark-appearance. r=mstange 2021-10-15 18:53:53 +00:00
AppearanceOverride.mm Bug 1736078 - Remove widget.macos.support-dark-appearance. r=mstange 2021-10-15 18:53:53 +00:00
CFTypeRefPtr.h
components.conf
CustomCocoaEvents.h
DesktopBackgroundImage.h
DesktopBackgroundImage.mm
GfxInfo.h
GfxInfo.mm Bug 1724794 - Remove Software WebRender allow/blocklist plumbing. r=gfx-reviewers,jrmuizel 2021-08-11 14:07:02 +00:00
MacThemeGeometryType.h
MediaHardwareKeysEventSourceMac.h
MediaHardwareKeysEventSourceMac.mm
MediaHardwareKeysEventSourceMacMediaCenter.h
MediaHardwareKeysEventSourceMacMediaCenter.mm
MediaKeysEventSourceFactory.cpp
moz.build Bug 1348786 - Move SwipeTracker class as reusable for other platforms. r=tnikkel 2022-01-05 09:08:05 +00:00
MOZIconHelper.h
MOZIconHelper.mm
MOZMenuOpeningCoordinator.h Bug 1746955 - Make macOS context menus respect the color-scheme CSS property. r=mac-reviewers,mstange 2021-12-29 21:52:02 +00:00
MOZMenuOpeningCoordinator.mm Bug 1519636 - Reformat recent changes to the Google coding style. r=sylvestre 2022-01-11 15:49:03 +00:00
mozView.h
NativeKeyBindings.h
NativeKeyBindings.mm
NativeMenuMac.h Bug 1519636 - Reformat recent changes to the Google coding style. r=sylvestre 2022-01-11 15:49:03 +00:00
NativeMenuMac.mm Bug 1746955 - Make macOS context menus respect the color-scheme CSS property. r=mac-reviewers,mstange 2021-12-29 21:52:02 +00:00
NativeMenuSupport.h
NativeMenuSupport.mm Bug 1719939 - remove proton pref from static pref list and its last C++ consumer, r=mstange 2021-12-22 21:41:41 +00:00
nsAppShell.h Bug 1722261 - Use ProfilingStack inside ThreadRegistrationData - r=canaltinova 2021-08-24 04:47:15 +00:00
nsAppShell.mm Bug 1731501 - Use setActivationPolicy to hide dock icon on OSX r=mstange 2021-10-17 19:00:12 +00:00
nsBidiKeyboard.h
nsBidiKeyboard.mm
nsChangeObserver.h
nsChildView.h Bug 1348786 - Move SendMayStartSwipe() into nsBaseWidget. r=tnikkel 2022-01-05 09:08:07 +00:00
nsChildView.mm Bug 1663508: Collect information about threads that are used during drag sessions on macOS (nightly-only). r=mstange 2022-01-11 21:24:04 +00:00
nsClipboard.h
nsClipboard.mm
nsCocoaFeatures.h Bug 1722833 - Add nsCocoaFeatures::OnMontereyOrLater(). r=mac-reviewers,spohl 2021-10-18 21:29:42 +00:00
nsCocoaFeatures.mm Bug 1722833 - Add nsCocoaFeatures::OnMontereyOrLater(). r=mac-reviewers,spohl 2021-10-18 21:29:42 +00:00
nsCocoaUtils.h Bug 1722758 - Patch 4 - Encode additional characters in the URL required for NSURL compatiblity r=mac-reviewers,mstange 2021-08-20 18:54:04 +00:00
nsCocoaUtils.mm Bug 1722758 - Patch 4 - Encode additional characters in the URL required for NSURL compatiblity r=mac-reviewers,mstange 2021-08-20 18:54:04 +00:00
nsCocoaWindow.h Bug 1736675 - Make sure to only override color-scheme on widgets if the color-scheme property says so. r=mstange 2021-10-19 19:22:35 +00:00
nsCocoaWindow.mm Bug 1748640 - Revert behavior change from bug 1737831 on notch-less macbooks, and add a pref to control this behavior. r=mac-reviewers,bradwerth 2022-01-11 23:15:44 +00:00
nsColorPicker.h
nsColorPicker.mm
nsCursorManager.h
nsCursorManager.mm Bug 1739352 - Make sure to set mCurrentMacCursor if needed. r=mstange 2021-11-10 10:20:45 +00:00
nsDeviceContextSpecX.h
nsDeviceContextSpecX.mm
nsDragService.h
nsDragService.mm Bug 1663508: Collect information about threads that are used during drag sessions on macOS (nightly-only). r=mstange 2022-01-11 21:24:04 +00:00
nsFilePicker.h
nsFilePicker.mm
nsLookAndFeel.h Bug 1633860: Place window control buttons on the right side on macOS when using an RTL system locale, regardless of the Firefox locale. r=mstange,emilio,harry 2021-09-22 18:51:20 +00:00
nsLookAndFeel.mm Bug 1745360 - Back out one patch from bug bug 1743600 which was drive-by and apparently not correct in all macOS versions. 2021-12-15 13:13:49 +00:00
nsMacCursor.h
nsMacCursor.mm
nsMacDockSupport.h
nsMacDockSupport.mm Bug 1728580: Support replacing of an existing Dock icon during pinning on macOS if the first icon is pointing to an app inside a DMG. r=mstange 2021-09-02 16:48:38 +00:00
nsMacFinderProgress.h
nsMacFinderProgress.mm
nsMacSharingService.h
nsMacSharingService.mm Bug 1525788 - Support sending Handoff. r=mstange,Gijs 2021-11-02 18:08:08 +00:00
nsMacUserActivityUpdater.h Bug 1525788 - Support sending Handoff. r=mstange,Gijs 2021-11-02 18:08:08 +00:00
nsMacUserActivityUpdater.mm Bug 1740513 - Don't attempt macOS Handoff in headless mode. r=mstange 2021-11-24 23:10:35 +00:00
nsMacWebAppUtils.h
nsMacWebAppUtils.mm
nsMenuBarX.h
nsMenuBarX.mm Bug 1741148 - part 3: Make users of nsINode::ComputeIndexOf_Deprecated() use nsINode::ComputeIndexOf() if the result is not set to int32_t nor return as int32_t r=smaug 2021-12-09 11:55:36 +00:00
nsMenuGroupOwnerX.h
nsMenuGroupOwnerX.mm
nsMenuItemIconX.h
nsMenuItemIconX.mm Bug 1723921 - Cleanup nsComputedDOMStyle and related APIs. r=layout-reviewers,jfkthame 2021-08-07 09:47:15 +00:00
nsMenuItemX.h
nsMenuItemX.mm
nsMenuParentX.h
nsMenuUtilsX.h
nsMenuUtilsX.mm
nsMenuX.h Bug 1539884 - Part 35: Mark relevant nsMenuX methods to CAN_RUN_SCRIPT r=masayuki 2021-12-23 16:27:25 +00:00
nsMenuX.mm Bug 1539884 - Part 35: Mark relevant nsMenuX methods to CAN_RUN_SCRIPT r=masayuki 2021-12-23 16:27:25 +00:00
nsNativeThemeCocoa.h Bug 1749645 - Rename nsNativeBasicTheme{,Cocoa} to Theme{,Cocoa}. r=mstange 2022-01-12 16:33:31 +00:00
nsNativeThemeCocoa.mm Bug 1749645 - Rename nsNativeBasicTheme{,Cocoa} to Theme{,Cocoa}. r=mstange 2022-01-12 16:33:31 +00:00
nsNativeThemeColors.h Bug 1746955 - Make macOS context menus respect the color-scheme CSS property. r=mac-reviewers,mstange 2021-12-29 21:52:02 +00:00
nsPIWidgetCocoa.idl
nsPrintDialogX.h
nsPrintDialogX.mm
nsPrintSettingsServiceX.h
nsPrintSettingsServiceX.mm
nsPrintSettingsX.h
nsPrintSettingsX.mm Bug 1740421. Fix print-to-PDF on Mac OS X 10.12 (e.g. printing with no printers installed). r=jfkthame 2021-11-29 14:19:19 +00:00
nsSandboxViolationSink.h
nsSandboxViolationSink.mm
nsSound.h
nsSound.mm
nsStandaloneNativeMenu.h Bug 1737620 - Fix misc errors in unified builds. r=mstange 2021-10-28 14:31:54 +00:00
nsStandaloneNativeMenu.mm
nsSystemStatusBarCocoa.h
nsSystemStatusBarCocoa.mm
nsToolkit.h
nsToolkit.mm
nsTouchBar.h
nsTouchBar.mm
nsTouchBarInput.h
nsTouchBarInput.mm
nsTouchBarInputIcon.h
nsTouchBarInputIcon.mm Bug 1737620 - Fix misc errors in unified builds. r=mstange 2021-10-28 14:31:54 +00:00
nsTouchBarNativeAPIDefines.h
nsTouchBarUpdater.h
nsTouchBarUpdater.mm
nsUserIdleServiceX.h
nsUserIdleServiceX.mm
nsWidgetFactory.mm Bug 1525788 - Support sending Handoff. r=mstange,Gijs 2021-11-02 18:08:08 +00:00
nsWindowMap.h
nsWindowMap.mm
OSXNotificationCenter.h
OSXNotificationCenter.mm
ScreenHelperCocoa.h
ScreenHelperCocoa.mm Bug 1700370 - Don't use ScreenManager after shutdown phase is started. r=gsvelto 2021-12-09 12:13:28 +00:00
SDKDeclarations.h Bug 1737831 - Also detect when the screen has a notch and, if so, don't shift by the menubar height either. r=mac-reviewers,mstange 2021-12-27 13:00:16 +00:00
TextInputHandler.h
TextInputHandler.mm Bug 1744907 - Rename all IME log module name to IMEHandler and all keyboard log module name to KeyboardHandler on desktop environment r=m_kato 2021-12-09 02:31:26 +00:00
VibrancyManager.h
VibrancyManager.mm
ViewRegion.h
ViewRegion.mm
WidgetTraceEvent.mm