| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 bool browser_handles_all_top_level_requests; | 88 bool browser_handles_all_top_level_requests; |
| 89 | 89 |
| 90 // Cursor blink rate in seconds. | 90 // Cursor blink rate in seconds. |
| 91 // Currently only changed from default on Linux. Uses |gtk-cursor-blink| | 91 // Currently only changed from default on Linux. Uses |gtk-cursor-blink| |
| 92 // from GtkSettings. | 92 // from GtkSettings. |
| 93 double caret_blink_interval; | 93 double caret_blink_interval; |
| 94 | 94 |
| 95 // Set to false to not send referrers. | 95 // Set to false to not send referrers. |
| 96 bool enable_referrers; | 96 bool enable_referrers; |
| 97 | 97 |
| 98 // Set to true to indicate that the preference to set DNT to 1 is enabled. |
| 99 bool enable_do_not_track; |
| 100 |
| 98 // Default page zoom level. | 101 // Default page zoom level. |
| 99 double default_zoom_level; | 102 double default_zoom_level; |
| 100 | 103 |
| 101 // The user agent given to WebKit when it requests one and the user agent is | 104 // The user agent given to WebKit when it requests one and the user agent is |
| 102 // being overridden for the current navigation. | 105 // being overridden for the current navigation. |
| 103 std::string user_agent_override; | 106 std::string user_agent_override; |
| 104 | 107 |
| 105 // Specifies whether renderer input event throttle is enabled. | 108 // Specifies whether renderer input event throttle is enabled. |
| 106 bool throttle_input_events; | 109 bool throttle_input_events; |
| 107 }; | 110 }; |
| 108 | 111 |
| 109 } // namespace content | 112 } // namespace content |
| 110 | 113 |
| 111 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 114 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
| OLD | NEW |