fune/widget/windows
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
..
res
tests Bug 1790692 - Make image smaller DOM notifications/non-system (chrome-privileged) alerts. r=nrishel 2022-09-15 23:32:10 +00:00
AudioSession.cpp Bug 1755700: Serialize IAudioSessionControl destruction/re-creation r=cmartin 2022-07-29 19:32:15 +00:00
AudioSession.h
CheckInvariantWrapper.h
components.conf Bug 1773770: Part 9 - Migrate widget component content proxies to static registration. r=mccr8 2022-06-30 09:12:18 +00:00
CompositorWidgetChild.cpp
CompositorWidgetChild.h
CompositorWidgetParent.cpp Bug 1727215 - Check if CompositorThreadHolder is active r=gfx-reviewers,lsalzman 2022-08-30 04:36:37 +00:00
CompositorWidgetParent.h
DirectManipulationOwner.cpp Bug 1765399 - Move main thread observers to the vsync dispatcher. r=smaug 2022-05-05 02:15:16 +00:00
DirectManipulationOwner.h
GfxInfo.cpp Bug 1790518 - Enable video overlay until early beta on non-Intel GPU on Windows r=jrmuizel,gfx-reviewers 2022-09-13 01:31:37 +00:00
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
IEnumFE.cpp
IEnumFE.h
IMMHandler.cpp Bug 1772006 - Part 5: Simplify and move the string searching APIs from ns[T]StringObsolete, r=xpcom-reviewers,necko-reviewers,eeejay,dragana,barret 2022-07-30 00:12:48 +00:00
IMMHandler.h
InkCollector.cpp
InkCollector.h
InProcessWinCompositorWidget.cpp
InProcessWinCompositorWidget.h
InputDeviceUtils.cpp
InputDeviceUtils.h
JumpListBuilder.cpp
JumpListBuilder.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
JumpListItem.cpp
JumpListItem.h
KeyboardLayout.cpp 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
KeyboardLayout.h
LSPAnnotator.cpp Bug 1766561 - Add missing l modifier for long formatting. r=Jamie,media-playback-reviewers,gfx-reviewers,nika,necko-reviewers,mhowell,rkraesig,gerald,application-update-reviewers,bytesized,alwu,kershaw 2022-05-03 20:49:08 +00:00
MediaKeysEventSourceFactory.cpp
moz.build Bug 1783051 - Turn default browser agent's EventLog into a Windows-only header utility. r=rkraesig 2022-08-17 20:01:58 +00:00
nsAppShell.cpp Bug 1783087 - Fix build with --disable-backgroundtasks. r=nalexander DONTBUILD 2022-08-08 10:40:29 +00:00
nsAppShell.h Bug 1343826 - Return updated timezone on system timezone change. r=smaug,mstange,stransky,handyman 2022-06-14 19:41:30 +00:00
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsClipboard.cpp Bug 1785913 - Update mIgnoreEmptyNotification in nsBaseClipboard; r=NeilDeakin 2022-08-23 11:05:45 +00:00
nsClipboard.h
nsColorPicker.cpp
nsColorPicker.h
nsDataObj.cpp Bug 1754803 - expand size-field to 16 digits if 8 won't suffice r=handyman 2022-08-17 22:46:57 +00:00
nsDataObj.h
nsDataObjCollection.cpp
nsDataObjCollection.h
nsdefs.h Bug 1766561 - Use proper formatting directives for LPARAM and WPARAM. r=Jamie,rkraesig 2022-05-03 20:49:08 +00:00
nsDeviceContextSpecWin.cpp Bug 370035 - Remove the aWidget parameter from nsIDeviceContextSpec::Init.r=spohl 2022-05-23 19:34:40 +00:00
nsDeviceContextSpecWin.h Bug 370035 - Remove the aWidget parameter from nsIDeviceContextSpec::Init.r=spohl 2022-05-23 19:34:40 +00:00
nsDragService.cpp Bug 1767944 - Fix drag image coordinates after bug 1753836. r=tnikkel 2022-05-05 12:10:08 +00:00
nsDragService.h
nsFilePicker.cpp Bug 1772006 - Part 5: Simplify and move the string searching APIs from ns[T]StringObsolete, r=xpcom-reviewers,necko-reviewers,eeejay,dragana,barret 2022-07-30 00:12:48 +00:00
nsFilePicker.h Bug 1766368 - Fix ignored-qualifiers warnings in Windows builds. r=rkraesig 2022-04-28 22:03:05 +00:00
nsLookAndFeel.cpp Bug 1783566 - Restore dark highlight/selecteditem color behavior after bug 1782858. r=mstange 2022-08-08 19:58:15 +00:00
nsLookAndFeel.h Bug 1775310 - Add some accent-color-based dark mode system colors on Windows. r=handyman 2022-06-22 09:47:27 +00:00
nsNativeDragSource.cpp
nsNativeDragSource.h
nsNativeDragTarget.cpp
nsNativeDragTarget.h
nsNativeThemeWin.cpp Bug 1793689 - Make GetMinimumWidgetSize work properly on non-XUL flexbox. r=TYLin,layout-reviewers 2022-10-05 19:09:29 +00:00
nsNativeThemeWin.h Bug 1793689 - Make GetMinimumWidgetSize work properly on non-XUL flexbox. r=TYLin,layout-reviewers 2022-10-05 19:09:29 +00:00
nsPrintDialogUtil.cpp Bug 1769129. Remove nsIPrintSettings.isPrintSelectionRBEnabled. r=emilio 2022-05-13 15:26:07 +00:00
nsPrintDialogUtil.h Bug 1769129. Remove nsIPrintSettings.isPrintSelectionRBEnabled. r=emilio 2022-05-13 15:26:07 +00:00
nsPrintDialogWin.cpp Bug 1769129. Remove nsIPrintSettings.isPrintSelectionRBEnabled. r=emilio 2022-05-13 15:26:07 +00:00
nsPrintDialogWin.h Bug 1769113 - Kill off nsIPrintingPromptService and use nsIPrintDialogService directly. r=emilio 2022-05-13 11:20:59 +00:00
nsPrinterWin.cpp
nsPrinterWin.h
nsPrintSettingsServiceWin.cpp
nsPrintSettingsServiceWin.h
nsPrintSettingsWin.cpp
nsPrintSettingsWin.h
nsSharePicker.cpp
nsSharePicker.h
nsSound.cpp
nsSound.h
nsToolkit.cpp
nsToolkit.h
nsUserIdleServiceWin.cpp
nsUserIdleServiceWin.h
nsUXThemeConstants.h
nsUXThemeData.cpp Bug 1775320 - WinContentSystemParameters is not needed. r=cmartin 2022-06-22 18:03:01 +00:00
nsUXThemeData.h
nsWidgetFactory.cpp
nsWidgetFactory.h Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika 2022-05-17 20:24:19 +00:00
nsWindow.cpp Bug 1768907 - Part 1: Make browser.privatebrowsing.autostart a static pref. r=handyman,necko-reviewers 2022-09-22 00:26:17 +00:00
nsWindow.h Bug 1787079 - Implement nsIDOMWindowUtils.setHiDPiMode and restoreHiDPIMode on Windows. r=rkraesig 2022-09-15 10:13:14 +00:00
nsWindowDbg.cpp Bug 1766561 - Add missing l modifier for long formatting. r=Jamie,media-playback-reviewers,gfx-reviewers,nika,necko-reviewers,mhowell,rkraesig,gerald,application-update-reviewers,bytesized,alwu,kershaw 2022-05-03 20:49:08 +00:00
nsWindowDbg.h
nsWindowDefs.h Bug 1750103 - Modernize nsWindow code by removing TriStateBool and using BOOL only when required. r=cmartin 2022-09-08 15:34:47 +00:00
nsWindowGfx.cpp Bug 1778855 - Use e.g. gfxEnv::MOZ_GL_DEBUG() instead of gfxEnv::GlDebug(). r=gfx-reviewers,jrmuizel 2022-07-11 23:59:53 +00:00
nsWindowGfx.h
nsWindowTaskbarConcealer.cpp Bug 1732517 - [4/5] Fix fullscreen marking on Windows 7 r=handyman 2022-06-07 17:07:43 +00:00
nsWindowTaskbarConcealer.h Bug 1732517 - [3/5] Decouple Firefox/Windows fullscreen state r=handyman 2022-06-07 17:07:42 +00:00
nsWinGesture.cpp
nsWinGesture.h
OSKInputPaneManager.cpp
OSKInputPaneManager.h
OSKTabTipManager.cpp
OSKTabTipManager.h
OSKVRManager.cpp
OSKVRManager.h
PCompositorWidget.ipdl
PlatformWidgetTypes.ipdlh
RemoteBackbuffer.cpp
RemoteBackbuffer.h
resource.h
ScreenHelperWin.cpp 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
ScreenHelperWin.h
ShellHeaderOnlyUtils.h
SystemStatusBar.cpp Bug 1780318: Handle keyboard activation in Windows SystemStatusBar. r=mconley 2022-07-25 22:01:35 +00:00
SystemStatusBar.h
TaskbarPreview.cpp
TaskbarPreview.h
TaskbarPreviewButton.cpp
TaskbarPreviewButton.h
TaskbarTabPreview.cpp
TaskbarTabPreview.h
TaskbarWindowPreview.cpp
TaskbarWindowPreview.h
ToastNotification.cpp Bug 1786578 - Dismiss Windows native toast notifications when Firefox is closed in a private browsing session. r=nalexander. 2022-09-14 20:48:48 +00:00
ToastNotification.h Bug 1774082 - Add AUMID handling for Windows toast notifications. r=nalexander 2022-08-02 19:40:38 +00:00
ToastNotificationHandler.cpp Bug 1790692 - Make image smaller DOM notifications/non-system (chrome-privileged) alerts. r=nrishel 2022-09-15 23:32:10 +00:00
ToastNotificationHandler.h Bug 1786578 - Dismiss Windows native toast notifications when Firefox is closed in a private browsing session. r=nalexander. 2022-09-14 20:48:48 +00:00
touchinjection_sdk80.h
TSFTextStore.cpp Bug 1774317 - part 3: Fix forgotten member initializing of TSFTextStore r=m_kato 2022-09-29 14:06:03 +00:00
TSFTextStore.h Bug 1774317 - part 3: Fix forgotten member initializing of TSFTextStore r=m_kato 2022-09-29 14:06:03 +00:00
UrlmonHeaderOnlyUtils.h
widget.rc
WidgetTraceEvent.cpp
WinCompositorWidget.cpp
WinCompositorWidget.h
WinCompositorWindowThread.cpp
WinCompositorWindowThread.h
WindowHook.cpp
WindowHook.h
WindowsConsole.cpp
WindowsConsole.h
WindowsEMF.cpp
WindowsEMF.h
WindowsEventLog.h Bug 1783051 - Turn default browser agent's EventLog into a Windows-only header utility. r=rkraesig 2022-08-17 20:01:58 +00:00
WindowsSMTCProvider.cpp Bug 1767412 - Don't set the AlbumArtist property on IMusicDisplayProperties. r=chunmin 2022-05-06 13:36:20 +00:00
WindowsSMTCProvider.h Bug 1767412 - Don't set the AlbumArtist property on IMusicDisplayProperties. r=chunmin 2022-05-06 13:36:20 +00:00
WindowsUIUtils.cpp Bug 1778444 - Clear UISettings on shutdown. r=kaie 2022-07-07 21:17:36 +00:00
WindowsUIUtils.h Bug 1775310 - Add some accent-color-based dark mode system colors on Windows. r=handyman 2022-06-22 09:47:27 +00:00
WinEventObserver.cpp Bug 1766561 - Use proper formatting directives for LPARAM and WPARAM. r=Jamie,rkraesig 2022-05-03 20:49:08 +00:00
WinEventObserver.h
WinHeaderOnlyUtils.h
WinIMEHandler.cpp Bug 1792515 - Rename InputContext::mHTMLInputInputmode to mHTMLInputMode r=m_kato,geckoview-reviewers 2022-09-29 14:06:03 +00:00
WinIMEHandler.h Bug 1792515 - Rename InputContext::mHTMLInputInputmode to mHTMLInputMode r=m_kato,geckoview-reviewers 2022-09-29 14:06:03 +00:00
WinMessages.h Bug 1776498 - Use popup class with all popups. r=Jamie,handyman 2022-07-20 09:45:04 +00:00
WinModifierKeyState.h
WinMouseScrollHandler.cpp Bug 1732517 - [1/5] Drive-by cleanup: simplify WinUtils::GetNSWindowPtr() et al. r=cmartin 2022-06-07 17:07:41 +00:00
WinMouseScrollHandler.h
WinPointerEvents.cpp
WinPointerEvents.h
WinTaskbar.cpp
WinTaskbar.h
WinTextEventDispatcherListener.cpp
WinTextEventDispatcherListener.h
WinUtils.cpp Bug 1787079 - Implement nsIDOMWindowUtils.setHiDPiMode and restoreHiDPIMode on Windows. r=rkraesig 2022-09-15 10:13:14 +00:00
WinUtils.h Bug 1787079 - Implement nsIDOMWindowUtils.setHiDPiMode and restoreHiDPIMode on Windows. r=rkraesig 2022-09-15 10:13:14 +00:00
WinWindowOcclusionTracker.cpp Bug 1780334 - Add EVENT_SYSTEM_CAPTUREEND event watching in WindowOcclusionCalculator r=jrmuizel,gfx-reviewers 2022-07-21 15:09:06 +00:00
WinWindowOcclusionTracker.h