| 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 // This is the range of UDP ports allowed to be used by WebRTC. A value of |
| 106 // zero in both fields means all ports are allowed. |
| 107 uint16_t webrtc_udp_min_port; |
| 108 uint16_t webrtc_udp_max_port; |
| 109 |
| 105 // The user agent given to WebKit when it requests one and the user agent is | 110 // The user agent given to WebKit when it requests one and the user agent is |
| 106 // being overridden for the current navigation. | 111 // being overridden for the current navigation. |
| 107 std::string user_agent_override; | 112 std::string user_agent_override; |
| 108 | 113 |
| 109 // The accept-languages of the browser, comma-separated. | 114 // The accept-languages of the browser, comma-separated. |
| 110 std::string accept_languages; | 115 std::string accept_languages; |
| 111 | 116 |
| 112 // Specifies whether the renderer reports frame name changes to the browser | 117 // Specifies whether the renderer reports frame name changes to the browser |
| 113 // process. | 118 // process. |
| 114 // TODO(fsamuel): This is a short-term workaround to avoid regressing | 119 // TODO(fsamuel): This is a short-term workaround to avoid regressing |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 int32_t arrow_bitmap_width_horizontal_scroll_bar_in_dips; | 174 int32_t arrow_bitmap_width_horizontal_scroll_bar_in_dips; |
| 170 #endif | 175 #endif |
| 171 | 176 |
| 172 // The default font size used for rendering on Linux. | 177 // The default font size used for rendering on Linux. |
| 173 int default_font_size; | 178 int default_font_size; |
| 174 }; | 179 }; |
| 175 | 180 |
| 176 } // namespace content | 181 } // namespace content |
| 177 | 182 |
| 178 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 183 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
| OLD | NEW |