gecko-dev/widget/windows
CanadaHonk 3bbca01da2 Bug 1736914 - Implement prefers-reduced-transparency media query r=geckoview-reviewers,emilio,jonalmeida,ohall
Implemented the prefers-reduced-transparency media query for all
platforms.

Windows and Mac have specific settings which are used, others (Android
and Linux/GTK) have it enabled if prefers-reduced-motion is also enabled
as there is no dedicated setting to check.

Locked behind new pref `layout.css.prefers-reduced-transparency.enabled`,
off by default always for now.

Also added new WPT tests (none previously).

Demo video: https://goose.icu/firefox_prt.mp4
Test page: https://goose.icu/prefers-reduced-transparency

Differential Revision: https://phabricator.services.mozilla.com/D172424
2023-03-13 21:30:17 +00:00
..
docs no bug - fx doc: update blocklisting page for new GPU_PROCESSES capability r=gsvelto DONTBUILD 2023-01-23 15:38:37 +00:00
res
tests Bug 772424 - Reenable TestWinDND.cpp r=handyman 2023-03-02 19:09:44 +00:00
AudioSession.cpp
AudioSession.h
CheckInvariantWrapper.h
components.conf
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 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
CompositorWidgetParent.h Bug 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
DirectManipulationOwner.cpp Bug 1636805: Remove the DirectManipulation hack-arounds r=firefox-build-system-reviewers,ahochheiden 2023-02-15 19:01:56 +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 1817269 - Backout Bug 1798245 r=jrmuizel,gfx-reviewers 2023-02-17 01:47:02 +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 1060421 - Change the type of [Int]PointTyped::[x|y] back to [Int]CoordTyped. r=botond 2022-11-04 18:29:35 +00:00
IMMHandler.h
InkCollector.cpp
InkCollector.h
InProcessWinCompositorWidget.cpp Bug 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
InProcessWinCompositorWidget.h Bug 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +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 1542802 - Part 1: Replace LazyIdleThread with a thin wrapper around nsThreadPool, r=jesup,gstoll 2023-03-02 15:52:32 +00:00
JumpListItem.cpp Bug 1542802 - Part 1: Replace LazyIdleThread with a thin wrapper around nsThreadPool, r=jesup,gstoll 2023-03-02 15:52:32 +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 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 1795370 - Add nsICrashReporter as an interface on nsAppRunner. r=gsvelto 2022-10-18 18:22:24 +00:00
MediaKeysEventSourceFactory.cpp
moz.build Bug 1795974 - Pre 2: Create Windows Toast Notifications utility header to share strings and functionality between the firefox.exe and notificationserver.dll. r=nalexander 2023-01-06 18:36:22 +00:00
nsAppShell.cpp
nsAppShell.h
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsClipboard.cpp Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato 2023-02-01 23:30:55 +00:00
nsClipboard.h Bug 1798160 - Avoid flushing the clipboard sync for images and files. r=smaug 2022-10-29 19:48:32 +00:00
nsColorPicker.cpp Bug 960984 - Implement the list attribute for <input type=color>. r=emilio,geckoview-reviewers,m_kato 2022-12-14 18:17:59 +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 1819760, don't modify extensions when trying to create a desktop shortcut, r=Gijs 2023-03-07 14:01:04 +00:00
nsDataObj.h Bug 1542802 - Part 1: Replace LazyIdleThread with a thin wrapper around nsThreadPool, r=jesup,gstoll 2023-03-02 15:52:32 +00:00
nsDataObjCollection.cpp
nsDataObjCollection.h
nsdefs.h
nsDeviceContextSpecWin.cpp Bug 1810291 - Use fallible allocation in GetPrinterInfo4. r=bobowen 2023-01-26 19:37:24 +00:00
nsDeviceContextSpecWin.h Bug 1785046 - Part 4: Use async move on printing to file on Windows. r=nika,emilio 2022-12-19 15:42:49 +00:00
nsDragService.cpp Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato 2023-02-01 23:30:55 +00:00
nsDragService.h
nsFilePicker.cpp Bug 1817768 - Filter out illegal file extensions. r=Gijs 2023-02-27 18:01:10 +00:00
nsFilePicker.h Bug 1816740 [4/6] - convert nsIFilePicker::mode* into a proper enum r=ipc-reviewers,karlt,mstange,handyman,nika 2023-02-22 21:05:24 +00:00
nsLookAndFeel.cpp Bug 1736914 - Implement prefers-reduced-transparency media query r=geckoview-reviewers,emilio,jonalmeida,ohall 2023-03-13 21:30:17 +00:00
nsLookAndFeel.h
nsNativeDragSource.cpp
nsNativeDragSource.h
nsNativeDragTarget.cpp
nsNativeDragTarget.h
nsNativeThemeWin.cpp Bug 1815404 - Remove refcounting from gfxContext. r=gfx-reviewers,lsalzman 2023-02-21 07:28:24 +00:00
nsNativeThemeWin.h Backed out changeset 2be56c37e28d (bug 1801844) for causing a regression 2022-11-26 13:39:50 -05:00
nsPrintDialogUtil.cpp
nsPrintDialogUtil.h
nsPrintDialogWin.cpp Bug 1786048 - Part 3: Merge nsIEmbeddingSiteWindow into nsIBaseWindow. r=emilio 2022-12-15 23:13:00 +00:00
nsPrintDialogWin.h
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
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
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 1768920 - Avoid polling every 5 seconds in nsUserIdleService, r=dthayer,geckoview-reviewers,owlish. 2023-01-16 19:53:33 +00:00
nsUXThemeConstants.h
nsUXThemeData.cpp
nsUXThemeData.h
nsWidgetFactory.cpp
nsWidgetFactory.h
nsWindow.cpp Bug 1747722 - Allow changing window class hints using attributes. r=emilio,stransky 2023-03-02 16:22:05 +00:00
nsWindow.h Bug 1747722 - Allow changing window class hints using attributes. r=emilio,stransky 2023-03-02 16:22:05 +00:00
nsWindowDbg.cpp Bug 1814532 [4/4] - tweak Windows event logging output r=gstoll 2023-02-16 00:48:09 +00:00
nsWindowDbg.h Bug 1814532 [1/4] - actually record WindowProc return values r=gstoll 2023-02-16 00:48:08 +00:00
nsWindowDefs.h
nsWindowGfx.cpp Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
nsWindowGfx.h
nsWindowLoggedMessages.cpp Bug 1793834 - part 8: add preference for number of messages to keep r=handyman 2022-11-22 03:44:54 +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 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
nsWindowTaskbarConcealer.h Bug 1810487 - Fix non-unified build on nsWindowTaskbarConcealer. r=rkraesig 2023-01-16 17:30:08 +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 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
RemoteBackbuffer.h Bug 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
resource.h
ScreenHelperWin.cpp
ScreenHelperWin.h
ShellHeaderOnlyUtils.h
SystemStatusBar.cpp Bug 1805414 - Remove nsMenuFrame and nsMenuParent. r=smaug,Jamie,desktop-theme-reviewers,settings-reviewers,dao 2023-01-04 19:01:13 +00:00
SystemStatusBar.h
TaskbarPreview.cpp Bug 1808632 - TaskbarPreviewCallback::Done(): modernization and error-checking r=cmartin 2023-01-10 19:40:33 +00:00
TaskbarPreview.h
TaskbarPreviewButton.cpp
TaskbarPreviewButton.h
TaskbarTabPreview.cpp
TaskbarTabPreview.h
TaskbarWindowPreview.cpp
TaskbarWindowPreview.h
ToastNotification.cpp Bug 1073717 - [Web Notifications] Add support for "silent" toast notifications on Windows. r=mhowell 2023-01-07 01:03:53 +00:00
ToastNotification.h Bug 1797678 - Fix Windows native notifications interaction from prior Firefox instances and closed tabs. r=nalexander,Jamie,mossop 2023-01-06 18:36:21 +00:00
ToastNotificationHandler.cpp Bug 1073717 - [Web Notifications] Add support for "silent" toast notifications on Windows. r=mhowell 2023-01-07 01:03:53 +00:00
ToastNotificationHandler.h Bug 1073717 - [Web Notifications] Add support for "silent" toast notifications on Windows. r=mhowell 2023-01-07 01:03:53 +00:00
ToastNotificationHeaderOnlyUtils.h Bug 1816195 - Correct logged message for successful pipe wait for Windows Notification Server. r=nalexander 2023-02-15 00:08:56 +00:00
touchinjection_sdk80.h
TSFTextStore.cpp Bug 1815967: Add defines for MinGW in TSFTextStore r=firefox-build-system-reviewers,ahochheiden 2023-02-15 19:01:57 +00:00
TSFTextStore.h Bug 1805799 - Make TSFTextStore::Selection::Length use MOZ_ASSERT_IF instead of MOZ_ASSERT to access Maybe<TS_SELECTION_ACP> r=m_kato 2022-12-20 00:24:43 +00:00
UrlmonHeaderOnlyUtils.h
widget.rc
WidgetTraceEvent.cpp
WinCompositorWidget.cpp
WinCompositorWidget.h Bug 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
WinCompositorWindowThread.cpp Bug 1811634 Part 1: Deal with spurious wakeups in WinCompositorWindowThread::ShutDown. r=rkraesig 2023-01-27 23:19:48 +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
WindowsConsole.h
WindowsEMF.cpp
WindowsEMF.h
WindowsEventLog.h
WindowsSMTCProvider.cpp
WindowsSMTCProvider.h
WindowsUIUtils.cpp Bug 1736914 - Implement prefers-reduced-transparency media query r=geckoview-reviewers,emilio,jonalmeida,ohall 2023-03-13 21:30:17 +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
WinEventObserver.h
WinHeaderOnlyUtils.h
WinIMEHandler.cpp Bug 1796044 - part 15: Make intl.tsf.support_imm a static pref r=m_kato 2022-10-25 07:07:00 +00:00
WinIMEHandler.h Bug 1796044 - part 14: Get rid of intl.tsf.associate_imc_only_when_imm_ime_is_active r=m_kato 2022-10-25 07:07:00 +00:00
WinMessages.h
WinModifierKeyState.h
WinMouseScrollHandler.cpp Bug 1060421 - Change the type of [Int]PointTyped::[x|y] back to [Int]CoordTyped. r=botond 2022-11-04 18:29:35 +00:00
WinMouseScrollHandler.h
WinPointerEvents.cpp
WinPointerEvents.h
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 Bug 1542802 - Part 1: Replace LazyIdleThread with a thin wrapper around nsThreadPool, r=jesup,gstoll 2023-03-02 15:52:32 +00:00
WinUtils.h Bug 1542802 - Part 1: Replace LazyIdleThread with a thin wrapper around nsThreadPool, r=jesup,gstoll 2023-03-02 15:52:32 +00:00
WinWindowOcclusionTracker.cpp Bug 1423833: Give WinWindowOcclusionTracker safe shutdown timeout semantics. r=rkraesig 2023-01-27 23:19:08 +00:00
WinWindowOcclusionTracker.h Bug 1423833: Give WinWindowOcclusionTracker safe shutdown timeout semantics. r=rkraesig 2023-01-27 23:19:08 +00:00