| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/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/gtk/gtk_theme_provider.h" | 10 #include "chrome/browser/gtk/gtk_theme_provider.h" |
| 11 #include "chrome/browser/gtk/gtk_util.h" | 11 #include "chrome/browser/gtk/gtk_util.h" |
| 12 #endif | 12 #endif |
| 13 | 13 |
| 14 namespace renderer_preferences_util { | 14 namespace renderer_preferences_util { |
| 15 | 15 |
| 16 void UpdateFromSystemSettings(RendererPreferences* prefs, Profile* profile) { | 16 void UpdateFromSystemSettings(RendererPreferences* prefs, Profile* profile) { |
| 17 #if defined(TOOLKIT_USES_GTK) | 17 #if defined(TOOLKIT_USES_GTK) |
| (...skipping 19 matching lines...) Expand all Loading... |
| 37 prefs->active_selection_bg_color = SkColorSetRGB(0xDC, 0xE4, 0xFA); | 37 prefs->active_selection_bg_color = SkColorSetRGB(0xDC, 0xE4, 0xFA); |
| 38 prefs->active_selection_fg_color = SK_ColorBLACK; | 38 prefs->active_selection_fg_color = SK_ColorBLACK; |
| 39 prefs->inactive_selection_bg_color = SkColorSetRGB(0xF7, 0xF7, 0xF7); | 39 prefs->inactive_selection_bg_color = SkColorSetRGB(0xF7, 0xF7, 0xF7); |
| 40 prefs->inactive_selection_fg_color = SK_ColorBLACK; | 40 prefs->inactive_selection_fg_color = SK_ColorBLACK; |
| 41 #endif // defined(OS_CHROMEOS) | 41 #endif // defined(OS_CHROMEOS) |
| 42 | 42 |
| 43 #endif // defined(TOOLKIT_USES_GTK) | 43 #endif // defined(TOOLKIT_USES_GTK) |
| 44 } | 44 } |
| 45 | 45 |
| 46 } // renderer_preferences_util | 46 } // renderer_preferences_util |
| OLD | NEW |