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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 // Default page zoom level. | 101 // Default page zoom level. |
102 double default_zoom_level; | 102 double default_zoom_level; |
103 | 103 |
104 // 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 |
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 |
| 111 // Specifies whether the renderer reports frame name changes to the browser |
| 112 // process. |
| 113 // TODO(fsamuel): This is a short-term workaround to avoid regressing |
| 114 // Sunspider. We need to find an efficient way to report changes to frame |
| 115 // names to the browser process. See http://crbug.com/169110 for more |
| 116 // information. |
| 117 bool report_frame_name_changes; |
110 }; | 118 }; |
111 | 119 |
112 } // namespace content | 120 } // namespace content |
113 | 121 |
114 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 122 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
OLD | NEW |