fune/browser/modules
Shane Hughes 5d946f3d90 Bug 1818829 - Implement Feature Callout theme configuration. r=jprickett,omc-reviewers,fxview-reviewers,sfoster
Add logic to apply theme colors to Feature Callout based on where it's
going to show. We can use in-content CSS properties for Firefox View and
other themed system pages, but not for PDF.js, nor for any callouts we
might show in the browser chrome in the future. For the browser chrome
in general, we can use the lightweight theme properties directly, in the
same way the chrome frontend does. But PDF.js is a special case, since
although it exists in the chrome, it's meant to appear like it's in the
PDF.js viewer. And the PDF.js viewer has its own theme totally
independent of everything else. So this dynamically applies themes from
different sources.

This also fixes the bug where the PDF.js color scheme could mismatch the
PDF.js viewer if the browser theme and system color scheme don't match,
e.g. where system color scheme is light but a dark theme is installed,
or vice versa. For PDF.js specifically, we can use the
-moz-content-prefers-color-scheme media query to follow the color scheme
as it exists in the PDF.js viewer page instead of the color scheme in
the chrome window where the Feature Callout actually exists.

It also adds or modifies some colors that were previously missing or
different from the prototype, fixes the illegibility of buttons in HCM
and forced colors mode, and makes some other minor color changes.

