gecko-dev/widget/cocoa
Emilio Cobos Álvarez 2414af9244 Bug 1793689 - Make GetMinimumWidgetSize work properly on non-XUL flexbox. r=TYLin,layout-reviewers
The XUL behavior in nsBox.cpp is fairly different to what the non-XUL
layout code paths do. In particular, canOverride=false means that the
min-{width,height} properties cannot go under the min widget size of the
widget, but that doesn't mean that intrinsic sizes don't affect the
final size of the widget.

This is very visible if you turn on flex emulation on Windows or macOS,
where the toolbar has an appearance that returns
width=0,height=N,canOverride=false.

With flex emulation we'd collapse the item to be zero-width, which is
not good at all.

The good thing is that this is no longer exposed to the web
(non-native-theme always returns canOverride=true), and our front-end
code doesn't seem to rely on this, so we can just remove support for
canOverride=false.

Differential Revision: https://phabricator.services.mozilla.com/D158608
2022-10-05 19:09:29 +00:00
..
crashtests
cursors
docs Bug 1773752: Remove more workarounds for old macOS SDKs. r=mstange,media-playback-reviewers,padenot 2022-07-18 17:08:59 +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
CustomCocoaEvents.h
DesktopBackgroundImage.h
DesktopBackgroundImage.mm
GfxInfo.h Bug 1767172 - Remove custom screen info handling from GfxInfo, use ScreenManager for that. r=jrmuizel,handyman,stransky 2022-05-06 23:37:25 +00:00
GfxInfo.mm Bug 1767172 - Remove custom screen info handling from GfxInfo, use ScreenManager for that. r=jrmuizel,handyman,stransky 2022-05-06 23:37:25 +00:00
MOZIconHelper.h Bug 1764354 - Propagate color-scheme preference to SVG images on chrome documents. r=aosmond 2022-04-17 20:38:01 +00:00
MOZIconHelper.mm Bug 1764354 - Propagate color-scheme preference to SVG images on chrome documents. r=aosmond 2022-04-17 20:38:01 +00:00
MOZMenuOpeningCoordinator.h Bug 1748815 - Remove runAfterMenuClosed because it is now unused. r=bradwerth 2022-06-23 15:05:39 +00:00
MOZMenuOpeningCoordinator.mm Bug 1748815 - Remove runAfterMenuClosed because it is now unused. r=bradwerth 2022-06-23 15:05:39 +00:00
MacThemeGeometryType.h Bug 1771792 - Remove some dead vibrancy code. r=mstange 2022-05-31 10:43:29 +00:00
MediaHardwareKeysEventSourceMac.h
MediaHardwareKeysEventSourceMac.mm
MediaHardwareKeysEventSourceMacMediaCenter.h
MediaHardwareKeysEventSourceMacMediaCenter.mm
MediaKeysEventSourceFactory.cpp
NativeKeyBindings.h Bug 1191862 - part 1: Make `nsIWidget::NativeKeyBindingsType` independent from `nsIWidget` and defined in an independent header file r=smaug 2022-02-15 08:00:05 +00:00
NativeKeyBindings.mm Bug 1191862 - part 1: Make `nsIWidget::NativeKeyBindingsType` independent from `nsIWidget` and defined in an independent header file r=smaug 2022-02-15 08:00:05 +00:00
NativeMenuMac.h Bug 1757402 - Add basic native context menu support on GTK. r=stransky 2022-02-28 14:53:24 +00:00
NativeMenuMac.mm Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +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
OSXNotificationCenter.h
OSXNotificationCenter.mm Bug 1764354 - Propagate color-scheme preference to SVG images on chrome documents. r=aosmond 2022-04-17 20:38:01 +00:00
SDKDeclarations.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
ScreenHelperCocoa.h
ScreenHelperCocoa.mm Bug 1767172 - Remove custom screen info handling from GfxInfo, use ScreenManager for that. r=jrmuizel,handyman,stransky 2022-05-06 23:37:25 +00:00
TextInputHandler.h
TextInputHandler.mm Bug 1746104 - part 5-4: Make widget code handle no selection case at getting selection change notifications r=m_kato,geckoview-reviewers 2022-02-07 22:33:38 +00:00
TextRecognition.mm Bug 1782579 - Pass languages to the text recognition api; r=nordzilla,emilio 2022-08-10 19:38:46 +00:00
VibrancyManager.h Bug 1771792 - Remove some dead vibrancy code. r=mstange 2022-05-31 10:43:29 +00:00
VibrancyManager.mm Bug 1771792 - Remove some dead vibrancy code. r=mstange 2022-05-31 10:43:29 +00:00
ViewRegion.h
ViewRegion.mm
WidgetTraceEvent.mm
components.conf Bug 1773770: Part 9 - Migrate widget component content proxies to static registration. r=mccr8 2022-06-30 09:12:18 +00:00
moz.build Bug 1759504 - Implement text recognition component in macOS. r=emilio,nordzilla 2022-06-03 16:01:32 +00:00
mozView.h
nsAppShell.h
nsAppShell.mm Bug 1343826 - Return updated timezone on system timezone change. r=smaug,mstange,stransky,handyman 2022-06-14 19:41:30 +00:00
nsBidiKeyboard.h
nsBidiKeyboard.mm
nsChangeObserver.h
nsChildView.h Bug 1787079 - Implement nsIDOMWindowUtils.setHiDPiMode and restoreHiDPIMode on Windows. r=rkraesig 2022-09-15 10:13:14 +00:00
nsChildView.mm Bug 1787079 - Implement nsIDOMWindowUtils.setHiDPiMode and restoreHiDPIMode on Windows. r=rkraesig 2022-09-15 10:13:14 +00:00
nsClipboard.h Bug 666254 - nsIClipboard.emptyClipboard should clear system clipboard. r=mac-reviewers,spohl 2022-04-15 02:48:04 +00:00
nsClipboard.mm Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
nsCocoaFeatures.h Bug 1776210 - [macOS 13] Stack underflow crashes on Wifi Monitor thread on macOS 13 (Ventura) beta r=mac-reviewers,necko-reviewers,mstange,dragana 2022-07-25 14:09:09 +00:00
nsCocoaFeatures.mm Bug 1776210 - [macOS 13] Stack underflow crashes on Wifi Monitor thread on macOS 13 (Ventura) beta r=mac-reviewers,necko-reviewers,mstange,dragana 2022-07-25 14:09:09 +00:00
nsCocoaUtils.h Bug 1786668 - Add a test case that MobileViewportManager is properly updated when browser window moves from a HiDPI monitor to normal one. r=tnikkel 2022-08-26 04:44:55 +00:00
nsCocoaUtils.mm Bug 1786668 - Add a test case that MobileViewportManager is properly updated when browser window moves from a HiDPI monitor to normal one. r=tnikkel 2022-08-26 04:44:55 +00:00
nsCocoaWindow.h Bug 1750102 - Add an input-region-margin to widgets, and implement it on Linux. r=stransky 2022-06-04 12:41:06 +00:00
nsCocoaWindow.mm Bug 1779559 - Make tabbrowser manage chrome BC activeness. r=Gijs 2022-07-19 19:25:47 +00:00
nsColorPicker.h
nsColorPicker.mm
nsCursorManager.h
nsCursorManager.mm Bug 1764354 - Propagate color-scheme preference to SVG images on chrome documents. r=aosmond 2022-04-17 20:38:01 +00:00
nsDeviceContextSpecX.h Bug 370035 - Remove the aWidget parameter from nsIDeviceContextSpec::Init.r=spohl 2022-05-23 19:34:40 +00:00
nsDeviceContextSpecX.mm Bug 370035 - Remove the aWidget parameter from nsIDeviceContextSpec::Init.r=spohl 2022-05-23 19:34:40 +00:00
nsDragService.h
nsDragService.mm Bug 1767944 - Fix drag image coordinates after bug 1753836. r=tnikkel 2022-05-05 12:10:08 +00:00
nsFilePicker.h
nsFilePicker.mm
nsLookAndFeel.h
nsLookAndFeel.mm Bug 1788105: Make video-dynamic-range: high match for macOS 10.15+. r=gfx-reviewers,jrmuizel 2022-08-30 19:56:16 +00:00
nsMacCursor.h
nsMacCursor.mm
nsMacDockSupport.h
nsMacDockSupport.mm
nsMacFinderProgress.h
nsMacFinderProgress.mm
nsMacSharingService.h
nsMacSharingService.mm Bug 1769290 - Part 26: Emit errors from JSHandleRootedTypedefChecker r=andi,geckoview-reviewers,owlish 2022-08-09 14:13:30 +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 Bug 308555 - On Mac move the "Account Settings" menuitem to the Thunderbird menu. r=mstange 2022-03-08 18:08:56 +00:00
nsMenuBarX.mm Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuGroupOwnerX.h Bug 1777925: Replaced MutationObserver array container type with linked list. r=smaug 2022-09-21 11:31:44 +00:00
nsMenuGroupOwnerX.mm Bug 1755779 - Rebuild the menus when there is a locale change; r=mstange 2022-02-23 14:44:07 +00:00
nsMenuItemIconX.h Bug 1777553 - Use a weak pres context reference in nsMenuItemIconX. r=mac-reviewers,spohl 2022-07-08 15:47:20 +00:00
nsMenuItemIconX.mm Bug 1777553 - Use a weak pres context reference in nsMenuItemIconX. r=mac-reviewers,spohl 2022-07-08 15:47:20 +00:00
nsMenuItemX.h Bug 1748815 - Always run command events outside the context menu event loop. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuItemX.mm
nsMenuParentX.h
nsMenuUtilsX.h Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuUtilsX.mm Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuX.h Bug 1748815 - Always run command events outside the context menu event loop. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuX.mm Bug 1776763 - Only defer menu item activation if we know that the menu is open. r=spohl 2022-07-07 20:47:38 +00:00
nsNativeThemeCocoa.h Bug 1793689 - Make GetMinimumWidgetSize work properly on non-XUL flexbox. r=TYLin,layout-reviewers 2022-10-05 19:09:29 +00:00
nsNativeThemeCocoa.mm Bug 1793689 - Make GetMinimumWidgetSize work properly on non-XUL flexbox. r=TYLin,layout-reviewers 2022-10-05 19:09:29 +00:00
nsNativeThemeColors.h Bug 1773752: Remove more workarounds for old macOS SDKs. r=mstange,media-playback-reviewers,padenot 2022-07-18 17:08:59 +00:00
nsPIWidgetCocoa.idl
nsPrintDialogX.h Bug 1769129. Remove nsIPrintSettings.isPrintSelectionRBEnabled. r=emilio 2022-05-13 15:26:07 +00:00
nsPrintDialogX.mm Bug 1769129. Remove nsIPrintSettings.isPrintSelectionRBEnabled. r=emilio 2022-05-13 15:26:07 +00:00
nsPrintSettingsServiceX.h
nsPrintSettingsServiceX.mm Bug 1763989. Remove the PPrinting and nsPrintingProxy code. r=bobowen 2022-04-26 14:30:29 +00:00
nsPrintSettingsX.h
nsPrintSettingsX.mm Bug 1766651 - Remove nsIPrintSettings.isCancelled and nsIPrintSettings.saveOnCancel. r=bobowen 2022-04-27 17:55:24 +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 Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBar.mm
nsTouchBarInput.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBarInput.mm
nsTouchBarInputIcon.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBarInputIcon.mm Bug 1764354 - Propagate color-scheme preference to SVG images on chrome documents. r=aosmond 2022-04-17 20:38:01 +00:00
nsTouchBarNativeAPIDefines.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBarUpdater.h
nsTouchBarUpdater.mm Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsUserIdleServiceX.h
nsUserIdleServiceX.mm
nsWidgetFactory.h Bug 1773770: Part 8 - Migrate Cocoa widget module to static component registration. r=mstange 2022-06-30 09:12:18 +00:00
nsWidgetFactory.mm Bug 1773770: Part 8 - Migrate Cocoa widget module to static component registration. r=mstange 2022-06-30 09:12:18 +00:00
nsWindowMap.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi,media-playback-reviewers,necko-reviewers,padenot,dragana 2022-06-07 12:32:55 +00:00
nsWindowMap.mm