gecko-dev/browser/components/shell
Ben Hearsum 4a06eb3f49 Bug 1750991: Add support for pinning a a Private Browsing mode shortcut to the Taskbar. r=mhowell
The bulk of this is wiring in a Private Browsing flag in the places that need it, and using some of the recently added WinTaskbar code to grab the correct AUMID. Beyond that, the notable parts are:
* The interface difference between isCurrentAppPinnedToTaskbarAsync and the other changed methods. I was hoping to use the Private Browsing flag everywhere, but doing so in code that run in a separate thread ended up crashing due to the Preferences usage in WinTaskbar (https://searchfox.org/mozilla-central/rev/9d66919569655a8fae9b431550241c058fa85b8a/widget/windows/WinTaskbar.cpp#216)
* The new string for the Private Browsing shortcut. The exact string may change, so it's hardcoded for now.
* Checking the AUMID of shortcuts when looking for a match (to make sure Private Browsing doesn't pick up non-private, and visa versa)
* Some fixes for tests of ShellService.jsm -- I honestly have no idea how these ever passed on Linux.

Differential Revision: https://phabricator.services.mozilla.com/D138196
2022-03-17 16:33:34 +00:00
..
content Bug 1750974 - Extend our ESLint import-globals-from function to support absolute directories. r=Gijs,mossop 2022-01-20 14:15:34 +00:00
search-provider-files
test Bug 1743783 - Ignore extra command options when taking a screenshot. r=mossop 2021-12-16 16:16:16 +00:00
HeadlessShell.jsm Bug 1743783 - Ignore extra command options when taking a screenshot. r=mossop 2021-12-16 16:16:16 +00:00
jar.mn
moz.build Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi 2021-12-23 20:29:07 +00:00
nsGNOMEShellDBusHelper.cpp
nsGNOMEShellDBusHelper.h
nsGNOMEShellSearchProvider.cpp
nsGNOMEShellSearchProvider.h
nsGNOMEShellService.cpp Bug 1757209 - Don't hardcode snap instance name. r=stransky 2022-02-28 15:07:16 +00:00
nsGNOMEShellService.h
nsIGNOMEShellService.idl
nsIMacShellService.idl
nsIShellService.idl
nsIWindowsShellService.idl Bug 1750991: Add support for pinning a a Private Browsing mode shortcut to the Taskbar. r=mhowell 2022-03-17 16:33:34 +00:00
nsMacShellService.cpp
nsMacShellService.h
nsShellService.h
nsToolkitShellService.h
nsWindowsShellService.cpp Bug 1750991: Add support for pinning a a Private Browsing mode shortcut to the Taskbar. r=mhowell 2022-03-17 16:33:34 +00:00
nsWindowsShellService.h
ScreenshotChild.jsm
ShellService.jsm Bug 1750991: Add support for pinning a a Private Browsing mode shortcut to the Taskbar. r=mhowell 2022-03-17 16:33:34 +00:00
WindowsDefaultBrowser.cpp Bug 1743427 - Enable pre-spawn CIG for socket process. r=bobowen 2021-12-27 02:40:14 +00:00
WindowsDefaultBrowser.h Bug 1743427 - Enable pre-spawn CIG for socket process. r=bobowen 2021-12-27 02:40:14 +00:00
WindowsUserChoice.cpp
WindowsUserChoice.h