Differential Revision: https://phabricator.services.mozilla.com/D173088
2023-03-28 00:38:42 +00:00
..
test Bug 1822016 - Update BrowserUsageTelemetry to account for history items r=Gijs 2023-03-27 14:22:18 +00:00
AboutNewTab.jsm Bug 1821897 - convert toolkit/components/remotepagemanager to ES modules. r=Standard8 2023-03-13 12:26:10 +00:00
AsyncTabSwitcher.jsm Bug 1813496 - Include the window id in profiler markers added in AsyncTabSwitcher.jsm, r=Gijs. 2023-01-30 16:53:04 +00:00
BackgroundTask_uninstall.sys.mjs Bug 1795880 - Add an ESLint rule to enforce using static imports where possible. r=arai,geckoview-reviewers,m_kato 2022-10-26 09:37:46 +00:00
BrowserUIUtils.jsm Bug 1821657 - Remove BrowserUIUtils.setToolbarButtonHeightProperty and related code. r=Gijs,desktop-theme-reviewers,dao 2023-03-13 11:56:55 +00:00
BrowserUsageTelemetry.jsm Bug 1822016 - Update BrowserUsageTelemetry to account for history items r=Gijs 2023-03-27 14:22:18 +00:00
BrowserWindowTracker.jsm Bug 1718082 - track current tab using browserId instead of top browsing context id for network prioritization purposes, r=nika,mconley,necko-reviewers,kershaw,valentin 2023-03-13 17:32:08 +00:00
ContentCrashHandlers.jsm Bug 1820882 - Convert consumers of toolkit/crashreporter to import ES modules directly r=Standard8 2023-03-15 11:14:22 +00:00
Discovery.jsm Bug 1806359 - Convert telemetry imports to direct ES imports. r=necko-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,janerik,mconley,sgalich,bytesized,kershaw 2022-12-23 12:37:07 +00:00
EveryWindow.jsm Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu 2022-07-11 12:41:50 +00:00
ExtensionsUI.jsm Bug 1820124 - Remove addonManager.action/link/view Telemetry events. r=rpl,settings-reviewers 2023-03-20 20:11:15 +00:00
FaviconLoader.jsm Bug 1808289 - Automatically replace Cu.reportError with console.error (browser/themes, browser/modules). r=Gijs 2023-01-03 19:16:20 +00:00
FeatureCallout.sys.mjs Bug 1818829 - Implement Feature Callout theme configuration. r=jprickett,omc-reviewers,fxview-reviewers,sfoster 2023-03-28 00:38:42 +00:00
HomePage.jsm Bug 1808289 - Automatically replace Cu.reportError with console.error (browser/themes, browser/modules). r=Gijs 2023-01-03 19:16:20 +00:00
LaterRun.jsm Bug 1808289 - Automatically replace Cu.reportError with console.error (browser/themes, browser/modules). r=Gijs 2023-01-03 19:16:20 +00:00
metrics.yaml Bug 1818512 - mirror browser.engagement.profile_count to glean r=chutten 2023-03-13 14:15:33 +00:00
moz.build Bug 1817443 - move url loading method implementations from utilityOverlay.js into their own helper module, r=mossop 2023-02-23 17:02:43 +00:00
NewTabPagePreloading.jsm Bug 1810141 - fix loadURI callers that already have an nsIURI reference or where creating one is clearly safe, r=mossop,geckoview-reviewers,extension-reviewers,settings-reviewers,mconley,m_kato 2023-02-13 23:50:40 +00:00
OpenInTabsUtils.jsm Bug 1760029 - Migrate tabbrowser.properties strings used by OpenInTabsUtils.jsm to Fluent. r=dao,fluent-reviewers,flod 2022-11-22 17:12:23 +00:00
PageActions.jsm Bug 1806306 - Convert AsyncShutdown imports to direct ES imports. r=mak,webdriver-reviewers,application-update-reviewers,bytesized 2022-12-23 12:37:06 +00:00
PartnerLinkAttribution.sys.mjs Bug 1814922 - Instrument PingCentre successes/failures by namespace r=nanj 2023-02-03 21:48:16 +00:00
PermissionUI.sys.mjs Bug 1811181 - Switch SitePermissions TemporaryPermissions and GloballyBlockedPermissions from prePath to origin key. r=prathiksha 2023-02-14 16:13:48 +00:00
PingCentre.jsm Bug 1814922 - Instrument PingCentre successes/failures by namespace r=nanj 2023-02-03 21:48:16 +00:00
ProcessHangMonitor.jsm Bug 1808289 - Automatically replace Cu.reportError with console.error (browser/themes, browser/modules). r=Gijs 2023-01-03 19:16:20 +00:00
Sanitizer.sys.mjs Backed out 2 changesets (bug 1578273, bug 1806620) as req for causing Bug 1816279. CLOSED TREE 2023-02-16 13:01:02 +02:00
SelectionChangedMenulist.jsm
SiteDataManager.jsm Bug 1808289 - Automatically replace Cu.reportError with console.error (browser/themes, browser/modules). r=Gijs 2023-01-03 19:16:20 +00:00
SitePermissions.jsm Bug 1811181 - Switch SitePermissions TemporaryPermissions and GloballyBlockedPermissions from prePath to origin key. r=prathiksha 2023-02-14 16:13:48 +00:00
TabsList.jsm Bug 953217 - Make middle-clicking in the Tab Manager list close the associated tab. r=dao 2023-03-01 13:52:47 +00:00
TabUnloader.jsm Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy 2022-10-18 11:21:26 +00:00
TransientPrefs.jsm Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy 2022-10-18 11:21:26 +00:00
URILoadingHelper.sys.mjs Bug 1817443 - document all the params for openLinkIn, r=mossop 2023-02-23 17:02:44 +00:00
webrtcUI.jsm Bug 1816436 - For webrtcIndicator use dialog everywhere. r=mconley 2023-02-16 14:50:23 +00:00
WindowsJumpLists.jsm Bug 1818158 - Add an nsINamed implementation on nsITimer callbacks implemented in JS encountered during startup, r=Gijs. 2023-02-22 19:43:42 +00:00
WindowsPreviewPerTab.jsm Bug 1808289 - Automatically replace Cu.reportError with console.error (browser/themes, browser/modules). r=Gijs 2023-01-03 19:16:20 +00:00
ZoomUI.jsm Bug 1808289 - Automatically replace Cu.reportError with console.error (browser/themes, browser/modules). r=Gijs 2023-01-03 19:16:20 +00:00