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

Unified Diff: chrome/browser/renderer_preferences_util.cc

Issue 554004: GTK: Use GTK+ theme selection colors and plumb them into webkit. (Closed)
Patch Set: Move layout tests to correct paths Created 10 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 | « chrome/browser/gtk/gtk_theme_provider.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_preferences_util.cc
diff --git a/chrome/browser/renderer_preferences_util.cc b/chrome/browser/renderer_preferences_util.cc
index de9f711101e3ed56a2c6fc7c4d3d19d3e2e761c1..28b4c05718f56ad9fcc82427b4490d9670dd6f55 100644
--- a/chrome/browser/renderer_preferences_util.cc
+++ b/chrome/browser/renderer_preferences_util.cc
@@ -24,6 +24,12 @@ void UpdateFromSystemSettings(RendererPreferences* prefs, Profile* profile) {
prefs->thumb_active_color = provider->get_thumb_active_color();
prefs->thumb_inactive_color = provider->get_thumb_inactive_color();
prefs->track_color = provider->get_track_color();
+ prefs->active_selection_bg_color = provider->get_active_selection_bg_color();
+ prefs->active_selection_fg_color = provider->get_active_selection_fg_color();
+ prefs->inactive_selection_bg_color =
+ provider->get_inactive_selection_bg_color();
+ prefs->inactive_selection_fg_color =
+ provider->get_inactive_selection_fg_color();
#endif // !defined(TOOLKIT_VIEWS)
#endif // defined(OS_LINUX)
}
« no previous file with comments | « chrome/browser/gtk/gtk_theme_provider.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698