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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 bool enable_referrers; | 95 bool enable_referrers; |
96 | 96 |
97 // Set to true to indicate that the preference to set DNT to 1 is enabled. | 97 // Set to true to indicate that the preference to set DNT to 1 is enabled. |
98 bool enable_do_not_track; | 98 bool enable_do_not_track; |
99 | 99 |
100 // This is the IP handling policy override for WebRTC. The value must be one | 100 // This is the IP handling policy override for WebRTC. The value must be one |
101 // of the strings defined in privacy.json. The allowed values are specified | 101 // of the strings defined in privacy.json. The allowed values are specified |
102 // in webrtc_ip_handling_policy.h. | 102 // in webrtc_ip_handling_policy.h. |
103 std::string webrtc_ip_handling_policy; | 103 std::string webrtc_ip_handling_policy; |
104 | 104 |
105 // Default page zoom level. | |
106 double default_zoom_level; | |
107 | |
108 // The user agent given to WebKit when it requests one and the user agent is | 105 // The user agent given to WebKit when it requests one and the user agent is |
109 // being overridden for the current navigation. | 106 // being overridden for the current navigation. |
110 std::string user_agent_override; | 107 std::string user_agent_override; |
111 | 108 |
112 // The accept-languages of the browser, comma-separated. | 109 // The accept-languages of the browser, comma-separated. |
113 std::string accept_languages; | 110 std::string accept_languages; |
114 | 111 |
115 // Specifies whether the renderer reports frame name changes to the browser | 112 // Specifies whether the renderer reports frame name changes to the browser |
116 // process. | 113 // process. |
117 // TODO(fsamuel): This is a short-term workaround to avoid regressing | 114 // TODO(fsamuel): This is a short-term workaround to avoid regressing |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 int32_t arrow_bitmap_width_horizontal_scroll_bar_in_dips; | 169 int32_t arrow_bitmap_width_horizontal_scroll_bar_in_dips; |
173 #endif | 170 #endif |
174 | 171 |
175 // The default font size used for rendering on Linux. | 172 // The default font size used for rendering on Linux. |
176 int default_font_size; | 173 int default_font_size; |
177 }; | 174 }; |
178 | 175 |
179 } // namespace content | 176 } // namespace content |
180 | 177 |
181 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 178 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
OLD | NEW |