| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 // Whether or not to set custom colors at all. | 87 // Whether or not to set custom colors at all. |
| 88 bool use_custom_colors; | 88 bool use_custom_colors; |
| 89 | 89 |
| 90 // Set to false to not send referrers. | 90 // Set to false to not send referrers. |
| 91 bool enable_referrers; | 91 bool enable_referrers; |
| 92 | 92 |
| 93 // Set to true to indicate that the preference to set DNT to 1 is enabled. | 93 // Set to true to indicate that the preference to set DNT to 1 is enabled. |
| 94 bool enable_do_not_track; | 94 bool enable_do_not_track; |
| 95 | 95 |
| 96 // Set to false to indicate that WebRTC should use the OS default routing. | 96 // This is the IP handling policy override for WebRTC. The value must be one |
| 97 bool enable_webrtc_multiple_routes; | 97 // of the strings defined in privacy.json. Default is in brower_ui_prefs.cc. |
| 98 | 98 std::string webrtc_ip_handling_policy; |
| 99 // Set to false to indicate that WebRTC should not use non-proxied UDP to | |
| 100 // connect to peers and TURN servers, which effectively disables all WebRTC's | |
| 101 // UDP traffic for now, until UDP-based proxy support is available in | |
| 102 // Chromium. Default is true. | |
| 103 bool enable_webrtc_nonproxied_udp; | |
| 104 | 99 |
| 105 // Default page zoom level. | 100 // Default page zoom level. |
| 106 double default_zoom_level; | 101 double default_zoom_level; |
| 107 | 102 |
| 108 // The user agent given to WebKit when it requests one and the user agent is | 103 // The user agent given to WebKit when it requests one and the user agent is |
| 109 // being overridden for the current navigation. | 104 // being overridden for the current navigation. |
| 110 std::string user_agent_override; | 105 std::string user_agent_override; |
| 111 | 106 |
| 112 // The accept-languages of the browser, comma-separated. | 107 // The accept-languages of the browser, comma-separated. |
| 113 std::string accept_languages; | 108 std::string accept_languages; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 int32 arrow_bitmap_width_horizontal_scroll_bar_in_dips; | 167 int32 arrow_bitmap_width_horizontal_scroll_bar_in_dips; |
| 173 #endif | 168 #endif |
| 174 | 169 |
| 175 // The default font size used for rendering on Linux. | 170 // The default font size used for rendering on Linux. |
| 176 int default_font_size; | 171 int default_font_size; |
| 177 }; | 172 }; |
| 178 | 173 |
| 179 } // namespace content | 174 } // namespace content |
| 180 | 175 |
| 181 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 176 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
| OLD | NEW |