Chromium Code Reviews| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 121 TapMultipleTargetsStrategy tap_multiple_targets_strategy; | 121 TapMultipleTargetsStrategy tap_multiple_targets_strategy; |
| 122 | 122 |
| 123 // Disables rendering default error page when client choses to block a page. | 123 // Disables rendering default error page when client choses to block a page. |
| 124 // Corresponds to net::ERR_BLOCKED_BY_CLIENT. | 124 // Corresponds to net::ERR_BLOCKED_BY_CLIENT. |
| 125 bool disable_client_blocked_error_page; | 125 bool disable_client_blocked_error_page; |
| 126 | 126 |
| 127 // Determines whether plugins are allowed to enter fullscreen mode. | 127 // Determines whether plugins are allowed to enter fullscreen mode. |
| 128 bool plugin_fullscreen_allowed; | 128 bool plugin_fullscreen_allowed; |
| 129 | 129 |
| 130 // Whether video-overlay (hole-punching) should be used for the embedded | 130 // Whether video-overlay (hole-punching) should be used for the embedded |
| 131 // encrypted video. Currently only used by Android. | 131 // encrypted video. Currently used by Android and Chromecast |
|
ddorwin
2016/05/24 22:05:41
ditto
yucliu1
2016/05/25 00:43:21
How about adding a new flag?
| |
| 132 bool use_video_overlay_for_embedded_encrypted_video; | 132 bool use_video_overlay_for_embedded_encrypted_video; |
| 133 | 133 |
| 134 // Use video-overlay (hole-punching) should be used for all video, not just | 134 // Use video-overlay (hole-punching) should be used for all video, not just |
| 135 // encrypted video. Currently only used by Android. | 135 // encrypted video. Currently only used by Android. |
| 136 bool use_view_overlay_for_all_video; | 136 bool use_view_overlay_for_all_video; |
| 137 | 137 |
| 138 // Country iso of the mobile network for content detection purpose. | 138 // Country iso of the mobile network for content detection purpose. |
| 139 std::string network_contry_iso; | 139 std::string network_contry_iso; |
| 140 | 140 |
| 141 #if defined(OS_WIN) | 141 #if defined(OS_WIN) |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 169 int32_t arrow_bitmap_width_horizontal_scroll_bar_in_dips; | 169 int32_t arrow_bitmap_width_horizontal_scroll_bar_in_dips; |
| 170 #endif | 170 #endif |
| 171 | 171 |
| 172 // The default font size used for rendering on Linux. | 172 // The default font size used for rendering on Linux. |
| 173 int default_font_size; | 173 int default_font_size; |
| 174 }; | 174 }; |
| 175 | 175 |
| 176 } // namespace content | 176 } // namespace content |
| 177 | 177 |
| 178 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 178 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
| OLD | NEW |