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

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

Issue 17542002: Add theme tab background images. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add theme tab background images. Created 7 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 | « chrome/app/theme/theme_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/theme_service.cc
diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc
index 1a7cb7b2e1d73f1a486085c2a67d1b0852ab09e1..f9e0596ccd5a808760dace7da73c688e4e630e9f 100644
--- a/chrome/browser/themes/theme_service.cc
+++ b/chrome/browser/themes/theme_service.cc
@@ -115,6 +115,8 @@ gfx::Image ThemeService::GetImageNamed(int id) const {
id = IDR_MANAGED_USER_THEME_FRAME;
else if (id == IDR_THEME_FRAME_INACTIVE)
id = IDR_MANAGED_USER_THEME_FRAME_INACTIVE;
+ else if (id == IDR_THEME_TAB_BACKGROUND || id == IDR_THEME_TAB_BACKGROUND_V)
+ id = IDR_MANAGED_USER_THEME_TAB_BACKGROUND;
}
gfx::Image image;
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698