| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 // Set to true to indicate that the preference to set DNT to 1 is enabled. | 96 // Set to true to indicate that the preference to set DNT to 1 is enabled. |
| 97 bool enable_do_not_track; | 97 bool enable_do_not_track; |
| 98 | 98 |
| 99 // Set to false to indicate that WebRTC should use the OS default routing. | 99 // Set to false to indicate that WebRTC should use the OS default routing. |
| 100 bool enable_webrtc_multiple_routes; | 100 bool enable_webrtc_multiple_routes; |
| 101 | 101 |
| 102 // Set to false to indicate that WebRTC should not use non-proxied UDP to | 102 // Set to false to indicate that WebRTC should not use non-proxied UDP to |
| 103 // connect to peers and TURN servers, which effectively disables all WebRTC's | 103 // connect to peers and TURN servers, which effectively disables all WebRTC's |
| 104 // UDP traffic for now, until UDP-based proxy support is available in | 104 // UDP traffic for now, until UDP-based proxy support is available in |
| 105 // Chromium. Default is true. | 105 // Chromium. Default is true. |
| 106 bool enable_webrtc_nonproxied_udp_transport; | 106 bool enable_webrtc_nonproxied_udp; |
| 107 | 107 |
| 108 // Default page zoom level. | 108 // Default page zoom level. |
| 109 double default_zoom_level; | 109 double default_zoom_level; |
| 110 | 110 |
| 111 // The user agent given to WebKit when it requests one and the user agent is | 111 // The user agent given to WebKit when it requests one and the user agent is |
| 112 // being overridden for the current navigation. | 112 // being overridden for the current navigation. |
| 113 std::string user_agent_override; | 113 std::string user_agent_override; |
| 114 | 114 |
| 115 // The accept-languages of the browser, comma-separated. | 115 // The accept-languages of the browser, comma-separated. |
| 116 std::string accept_languages; | 116 std::string accept_languages; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 int32 arrow_bitmap_width_horizontal_scroll_bar_in_dips; | 175 int32 arrow_bitmap_width_horizontal_scroll_bar_in_dips; |
| 176 #endif | 176 #endif |
| 177 | 177 |
| 178 // The default font size used for rendering on Linux. | 178 // The default font size used for rendering on Linux. |
| 179 int default_font_size; | 179 int default_font_size; |
| 180 }; | 180 }; |
| 181 | 181 |
| 182 } // namespace content | 182 } // namespace content |
| 183 | 183 |
| 184 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 184 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
| OLD | NEW |