gecko-dev/widget/cocoa
Emilio Cobos Álvarez f445abd8f8 Bug 1746951 - Remove no-longer-needed workaround for native menus in dark mode. r=mstange,mac-reviewers
All this was introduced to make native context menus dark if necessary when
widget.macos.respect-system-appearance was false by default in bug 1704102, but
we have since enabled it and removed the preference so this is no longer
needed.

Differential Revision: https://phabricator.services.mozilla.com/D134333
2021-12-27 12:34:22 +00:00
..
crashtests
cursors
docs
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 Bug 1686616 - register all Services.py services with components.conf. r=kmag,necko-reviewers,valentin 2021-02-18 13:26:28 +00:00
CustomCocoaEvents.h
DesktopBackgroundImage.h
DesktopBackgroundImage.mm
GfxInfo.h Bug 1680512 - Prefer EGL for glxtest detection and fallback to GLX if unavailable. r=rmader 2021-01-25 19:41:04 +00:00
GfxInfo.mm Bug 1724794 - Remove Software WebRender allow/blocklist plumbing. r=gfx-reviewers,jrmuizel 2021-08-11 14:07:02 +00:00
MacThemeGeometryType.h Bug 1697338 - Remove unused -moz-default-appearance values -moz-mac-vibrancy-light/dark, and the system colors of the same name. r=emilio 2021-03-17 16:50:08 +00:00
MediaHardwareKeysEventSourceMac.h
MediaHardwareKeysEventSourceMac.mm Bug 1692661 - Replace deprecated enum constant NSSystemDefined with NSEventTypeSystemDefined in MediaHardwareKeysEventSourceMac.mm r=mstange 2021-02-13 18:11:57 +00:00
MediaHardwareKeysEventSourceMacMediaCenter.h
MediaHardwareKeysEventSourceMacMediaCenter.mm
MediaKeysEventSourceFactory.cpp
moz.build Bug 1029974 - Move frameworks from TK_LIBS to moz.build. r=firefox-build-system-reviewers,mhentges 2021-12-22 03:58:34 +00:00
MOZIconHelper.h Bug 1701121 - Support SVG context paint properties for native menu icons. r=emilio 2021-03-26 02:11:14 +00:00
MOZIconHelper.mm Bug 1701121 - Support SVG context paint properties for native menu icons. r=emilio 2021-03-26 02:11:14 +00:00
MOZMenuOpeningCoordinator.h Bug 1717129 - Don't call into the native event loop while waiting to unwind into the NSMenu tracking event loop after closing a menu. r=harry 2021-06-21 17:18:43 +00:00
MOZMenuOpeningCoordinator.mm Bug 1746951 - Remove no-longer-needed workaround for native menus in dark mode. r=mstange,mac-reviewers 2021-12-27 12:34:22 +00:00
mozView.h
NativeKeyBindings.h Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
NativeKeyBindings.mm Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
NativeMenuMac.h Bug 1705120 - Notify nsMenuX observers when a menu item is about to be activated, and supply the activated DOM element. r=harry 2021-05-07 17:00:20 +00:00
NativeMenuMac.mm Bug 1717129 - Don't call into the native event loop while waiting to unwind into the NSMenu tracking event loop after closing a menu. r=harry 2021-06-21 17:18:43 +00:00
NativeMenuSupport.h Bug 1707869: Introduce helper to detect when native context menus are enabled via prefs on macOS. r=mstange 2021-04-27 20:44:37 +00:00
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 Bug 1698662 - Improve comments on nsChangeObserver. r=harry 2021-03-18 02:30:37 +00:00
nsChildView.h Bug 1732694: Prevent NativeLayerRootCA from isolating video layers while mouse is moving. r=mstange 2021-10-20 22:40:26 +00:00
nsChildView.mm Bug 1745649 - Consistently ignore wheel deltas on MayBegin and Cancelled events. r=mac-reviewers,spohl,bradwerth 2021-12-14 17:52:56 +00:00
nsClipboard.h Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
nsClipboard.mm Bug 1689992: part 1) When copying an image, add the image data before other data to the transferable and macOS's pasteboard. r=masayuki 2021-02-19 09:04:35 +00:00
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 1745131 - Avoid implicit fallthrough in cocoa widget code. r=spohl 2021-12-13 22:26:42 +00:00
nsColorPicker.h
nsColorPicker.mm
nsCursorManager.h Bug 1705877 - Introduce nsIWidget::Cursor. r=dholbert 2021-04-20 09:47:32 +00:00
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 Bug 1692391 - Rename NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK macros, replacing ABORT with IGNORE. These macros just log the exception and move on, without aborting. r=haik 2021-02-16 22:55:21 +00:00
nsDragService.h
nsDragService.mm Bug 1692391 - Replace NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_NIL with the functionally identical NS_OBJC_BEGIN/END_TRY_BLOCK_RETURN(nil). r=haik 2021-02-16 22:55:21 +00:00
nsFilePicker.h
nsFilePicker.mm Bug 1692391 - Rename NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK macros, replacing ABORT with IGNORE. These macros just log the exception and move on, without aborting. r=haik 2021-02-16 22:55:21 +00:00
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 Bug 1692391 - Rename NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK macros, replacing ABORT with IGNORE. These macros just log the exception and move on, without aborting. r=haik 2021-02-16 22:55:21 +00:00
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 Bug 1692391 - Replace the NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_NSRESULT macros with the functionally identical NS_OBJC_BEGIN/END_TRY_BLOCK_RETURN(NS_ERROR_FAILURE). r=haik 2021-02-16 22:55:20 +00:00
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 Bug 1692391 - Replace the NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_NSRESULT macros with the functionally identical NS_OBJC_BEGIN/END_TRY_BLOCK_RETURN(NS_ERROR_FAILURE). r=haik 2021-02-16 22:55:20 +00:00
nsMenuBarX.h Bug 1705842 - Combine the two methods and properly update mVisibleItemsCount, and add some asserts. r=harry 2021-04-19 23:08:33 +00:00
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 Bug 1699792 - Move nsMenuGroupOwnerX::Create into the constructor. r=harry 2021-03-23 13:40:33 +00:00
nsMenuGroupOwnerX.mm Bug 1699792 - Move nsMenuGroupOwnerX::Create into the constructor. r=harry 2021-03-23 13:40:33 +00:00
nsMenuItemIconX.h Bug 1701121 - Support SVG context paint properties for native menu icons. r=emilio 2021-03-26 02:11:14 +00:00
nsMenuItemIconX.mm Bug 1723921 - Cleanup nsComputedDOMStyle and related APIs. r=layout-reviewers,jfkthame 2021-08-07 09:47:15 +00:00
nsMenuItemX.h Bug 1704883 - Report which mouse button was used to click items in native menus. r=harry 2021-04-21 03:45:27 +00:00
nsMenuItemX.mm Bug 1704883 - Report which mouse button was used to click items in native menus. r=harry 2021-04-21 03:45:27 +00:00
nsMenuParentX.h Bug 1705842 - Combine the two methods and properly update mVisibleItemsCount, and add some asserts. r=harry 2021-04-19 23:08:33 +00:00
nsMenuUtilsX.h Bug 1704883 - Report which mouse button was used to click items in native menus. r=harry 2021-04-21 03:45:27 +00:00
nsMenuUtilsX.mm Bug 1704883 - Report which mouse button was used to click items in native menus. r=harry 2021-04-21 03:45:27 +00:00
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 1741495 - Make ThemeDrawsFocusForWidget return the right thing when drawing non-native widgets on Linux and Windows. r=spohl 2021-11-17 00:55:26 +00:00
nsNativeThemeCocoa.mm Bug 1745131 - Avoid implicit fallthrough in cocoa widget code. r=spohl 2021-12-13 22:26:42 +00:00
nsNativeThemeColors.h Bug 1702876 - Remove caching from macOS nsLookAndFeel, and add an NSAppearanceForColorScheme function. r=emilio 2021-04-04 15:48:00 +00:00
nsPIWidgetCocoa.idl
nsPrintDialogX.h
nsPrintDialogX.mm Bug 1692391 - Replace the NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_NSRESULT macros with the functionally identical NS_OBJC_BEGIN/END_TRY_BLOCK_RETURN(NS_ERROR_FAILURE). r=haik 2021-02-16 22:55:20 +00:00
nsPrintSettingsServiceX.h
nsPrintSettingsServiceX.mm Bug 1692845 - Restore read from global print settings for a few settings, including print_bgcolor and print_bgimages. r=bobowen 2021-02-23 10:52:53 +00:00
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 Bug 1691168 - Remove nsCocoaDebugUtils. r=spohl 2021-02-09 21:17:18 +00:00
nsSound.h
nsSound.mm Bug 1692391 - Replace the NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_NSRESULT macros with the functionally identical NS_OBJC_BEGIN/END_TRY_BLOCK_RETURN(NS_ERROR_FAILURE). r=haik 2021-02-16 22:55:20 +00:00
nsStandaloneNativeMenu.h Bug 1737620 - Fix misc errors in unified builds. r=mstange 2021-10-28 14:31:54 +00:00
nsStandaloneNativeMenu.mm Bug 1699792 - Split off the inner parts of nsStandaloneNativeMenu into a new class called NativeMenuMac. r=harry 2021-03-23 13:40:32 +00:00
nsSystemStatusBarCocoa.h Bug 1699792 - Split off the inner parts of nsStandaloneNativeMenu into a new class called NativeMenuMac. r=harry 2021-03-23 13:40:32 +00:00
nsSystemStatusBarCocoa.mm Bug 1699792 - Split off the inner parts of nsStandaloneNativeMenu into a new class called NativeMenuMac. r=harry 2021-03-23 13:40:32 +00:00
nsToolkit.h
nsToolkit.mm Bug 1708015: Replace MOZ_USE_NATIVE_POPUP_WINDOWS with mozilla::widget::NativeMenuSupport::ShouldUseNativeContextMenus() in nsToolkit.mm. r=mstange 2021-04-27 22:31:11 +00:00
nsTouchBar.h
nsTouchBar.mm
nsTouchBarInput.h
nsTouchBarInput.mm
nsTouchBarInputIcon.h Bug 1691861 - Move image region handling out of IconLoader. r=mconley 2021-02-12 00:32:06 +00:00
nsTouchBarInputIcon.mm Bug 1737620 - Fix misc errors in unified builds. r=mstange 2021-10-28 14:31:54 +00:00
nsTouchBarNativeAPIDefines.h Bug 1697343 - Remove code that was needed to support building with pre-10.12 SDKs. r=mac-reviewers,bradwerth 2021-03-11 02:46:23 +00:00
nsTouchBarUpdater.h
nsTouchBarUpdater.mm
nsUserIdleServiceX.h
nsUserIdleServiceX.mm Bug 1692391 - Remove the word ABORT from the NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_RETURN macros, because these macros don't abort. r=haik,necko-reviewers 2021-02-16 22:55:20 +00:00
nsWidgetFactory.mm Bug 1525788 - Support sending Handoff. r=mstange,Gijs 2021-11-02 18:08:08 +00:00
nsWindowMap.h
nsWindowMap.mm Bug 1692391 - Rename NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK macros, replacing ABORT with IGNORE. These macros just log the exception and move on, without aborting. r=haik 2021-02-16 22:55:21 +00:00
OSXNotificationCenter.h Bug 1697343 - Remove code that was needed to support building with pre-10.12 SDKs. r=mac-reviewers,bradwerth 2021-03-11 02:46:23 +00:00
OSXNotificationCenter.mm Bug 1519636 - Reformat recent changes to the Google coding style. r=necko-reviewers,geckoview-reviewers,agi 2021-04-26 15:52:25 +00:00
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 1737869 - Fix build with the macOS 12 SDK, by using AXTextMarker(Range)Ref instead of id and by ifdefing the declarations that are now public in the new SDK. r=eeejay 2021-10-27 20:38:07 +00:00
SwipeTracker.h
SwipeTracker.mm Bug 1704065 - Stop consuming pan gesture events in SwipeTracker if the swiping direction is not allowed to navigate. r=spohl 2021-04-30 09:08:08 +00:00
TextInputHandler.h Bug 1697343 - Remove code that was needed to support building with pre-10.12 SDKs. r=mac-reviewers,bradwerth 2021-03-11 02:46:23 +00:00
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 Bug 1697338 - Rename VibrancyType::LIGHT/DARK to TITLEBAR_LIGHT/DARK. r=mac-reviewers,bradwerth 2021-03-17 16:50:09 +00:00
VibrancyManager.mm Bug 1702039 - Replace @"NSAppearanceNameDarkAqua" with the constant NSAppearanceNameDarkAqua which is now defined in SDKDeclarations.h. r=mac-reviewers,harry 2021-04-01 17:25:12 +00:00
ViewRegion.h
ViewRegion.mm
WidgetTraceEvent.mm