| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 bool spellcheck_enabled_by_default; | 245 bool spellcheck_enabled_by_default; |
| 246 // If enabled, when a video goes fullscreen, the orientation should be locked. | 246 // If enabled, when a video goes fullscreen, the orientation should be locked. |
| 247 bool video_fullscreen_orientation_lock_enabled; | 247 bool video_fullscreen_orientation_lock_enabled; |
| 248 // If enabled, fullscreen should be entered/exited when the device is rotated | 248 // If enabled, fullscreen should be entered/exited when the device is rotated |
| 249 // to/from the orientation of the video. | 249 // to/from the orientation of the video. |
| 250 bool video_rotate_to_fullscreen_enabled; | 250 bool video_rotate_to_fullscreen_enabled; |
| 251 // If enabled, video fullscreen detection will be enabled. | 251 // If enabled, video fullscreen detection will be enabled. |
| 252 bool video_fullscreen_detection_enabled; | 252 bool video_fullscreen_detection_enabled; |
| 253 bool embedded_media_experience_enabled; | 253 bool embedded_media_experience_enabled; |
| 254 bool page_popups_suppressed; | 254 bool page_popups_suppressed; |
| 255 bool enable_media_in_product_help; |
| 255 #else // defined(OS_ANDROID) | 256 #else // defined(OS_ANDROID) |
| 256 #endif // defined(OS_ANDROID) | 257 #endif // defined(OS_ANDROID) |
| 257 | 258 |
| 258 // Default (used if the page or UA doesn't override these) values for page | 259 // Default (used if the page or UA doesn't override these) values for page |
| 259 // scale limits. These are set directly on the WebView so there's no analogue | 260 // scale limits. These are set directly on the WebView so there's no analogue |
| 260 // in WebSettings. | 261 // in WebSettings. |
| 261 float default_minimum_page_scale_factor; | 262 float default_minimum_page_scale_factor; |
| 262 float default_maximum_page_scale_factor; | 263 float default_maximum_page_scale_factor; |
| 263 | 264 |
| 264 // Whether download UI should be hidden on this page. | 265 // Whether download UI should be hidden on this page. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 294 // chrome, except for the cases where it would require lots of extra work for | 295 // chrome, except for the cases where it would require lots of extra work for |
| 295 // the embedder to use the same default value. | 296 // the embedder to use the same default value. |
| 296 WebPreferences(); | 297 WebPreferences(); |
| 297 WebPreferences(const WebPreferences& other); | 298 WebPreferences(const WebPreferences& other); |
| 298 ~WebPreferences(); | 299 ~WebPreferences(); |
| 299 }; | 300 }; |
| 300 | 301 |
| 301 } // namespace content | 302 } // namespace content |
| 302 | 303 |
| 303 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 304 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |