OLD | NEW |
1 // Copyright (c) 2006-2008 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 // 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. |
11 | 11 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 SkColor inactive_selection_bg_color; | 66 SkColor inactive_selection_bg_color; |
67 SkColor inactive_selection_fg_color; | 67 SkColor inactive_selection_fg_color; |
68 | 68 |
69 // Browser wants a look at all top level requests | 69 // Browser wants a look at all top level requests |
70 bool browser_handles_top_level_requests; | 70 bool browser_handles_top_level_requests; |
71 | 71 |
72 // Cursor blink rate in seconds. | 72 // Cursor blink rate in seconds. |
73 // Currently only changed from default on Linux. Uses |gtk-cursor-blink| | 73 // Currently only changed from default on Linux. Uses |gtk-cursor-blink| |
74 // from GtkSettings. | 74 // from GtkSettings. |
75 double caret_blink_interval; | 75 double caret_blink_interval; |
| 76 |
| 77 // Set to false to not send referrers. |
| 78 bool enable_referrers; |
76 }; | 79 }; |
77 | 80 |
78 #endif // CONTENT_COMMON_RENDERER_PREFERENCES_H_ | 81 #endif // CONTENT_COMMON_RENDERER_PREFERENCES_H_ |
OLD | NEW |