Bug 1514715 - Update color prefs for new color IDs including -moz-win-accentcolor. r=jmathies, a=RyanVM
authorKestrel <ke5trel@protonmail.com>
Wed, 09 Jan 2019 16:37:34 +0000
changeset 506684 192563fa8623
parent 506683 6e759841cfad
child 506685 aa0bf52184e6
push id10511
push userryanvm@gmail.com
push dateMon, 14 Jan 2019 14:27:14 +0000
treeherdermozilla-beta@7448d41d4fdc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmathies, RyanVM
bugs1514715
milestone65.0
Bug 1514715 - Update color prefs for new color IDs including -moz-win-accentcolor. r=jmathies, a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D14723
widget/nsXPLookAndFeel.cpp
--- a/widget/nsXPLookAndFeel.cpp
+++ b/widget/nsXPLookAndFeel.cpp
@@ -192,21 +192,24 @@ const char nsXPLookAndFeel::sColorPrefs[
     "ui.-moz-mac-vibrant-titlebar-dark",
     "ui.-moz-mac-menupopup",
     "ui.-moz-mac-menuitem",
     "ui.-moz-mac-active-menuitem",
     "ui.-moz-mac-source-list",
     "ui.-moz-mac-source-list-selection",
     "ui.-moz-mac-active-source-list-selection",
     "ui.-moz-mac-tooltip",
+    "ui.-moz-win-accentcolor",
+    "ui.-moz-win-accentcolortext",
     "ui.-moz-win-mediatext",
     "ui.-moz-win-communicationstext",
     "ui.-moz-nativehyperlinktext",
     "ui.-moz-comboboxtext",
-    "ui.-moz-combobox"};
+    "ui.-moz-combobox",
+    "ui.-moz-gtk-info-bar-text"};
 
 int32_t nsXPLookAndFeel::sCachedColors[LookAndFeel::eColorID_LAST_COLOR] = {0};
 int32_t nsXPLookAndFeel::sCachedColorBits[COLOR_CACHE_SIZE] = {0};
 
 bool nsXPLookAndFeel::sInitialized = false;
 bool nsXPLookAndFeel::sUseNativeColors = true;
 bool nsXPLookAndFeel::sUseStandinsForNativeColors = false;
 bool nsXPLookAndFeel::sFindbarModalHighlight = false;