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

Unified Diff: chrome/browser/managed_mode/managed_user_theme.cc

Issue 133563002: Only refer to _WIN resources on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/managed_mode/managed_user_theme.cc
===================================================================
--- chrome/browser/managed_mode/managed_user_theme.cc (revision 243958)
+++ chrome/browser/managed_mode/managed_user_theme.cc (working copy)
@@ -21,14 +21,20 @@
int MapToManagedUserResourceIds(int id) {
switch (id) {
case IDR_THEME_FRAME:
+#if defined(OS_WIN)
case IDR_THEME_FRAME_WIN:
+#endif
return IDR_MANAGED_USER_THEME_FRAME;
case IDR_THEME_FRAME_INACTIVE:
+#if defined(OS_WIN)
case IDR_THEME_FRAME_INACTIVE_WIN:
+#endif
return IDR_MANAGED_USER_THEME_FRAME_INACTIVE;
case IDR_THEME_TAB_BACKGROUND:
case IDR_THEME_TAB_BACKGROUND_V:
+#if defined(OS_WIN)
case IDR_THEME_TAB_BACKGROUND_WIN:
+#endif
return IDR_MANAGED_USER_THEME_TAB_BACKGROUND;
}
return id;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698