OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/renderer_preferences_util.h" | 5 #include "chrome/browser/renderer_preferences_util.h" |
6 | 6 |
7 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
8 | 8 |
9 #if defined(TOOLKIT_USES_GTK) | 9 #if defined(TOOLKIT_USES_GTK) |
10 #include "chrome/browser/ui/gtk/gtk_theme_provider.h" | 10 #include "chrome/browser/ui/gtk/gtk_theme_provider.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 prefs->thumb_active_color = provider->get_thumb_active_color(); | 24 prefs->thumb_active_color = provider->get_thumb_active_color(); |
25 prefs->thumb_inactive_color = provider->get_thumb_inactive_color(); | 25 prefs->thumb_inactive_color = provider->get_thumb_inactive_color(); |
26 prefs->track_color = provider->get_track_color(); | 26 prefs->track_color = provider->get_track_color(); |
27 prefs->active_selection_bg_color = provider->get_active_selection_bg_color(); | 27 prefs->active_selection_bg_color = provider->get_active_selection_bg_color(); |
28 prefs->active_selection_fg_color = provider->get_active_selection_fg_color(); | 28 prefs->active_selection_fg_color = provider->get_active_selection_fg_color(); |
29 prefs->inactive_selection_bg_color = | 29 prefs->inactive_selection_bg_color = |
30 provider->get_inactive_selection_bg_color(); | 30 provider->get_inactive_selection_bg_color(); |
31 prefs->inactive_selection_fg_color = | 31 prefs->inactive_selection_fg_color = |
32 provider->get_inactive_selection_fg_color(); | 32 provider->get_inactive_selection_fg_color(); |
33 #else | 33 #else |
34 prefs->focus_ring_color = SkColorSetARGB(255, 229, 151, 0); | 34 prefs->focus_ring_color = SkColorSetRGB(0x50, 0x7A, 0xD5); |
35 prefs->active_selection_bg_color = SkColorSetRGB(0xDC, 0xE4, 0xFA); | 35 prefs->active_selection_bg_color = SkColorSetRGB(0xDC, 0xE4, 0xFA); |
36 prefs->active_selection_fg_color = SK_ColorBLACK; | 36 prefs->active_selection_fg_color = SK_ColorBLACK; |
37 prefs->inactive_selection_bg_color = SkColorSetRGB(0xF7, 0xF7, 0xF7); | 37 prefs->inactive_selection_bg_color = SkColorSetRGB(0xF7, 0xF7, 0xF7); |
38 prefs->inactive_selection_fg_color = SK_ColorBLACK; | 38 prefs->inactive_selection_fg_color = SK_ColorBLACK; |
39 #endif // defined(OS_CHROMEOS) | 39 #endif // defined(OS_CHROMEOS) |
40 | 40 |
41 #endif // defined(TOOLKIT_USES_GTK) | 41 #endif // defined(TOOLKIT_USES_GTK) |
42 } | 42 } |
43 | 43 |
44 } // renderer_preferences_util | 44 } // renderer_preferences_util |
OLD | NEW |