| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 float expensive_background_throttling_max_delay; | 220 float expensive_background_throttling_max_delay; |
| 221 | 221 |
| 222 #if defined(OS_ANDROID) | 222 #if defined(OS_ANDROID) |
| 223 bool text_autosizing_enabled; | 223 bool text_autosizing_enabled; |
| 224 float font_scale_factor; | 224 float font_scale_factor; |
| 225 float device_scale_adjustment; | 225 float device_scale_adjustment; |
| 226 bool force_enable_zoom; | 226 bool force_enable_zoom; |
| 227 bool fullscreen_supported; | 227 bool fullscreen_supported; |
| 228 bool double_tap_to_zoom_enabled; | 228 bool double_tap_to_zoom_enabled; |
| 229 bool user_gesture_required_for_media_playback; | 229 bool user_gesture_required_for_media_playback; |
| 230 std::string media_playback_gesture_whitelist_scope; |
| 230 GURL default_video_poster_url; | 231 GURL default_video_poster_url; |
| 231 bool support_deprecated_target_density_dpi; | 232 bool support_deprecated_target_density_dpi; |
| 232 bool use_legacy_background_size_shorthand_behavior; | 233 bool use_legacy_background_size_shorthand_behavior; |
| 233 bool wide_viewport_quirk; | 234 bool wide_viewport_quirk; |
| 234 bool use_wide_viewport; | 235 bool use_wide_viewport; |
| 235 bool force_zero_layout_height; | 236 bool force_zero_layout_height; |
| 236 bool viewport_meta_layout_size_quirk; | 237 bool viewport_meta_layout_size_quirk; |
| 237 bool viewport_meta_merge_content_quirk; | 238 bool viewport_meta_merge_content_quirk; |
| 238 bool viewport_meta_non_user_scalable_quirk; | 239 bool viewport_meta_non_user_scalable_quirk; |
| 239 bool viewport_meta_zero_values_quirk; | 240 bool viewport_meta_zero_values_quirk; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 // chrome, except for the cases where it would require lots of extra work for | 288 // chrome, except for the cases where it would require lots of extra work for |
| 288 // the embedder to use the same default value. | 289 // the embedder to use the same default value. |
| 289 WebPreferences(); | 290 WebPreferences(); |
| 290 WebPreferences(const WebPreferences& other); | 291 WebPreferences(const WebPreferences& other); |
| 291 ~WebPreferences(); | 292 ~WebPreferences(); |
| 292 }; | 293 }; |
| 293 | 294 |
| 294 } // namespace content | 295 } // namespace content |
| 295 | 296 |
| 296 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 297 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |