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

Unified Diff: ui/native_theme/native_theme.cc

Issue 11421204: Use native theme colors for textfields; etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nix cursor color; adjust textfield functions; add read-only theme colors. Created 8 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: ui/native_theme/native_theme.cc
diff --git a/ui/native_theme/native_theme.cc b/ui/native_theme/native_theme.cc
index 6bc7a93ba835f52584ef2c560e0afee9f6d5d020..374718b7fd9205743e5f86e2723db3a4ba8a71a8 100644
--- a/ui/native_theme/native_theme.cc
+++ b/ui/native_theme/native_theme.cc
@@ -29,9 +29,14 @@ bool NativeTheme::IsNewMenuStyleEnabled() {
}
NativeTheme::NativeTheme()
- : thumb_inactive_color_(0xeaeaea),
+ : ALLOW_THIS_IN_INITIALIZER_LIST(color_change_listener_(this)),
+ thumb_inactive_color_(0xeaeaea),
thumb_active_color_(0xf4f4f4),
track_color_(0xd3d3d3) {
}
+NativeTheme::~NativeTheme() {}
+
+void NativeTheme::OnSysColorChange() {}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698