OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/view_messages.h, browser/browser.cc, etc. | 10 // common/view_messages.h, browser/browser.cc, etc. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 // The color of the focus ring. Currently only used on Linux. | 69 // The color of the focus ring. Currently only used on Linux. |
70 SkColor focus_ring_color; | 70 SkColor focus_ring_color; |
71 | 71 |
72 // The color of different parts of the scrollbar. Currently only used on | 72 // The color of different parts of the scrollbar. Currently only used on |
73 // Linux. | 73 // Linux. |
74 SkColor thumb_active_color; | 74 SkColor thumb_active_color; |
75 SkColor thumb_inactive_color; | 75 SkColor thumb_inactive_color; |
76 SkColor track_color; | 76 SkColor track_color; |
77 | 77 |
78 // The colors used in selection text. Currently only used on Linux. | 78 // The colors used in selection text. Currently only used on Linux and Ash. |
79 SkColor active_selection_bg_color; | 79 SkColor active_selection_bg_color; |
80 SkColor active_selection_fg_color; | 80 SkColor active_selection_fg_color; |
81 SkColor inactive_selection_bg_color; | 81 SkColor inactive_selection_bg_color; |
82 SkColor inactive_selection_fg_color; | 82 SkColor inactive_selection_fg_color; |
83 | 83 |
84 // Browser wants a look at all non-local top level navigation requests. | 84 // Browser wants a look at all non-local top level navigation requests. |
85 bool browser_handles_non_local_top_level_requests; | 85 bool browser_handles_non_local_top_level_requests; |
86 | 86 |
87 // Browser wants a look at all top-level navigation requests. | 87 // Browser wants a look at all top-level navigation requests. |
88 bool browser_handles_all_top_level_requests; | 88 bool browser_handles_all_top_level_requests; |
(...skipping 16 matching lines...) Expand all Loading... |
105 // being overridden for the current navigation. | 105 // being overridden for the current navigation. |
106 std::string user_agent_override; | 106 std::string user_agent_override; |
107 | 107 |
108 // Specifies whether renderer input event throttle is enabled. | 108 // Specifies whether renderer input event throttle is enabled. |
109 bool throttle_input_events; | 109 bool throttle_input_events; |
110 }; | 110 }; |
111 | 111 |
112 } // namespace content | 112 } // namespace content |
113 | 113 |
114 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 114 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
OLD | NEW |