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

Side by Side Diff: chrome/common/renderer_preferences.h

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 unified diff | Download patch
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/render_view.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // A struct for managing browser's settings that apply to the renderer or its 5 // A struct for managing browser's settings that apply to the renderer or its
6 // webview. These differ from WebPreferences since they apply to Chromium's 6 // webview. These differ from WebPreferences since they apply to Chromium's
7 // glue layer rather than applying to just WebKit. 7 // glue layer rather than applying to just WebKit.
8 // 8 //
9 // Adding new values to this class probably involves updating 9 // Adding new values to this class probably involves updating
10 // common/render_messages.h, browser/browser.cc, etc. 10 // common/render_messages.h, browser/browser.cc, etc.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 // The color of the focus ring. Currently only used on Linux. 51 // The color of the focus ring. Currently only used on Linux.
52 SkColor focus_ring_color; 52 SkColor focus_ring_color;
53 53
54 // The color of different parts of the scrollbar. Currently only used on 54 // The color of different parts of the scrollbar. Currently only used on
55 // Linux. 55 // Linux.
56 SkColor thumb_active_color; 56 SkColor thumb_active_color;
57 SkColor thumb_inactive_color; 57 SkColor thumb_inactive_color;
58 SkColor track_color; 58 SkColor track_color;
59 59
60 // The colors used in selection text. Currently only used on Linux.
61 SkColor active_selection_bg_color;
62 SkColor active_selection_fg_color;
63 SkColor inactive_selection_bg_color;
64 SkColor inactive_selection_fg_color;
65
60 // Browser wants a look at all top level requests 66 // Browser wants a look at all top level requests
61 bool browser_handles_top_level_requests; 67 bool browser_handles_top_level_requests;
62 68
63 RendererPreferences() 69 RendererPreferences()
64 : can_accept_load_drops(true), 70 : can_accept_load_drops(true),
65 should_antialias_text(true), 71 should_antialias_text(true),
66 hinting(RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT), 72 hinting(RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT),
67 subpixel_rendering( 73 subpixel_rendering(
68 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT), 74 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT),
69 focus_ring_color(0), 75 focus_ring_color(0),
70 thumb_active_color(0), 76 thumb_active_color(0),
71 thumb_inactive_color(0), 77 thumb_inactive_color(0),
72 track_color(0), 78 track_color(0),
79 active_selection_bg_color(0),
80 active_selection_fg_color(0),
81 inactive_selection_bg_color(0),
82 inactive_selection_fg_color(0),
73 browser_handles_top_level_requests(false) { 83 browser_handles_top_level_requests(false) {
74 } 84 }
75 }; 85 };
76 86
77 #endif // CHROME_COMMON_RENDERER_PREFERENCES_H_ 87 #endif // CHROME_COMMON_RENDERER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698