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

Unified Diff: chrome/browser/themes/theme_service_win.h

Issue 2605443002: Ensure UI elements contrast with the right frame color. (Closed)
Patch Set: Created 4 years 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
Index: chrome/browser/themes/theme_service_win.h
diff --git a/chrome/browser/themes/theme_service_win.h b/chrome/browser/themes/theme_service_win.h
index de91fc63fef9830ea5692a46fab3df5f552f9d60..baa1c33fccf44d7850596f9486204c14dd4edf0a 100644
--- a/chrome/browser/themes/theme_service_win.h
+++ b/chrome/browser/themes/theme_service_win.h
@@ -40,6 +40,10 @@ class ThemeServiceWin : public ThemeService {
// The frame color when active.
SkColor dwm_frame_color_;
+ // True if we took dwm_inactive_frame_color_ from the registry (vs calculating
+ // it ourselves) and thus Windows will use it too.
+ bool inactive_frame_color_from_registry_;
+
// The frame color when inactive.
SkColor dwm_inactive_frame_color_;
« no previous file with comments | « no previous file | chrome/browser/themes/theme_service_win.cc » ('j') | chrome/browser/themes/theme_service_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698