gecko-dev/widget/windows
Emilio Cobos Álvarez 9f40cb86e5 Bug 1857260 - More explicitly use custom colors for the toolbox. r=dao,desktop-theme-reviewers,win-reviewers,mhowell
Right now we were relying on the OS colors
(-moz-dialog/-moz-dialogtext/ActiveCaption/CaptionText).

The titlebar ones did the right thing but -moz-dialog and co didn't.

This caused two issues:

 * With the titlebar checkbox on, we'd use the system colors even
   without prefers-contrast. This is specially noticeable on macOS.

 * With prefers-contrast. We used -moz-dialog for the background and the
   toolbar on macOS. This caused little contrast.

Support the -moz-headerbar colors in all desktop platforms, and use
those on Linux + HCM, and use browser-custom-colors on Windows / macOS
to override the toolbox background explicitly to fix it.

This setup is a little bit more consistent with all other colors.

Differential Revision: https://phabricator.services.mozilla.com/D190200
2023-10-06 14:40:15 +00:00
..
docs Bug 1844908 - Remove pre-Win10-specific codepath from widget/. r=handyman 2023-07-26 08:52:54 +00:00
filedialog Backed out 10 changesets (bug 1837079) for causing build bustages on UtilityProcessManager.cpp. CLOSED TREE 2023-09-15 22:17:21 +03:00
res
tests Bug 1794475 - Part 1: Add a default dismiss button when there's no action r=nrishel,fluent-reviewers,bolsson 2023-07-19 20:31:13 +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 1838754 - Pre 3: Normalize moz.build and components.conf build exclusions related to Windows Toast on excluding gcc builds. r=mossop 2023-09-05 20:55:25 +00:00
CompositorWidgetChild.cpp Bug 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
CompositorWidgetChild.h Bug 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
CompositorWidgetParent.cpp Bug 1844241 - Remove now-dead graphics glass code. r=tnikkel,devtools-reviewers 2023-07-19 12:44:34 +00:00
CompositorWidgetParent.h Bug 1844241 - Remove now-dead graphics glass code. r=tnikkel,devtools-reviewers 2023-07-19 12:44:34 +00:00
DirectManipulationOwner.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
DirectManipulationOwner.h Bug 1636805: Remove the DirectManipulation hack-arounds r=firefox-build-system-reviewers,ahochheiden 2023-02-15 19:01:56 +00:00
GfxInfo.cpp Bug 1851625 - Re-enable video overlay without ZeroCopyNV12Texture with NVIDIA GPUs to release r=gfx-reviewers,lsalzman 2023-09-08 05:51:14 +00:00
GfxInfo.h Bug 1812698 - Expose desktopEnvironment via nsIXULRuntime rather than nsIGfxInfo. r=stransky 2023-02-01 13:14:50 +00:00
IEnumFE.cpp
IEnumFE.h
IMMHandler.cpp Bug 1844908 - Remove pre-Win10-specific codepath from widget/. r=handyman 2023-07-26 08:52:54 +00:00
IMMHandler.h Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
InProcessWinCompositorWidget.cpp Bug 1844241 - Remove now-dead graphics glass code. r=tnikkel,devtools-reviewers 2023-07-19 12:44:34 +00:00
InProcessWinCompositorWidget.h Bug 1844241 - Remove now-dead graphics glass code. r=tnikkel,devtools-reviewers 2023-07-19 12:44:34 +00:00
InputDeviceUtils.cpp
InputDeviceUtils.h
JumpListBuilder.cpp Bug 1542802 - Part 1: Replace LazyIdleThread with a thin wrapper around nsThreadPool, r=jesup,gstoll 2023-03-02 15:52:32 +00:00
JumpListBuilder.h Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
JumpListItem.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
JumpListItem.h Bug 1542802 - Part 1: Replace LazyIdleThread with a thin wrapper around nsThreadPool, r=jesup,gstoll 2023-03-02 15:52:32 +00:00
KeyboardLayout.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
KeyboardLayout.h Bug 1840519 - Make typing surrogate pair behavior switchable with prefs r=m_kato,smaug 2023-08-23 01:16:59 +00:00
LSPAnnotator.cpp Bug 1795370 - Add nsICrashReporter as an interface on nsAppRunner. r=gsvelto 2022-10-18 18:22:24 +00:00
MediaKeysEventSourceFactory.cpp
moz.build Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
nsAppShell.cpp Bug 1571516 - log additional data to stack (redux) r=gsvelto,win-reviewers,mhowell 2023-09-15 19:12:29 +00:00
nsAppShell.h Bug 1571516 - [1/2] preparatory reorganization r=gsvelto 2023-08-30 22:34:43 +00:00
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsClipboard.cpp Backed out 3 changesets (bug 1851041) for causing bustage on nsClipboard.cpp. CLOSED TREE 2023-10-05 23:59:45 +03:00
nsClipboard.h Bug 1810850 - Part 4: Refactor around nsBase::ClipboardEmptyClipboard; r=cmartin,mstange 2023-06-26 21:02:40 +00:00
nsColorPicker.cpp Bug 1832168 - [2/3] Consolidate temporary-window responsibilities r=emilio 2023-05-11 01:13:05 +00:00
nsColorPicker.h Bug 960984 - Implement the list attribute for <input type=color>. r=emilio,geckoview-reviewers,m_kato 2022-12-14 18:17:59 +00:00
nsDataObj.cpp Bug 1808146 - When creating a file promise for images, remember the referrer. r=nika 2023-03-22 21:55:08 +00:00
nsDataObj.h Bug 1808146 - When creating a file promise for images, remember the referrer. r=nika 2023-03-22 21:55:08 +00:00
nsDataObjCollection.cpp
nsDataObjCollection.h
nsdefs.h
nsDeviceContextSpecWin.cpp Bug 1845837 - Sort Windows printer list alphabetically. r=emilio 2023-07-28 15:35:29 +00:00
nsDeviceContextSpecWin.h Bug 1833244 p1. Create infrastructure to pass page dimensions to PrintTarget::BeginPage. r=dholbert,geckoview-reviewers,jonalmeida 2023-07-10 14:26:12 +00:00
nsDragService.cpp Backed out 3 changesets (bug 1851041) for causing bustage on nsClipboard.cpp. CLOSED TREE 2023-10-05 23:59:45 +03:00
nsDragService.h
nsFilePicker.cpp Backed out 10 changesets (bug 1837079) for causing build bustages on UtilityProcessManager.cpp. CLOSED TREE 2023-09-15 22:17:21 +03:00
nsFilePicker.h Backed out 10 changesets (bug 1837079) for causing build bustages on UtilityProcessManager.cpp. CLOSED TREE 2023-09-15 22:17:21 +03:00
nsLookAndFeel.cpp Bug 1857260 - More explicitly use custom colors for the toolbox. r=dao,desktop-theme-reviewers,win-reviewers,mhowell 2023-10-06 14:40:15 +00:00
nsLookAndFeel.h Bug 1845540 - Remove some unused win-specific system colors and appearance values. r=mstange,devtools-reviewers,mhowell 2023-07-26 20:57:47 +00:00
nsNativeDragSource.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
nsNativeDragSource.h
nsNativeDragTarget.cpp
nsNativeDragTarget.h
nsNativeThemeWin.cpp Bug 1846782 - Fix nsNativeTheme*::GetWidget{Border,Padding} for always-non-native widgets. r=aminomancer 2023-08-02 20:30:21 +00:00
nsNativeThemeWin.h Bug 1852457 - Simplify nsITheme::ThemeWantsButtonInnerFocusRing(). r=jfkthame,layout-reviewers 2023-09-14 09:46:42 +00:00
nsPrintDialogUtil.cpp Bug 1724649 - Followup to remove #include plstr.h r=necko-reviewers,xpcom-reviewers,valentin,nika 2023-05-15 14:53:02 +00:00
nsPrintDialogUtil.h
nsPrintDialogWin.cpp Bug 1832168 - [2/3] Consolidate temporary-window responsibilities r=emilio 2023-05-11 01:13:05 +00:00
nsPrintDialogWin.h Bug 1832168 - [2/3] Consolidate temporary-window responsibilities r=emilio 2023-05-11 01:13:05 +00:00
nsPrinterWin.cpp Bug 1811852: Clear default DEVMODEW storage on failure, so that we try again next time. r=emilio 2023-02-01 11:27:02 +00:00
nsPrinterWin.h
nsPrintSettingsServiceWin.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
nsPrintSettingsServiceWin.h
nsPrintSettingsWin.cpp Bug 1811852: Clear default DEVMODEW storage on failure, so that we try again next time. r=emilio 2023-02-01 11:27:02 +00:00
nsPrintSettingsWin.h
nsSharePicker.cpp
nsSharePicker.h
nsSound.cpp Bug 1724649 - Followup to remove #include plstr.h r=necko-reviewers,xpcom-reviewers,valentin,nika 2023-05-15 14:53:02 +00:00
nsSound.h
nsToolkit.cpp
nsToolkit.h
nsUserIdleServiceWin.cpp Bug 1768920 - Avoid polling every 5 seconds in nsUserIdleService, r=dthayer,geckoview-reviewers,owlish. 2023-01-16 19:53:33 +00:00
nsUserIdleServiceWin.h Bug 1836980 - Move the check for late instantiation to UserIdleService[type] specializations. r=kmag,xpcom-reviewers,geckoview-reviewers,m_kato 2023-06-07 06:27:52 +00:00
nsUXThemeConstants.h Bug 1844242 - Clean-up windows titlebar set-up now that buttons are always non-native. r=dao,handyman 2023-07-20 13:33:19 +00:00
nsUXThemeData.cpp Bug 1845623 - Make some form controls always non-native on Windows. r=mhowell,desktop-theme-reviewers,dao 2023-07-28 11:06:47 +00:00
nsUXThemeData.h Bug 1845623 - Make some form controls always non-native on Windows. r=mhowell,desktop-theme-reviewers,dao 2023-07-28 11:06:47 +00:00
nsWidgetFactory.cpp
nsWidgetFactory.h
nsWindow.cpp Bug 1855870 - Upgrade webrender to bitflags 2. r=gfx-reviewers,gw 2023-09-29 08:20:59 +00:00
nsWindow.h Bug 1772404 - Corner snapping for Windows and Linux. r=mhowell,mconley 2023-09-26 23:50:13 +00:00
nsWindowDbg.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
nsWindowDbg.h Bug 1841871: Rename PrintEvent to NativeEventLogger and add profiler markers r=gstoll 2023-07-06 19:57:40 +00:00
nsWindowDefs.h Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
nsWindowGfx.cpp Bug 1855870 - Upgrade webrender to bitflags 2. r=gfx-reviewers,gw 2023-09-29 08:20:59 +00:00
nsWindowGfx.h
nsWindowLoggedMessages.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
nsWindowLoggedMessages.h Bug 1793834 - part 7: delete entries when a window closes r=handyman 2022-11-22 03:44:54 +00:00
nsWindowTaskbarConcealer.cpp Bug 1835851 - [3/3] cleanup: remove pre-Windows-10 checks from new code r=gstoll 2023-07-28 00:16:46 +00:00
nsWindowTaskbarConcealer.h Bug 1835851 - [2/3] cleanup: remove old fullscreen logic r=handyman,gstoll 2023-07-28 00:16:46 +00:00
nsWinGesture.cpp
nsWinGesture.h
OSKInputPaneManager.cpp
OSKInputPaneManager.h
OSKTabTipManager.cpp
OSKTabTipManager.h
OSKVRManager.cpp
OSKVRManager.h
PCompositorWidget.ipdl Bug 1812156 - Part 1: Fix some IPDL statements to use fully qualified names, r=necko-reviewers,valentin 2023-02-04 10:44:24 +00:00
PlatformWidgetTypes.ipdlh Bug 1812156 - Part 1: Fix some IPDL statements to use fully qualified names, r=necko-reviewers,valentin 2023-02-04 10:44:24 +00:00
RemoteBackbuffer.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
RemoteBackbuffer.h Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
resource.h
ScreenHelperWin.cpp Bug 1839762 - Cast scoped enums to their underlying type when printing them. r=media-playback-reviewers,necko-reviewers,application-update-reviewers,geckoview-reviewers,handyman,emilio,valentin,bytesized,owlish,karlt 2023-06-24 20:14:31 +00:00
ScreenHelperWin.h
ShellHeaderOnlyUtils.h
SystemStatusBar.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
SystemStatusBar.h Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
TaskbarPreview.cpp Bug 1845746 - Stop using DwmCompositionEnabled in widget/windows/. r=handyman 2023-08-10 18:58:03 +00:00
TaskbarPreview.h
TaskbarPreviewButton.cpp
TaskbarPreviewButton.h
TaskbarTabPreview.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
TaskbarTabPreview.h
TaskbarWindowPreview.cpp
TaskbarWindowPreview.h
ToastNotification.cpp Bug 1844908 - Remove pre-Win10-specific codepath from widget/. r=handyman 2023-07-26 08:52:54 +00:00
ToastNotification.h Bug 1805514 - Part 3: Allow JS opaque relaunch data and actions. r=nrishel 2023-07-15 02:34:06 +00:00
ToastNotificationHandler.cpp Bug 1844908 - Remove pre-Win10-specific codepath from widget/. r=handyman 2023-07-26 08:52:54 +00:00
ToastNotificationHandler.h Bug 1805514 - Part 3: Allow JS opaque relaunch data and actions. r=nrishel 2023-07-15 02:34:06 +00:00
ToastNotificationHeaderOnlyUtils.h Bug 1805514 - Part 3: Allow JS opaque relaunch data and actions. r=nrishel 2023-07-15 02:34:06 +00:00
touchinjection_sdk80.h
TSFTextStore.cpp Bug 1266437 - Drop "OS" modifier r=smaug,m_kato,karlt,Gijs 2023-08-07 01:03:58 +00:00
TSFTextStore.h Bug 1840568 - Let's collect unexpected cases with diagnostic assertions of initializing TSFTextStore::mContentForTSF and TSFTextStore::mSelectionForTSF r=m_kato 2023-07-05 06:00:02 +00:00
UrlmonHeaderOnlyUtils.h
widget.rc
WidgetTraceEvent.cpp Bug 1825360 - Remove the NS_DISPATCH_SYNC flag, r=necko-reviewers,geckoview-reviewers,media-playback-reviewers,karlt,jesup,m_kato,emilio 2023-03-30 16:53:51 +00:00
WinCompositorWidget.cpp Bug 1820066 [2/3] - Allow in-process use of the compositor window r=sotaro 2023-03-27 16:54:13 +00:00
WinCompositorWidget.h Bug 1844241 - Remove now-dead graphics glass code. r=tnikkel,devtools-reviewers 2023-07-19 12:44:34 +00:00
WinCompositorWindowThread.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
WinCompositorWindowThread.h Bug 1811634 Part 1: Deal with spurious wakeups in WinCompositorWindowThread::ShutDown. r=rkraesig 2023-01-27 23:19:48 +00:00
WindowHook.cpp
WindowHook.h
WindowsConsole.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
WindowsConsole.h
WindowsEMF.cpp
WindowsEMF.h
WindowsEventLog.h Bug 1820580 - Make toolkit/mozapps/defaultagent buildable outside of a unified build environment r=andi 2023-03-15 07:30:39 +00:00
WindowsSMTCProvider.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
WindowsSMTCProvider.h
WindowsUIUtils.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
WindowsUIUtils.h Bug 1736914 - Implement prefers-reduced-transparency media query r=geckoview-reviewers,emilio,jonalmeida,ohall 2023-03-13 21:30:17 +00:00
WinEventObserver.cpp Bug 1852801: Allow WinWindowOcclusionTracker members to fail initialization without crashing. r=rkraesig,win-reviewers 2023-09-13 17:38:55 +00:00
WinEventObserver.h Bug 1852801: Allow WinWindowOcclusionTracker members to fail initialization without crashing. r=rkraesig,win-reviewers 2023-09-13 17:38:55 +00:00
WinHeaderOnlyUtils.h Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
WinIMEHandler.cpp Bug 1846476 - Remove ui.osk.require_win10 pref r=rkraesig,Gijs,settings-reviewers 2023-08-03 19:07:25 +00:00
WinIMEHandler.h Bug 1807495 - part 2: Make TextStore stop creating its instance when gets IME enabled but focus notification has not been received r=m_kato 2023-04-11 23:26:04 +00:00
WinMessages.h Bug 1835851 - [1/3] signal taskbar after message has been processed r=handyman,gstoll 2023-07-28 00:16:46 +00:00
WinModifierKeyState.h
WinMouseScrollHandler.cpp Bug 1266437 - Drop "OS" modifier r=smaug,m_kato,karlt,Gijs 2023-08-07 01:03:58 +00:00
WinMouseScrollHandler.h Bug 1845580 - Remove unintuitive mouswheel scroll distance behavior on release builds. r=botond 2023-07-26 21:08:58 +00:00
WinPointerEvents.cpp Bug 1844908 - Remove pre-Win10-specific codepath from widget/. r=handyman 2023-07-26 08:52:54 +00:00
WinPointerEvents.h Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
WinTaskbar.cpp Bug 1810487 - Remove unused JS-exposed nsIWinTaskbar.prepareFullScreen. r=rkraesig 2023-01-16 17:30:08 +00:00
WinTaskbar.h
WinTextEventDispatcherListener.cpp
WinTextEventDispatcherListener.h
WinUtils.cpp Backed out 3 changesets (bug 1851041) for causing bustage on nsClipboard.cpp. CLOSED TREE 2023-10-05 23:59:45 +03:00
WinUtils.h Backed out 3 changesets (bug 1851041) for causing bustage on nsClipboard.cpp. CLOSED TREE 2023-10-05 23:59:45 +03:00
WinWindowOcclusionTracker.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
WinWindowOcclusionTracker.h Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00