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

Side by Side Diff: chrome/browser/renderer_preferences_util.cc

Issue 6254004: Move more web widgets painting from webkit to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and fix width100percent-checkbox Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/native_theme_chromeos.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/native_theme_chromeos.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698