OLD | NEW |
1 // Copyright (c) 2011 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/view_messages.h, browser/browser.cc, etc. | 10 // common/view_messages.h, browser/browser.cc, etc. |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 // Browser wants a look at all top level requests | 72 // Browser wants a look at all top level requests |
73 bool browser_handles_top_level_requests; | 73 bool browser_handles_top_level_requests; |
74 | 74 |
75 // Cursor blink rate in seconds. | 75 // Cursor blink rate in seconds. |
76 // Currently only changed from default on Linux. Uses |gtk-cursor-blink| | 76 // Currently only changed from default on Linux. Uses |gtk-cursor-blink| |
77 // from GtkSettings. | 77 // from GtkSettings. |
78 double caret_blink_interval; | 78 double caret_blink_interval; |
79 | 79 |
80 // Set to false to not send referrers. | 80 // Set to false to not send referrers. |
81 bool enable_referrers; | 81 bool enable_referrers; |
| 82 |
| 83 // Default page zoom level. |
| 84 double default_zoom_level; |
82 }; | 85 }; |
83 | 86 |
84 } // namespace content | 87 } // namespace content |
85 | 88 |
86 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 89 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
OLD | NEW |