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

Unified Diff: chrome/browser/renderer_preferences_util.cc

Issue 9826031: Fixing highlight color (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 9 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 | content/renderer/render_view_impl.cc » ('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 04382598efaff286c083f6f4edf4a39f92dda048..fd84a85079567ad4508509c3dc66e26d554e874b 100644
--- a/chrome/browser/renderer_preferences_util.cc
+++ b/chrome/browser/renderer_preferences_util.cc
@@ -21,7 +21,6 @@ void UpdateFromSystemSettings(
#if defined(TOOLKIT_USES_GTK)
gtk_util::UpdateGtkFontSettings(prefs);
-#if !defined(OS_CHROMEOS)
ThemeServiceGtk* theme_service = ThemeServiceGtk::GetFrom(profile);
prefs->focus_ring_color = theme_service->get_focus_ring_color();
@@ -36,15 +35,13 @@ void UpdateFromSystemSettings(
theme_service->get_inactive_selection_bg_color();
prefs->inactive_selection_fg_color =
theme_service->get_inactive_selection_fg_color();
-#else
- prefs->focus_ring_color = SkColorSetRGB(0x50, 0x7A, 0xD5);
- prefs->active_selection_bg_color = SkColorSetRGB(0xDC, 0xE4, 0xFA);
+#elif defined(USE_ASH)
+ // This color is 0x544d90fe modulated with 0xffffff.
+ prefs->active_selection_bg_color = SkColorSetRGB(0xCB, 0xE4, 0xFA);
prefs->active_selection_fg_color = SK_ColorBLACK;
prefs->inactive_selection_bg_color = SkColorSetRGB(0xEA, 0xEA, 0xEA);
prefs->inactive_selection_fg_color = SK_ColorBLACK;
-#endif // defined(OS_CHROMEOS)
-
-#endif // defined(TOOLKIT_USES_GTK)
+#endif
prefs->enable_referrers =
profile->GetPrefs()->GetBoolean(prefs::kEnableReferrers);
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698