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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 SkColor thumb_inactive_color; | 63 SkColor thumb_inactive_color; |
64 SkColor track_color; | 64 SkColor track_color; |
65 | 65 |
66 // The colors used in selection text. Currently only used on Linux. | 66 // The colors used in selection text. Currently only used on Linux. |
67 SkColor active_selection_bg_color; | 67 SkColor active_selection_bg_color; |
68 SkColor active_selection_fg_color; | 68 SkColor active_selection_fg_color; |
69 SkColor inactive_selection_bg_color; | 69 SkColor inactive_selection_bg_color; |
70 SkColor inactive_selection_fg_color; | 70 SkColor inactive_selection_fg_color; |
71 | 71 |
72 // Browser wants a look at all non-local top level navigation requests. | 72 // Browser wants a look at all non-local top level navigation requests. |
73 bool browser_handles_top_level_requests; | 73 bool browser_handles_non_local_top_level_requests; |
74 | 74 |
75 // Browser wants a look at all navigation requests. | 75 // Browser wants a look at all top-level navigation requests. |
76 bool browser_handles_all_requests; | 76 bool browser_handles_all_top_level_requests; |
77 | 77 |
78 // Cursor blink rate in seconds. | 78 // Cursor blink rate in seconds. |
79 // Currently only changed from default on Linux. Uses |gtk-cursor-blink| | 79 // Currently only changed from default on Linux. Uses |gtk-cursor-blink| |
80 // from GtkSettings. | 80 // from GtkSettings. |
81 double caret_blink_interval; | 81 double caret_blink_interval; |
82 | 82 |
83 // Set to false to not send referrers. | 83 // Set to false to not send referrers. |
84 bool enable_referrers; | 84 bool enable_referrers; |
85 | 85 |
86 // Default page zoom level. | 86 // Default page zoom level. |
87 double default_zoom_level; | 87 double default_zoom_level; |
88 }; | 88 }; |
89 | 89 |
90 } // namespace content | 90 } // namespace content |
91 | 91 |
92 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 92 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
OLD | NEW |