Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: chrome/browser/themes/browser_theme_pack.cc

Issue 2051123002: Make COLOR_CONTROL_BACKGROUND customizable from a theme extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and increase kThemePackVersion Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/themes/browser_theme_pack_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/browser_theme_pack.cc
diff --git a/chrome/browser/themes/browser_theme_pack.cc b/chrome/browser/themes/browser_theme_pack.cc
index 70e81a834842847ff7612a322891752d73e20f6c..5dadf7a1d99447acc1429f742dee57a816053e33 100644
--- a/chrome/browser/themes/browser_theme_pack.cc
+++ b/chrome/browser/themes/browser_theme_pack.cc
@@ -49,7 +49,7 @@ namespace {
// theme packs that aren't int-equal to this. Increment this number if you
// change default theme assets or if you need themes to recreate their generated
// images (which are cached).
-const int kThemePackVersion = 42;
+const int kThemePackVersion = 43;
// IDs that are in the DataPack won't clash with the positive integer
// uint16_t. kHeaderID should always have the maximum value because we want the
@@ -266,6 +266,7 @@ const size_t kTintTableLength = arraysize(kTintTable);
// Strings used by themes to identify colors in the JSON.
StringToIntTable kColorTable[] = {
+ { "control_background", ThemeProperties::COLOR_CONTROL_BACKGROUND },
{ "frame", ThemeProperties::COLOR_FRAME },
{ "frame_inactive", ThemeProperties::COLOR_FRAME_INACTIVE },
{ "frame_incognito", ThemeProperties::COLOR_FRAME_INCOGNITO },
« no previous file with comments | « no previous file | chrome/browser/themes/browser_theme_pack_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698