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

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

Issue 2381283003: Have Chrome draw top window border when using custom titlebar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove default Created 4 years, 2 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/browser/themes/theme_properties.h ('k') | chrome/browser/themes/theme_service_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/theme_properties.cc
diff --git a/chrome/browser/themes/theme_properties.cc b/chrome/browser/themes/theme_properties.cc
index aaf7b7e08815a44b4c465116e72790aefc2a3451..30462989d5d967d1a095f9d342a01addbfe6d5ef 100644
--- a/chrome/browser/themes/theme_properties.cc
+++ b/chrome/browser/themes/theme_properties.cc
@@ -353,12 +353,19 @@ SkColor ThemeProperties::GetDefaultColor(int id, bool otr) {
case COLOR_TOOLBAR_STROKE_THEME_INACTIVE:
return kDefaultColorToolbarStrokeThemeInactive;
#endif
+#if defined(OS_WIN)
+ case COLOR_ACCENT_BORDER:
+ NOTREACHED();
+ return gfx::kPlaceholderColor;
+#endif
+
case COLOR_FRAME_INCOGNITO:
case COLOR_FRAME_INCOGNITO_INACTIVE:
NOTREACHED() << "These values should be queried via their respective "
"non-incognito equivalents and an appropriate |otr| "
"value.";
- default:
return gfx::kPlaceholderColor;
}
+
+ return gfx::kPlaceholderColor;
}
« no previous file with comments | « chrome/browser/themes/theme_properties.h ('k') | chrome/browser/themes/theme_service_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698