| 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 bool wide_viewport_quirk; | 206 bool wide_viewport_quirk; |
| 207 bool use_wide_viewport; | 207 bool use_wide_viewport; |
| 208 bool force_zero_layout_height; | 208 bool force_zero_layout_height; |
| 209 bool viewport_meta_layout_size_quirk; | 209 bool viewport_meta_layout_size_quirk; |
| 210 bool viewport_meta_merge_content_quirk; | 210 bool viewport_meta_merge_content_quirk; |
| 211 bool viewport_meta_non_user_scalable_quirk; | 211 bool viewport_meta_non_user_scalable_quirk; |
| 212 bool viewport_meta_zero_values_quirk; | 212 bool viewport_meta_zero_values_quirk; |
| 213 bool clobber_user_agent_initial_scale_quirk; | 213 bool clobber_user_agent_initial_scale_quirk; |
| 214 bool ignore_main_frame_overflow_hidden_quirk; | 214 bool ignore_main_frame_overflow_hidden_quirk; |
| 215 bool report_screen_size_in_physical_pixels_quirk; | 215 bool report_screen_size_in_physical_pixels_quirk; |
| 216 std::string autoplay_experiment_mode; |
| 217 #endif |
| 218 |
| 219 #if defined(OS_ANDROID) || defined(ENABLE_BLIMP_WEB_PREFS) |
| 216 bool record_whole_document; | 220 bool record_whole_document; |
| 217 std::string autoplay_experiment_mode; | |
| 218 #endif | 221 #endif |
| 219 | 222 |
| 220 // Default (used if the page or UA doesn't override these) values for page | 223 // Default (used if the page or UA doesn't override these) values for page |
| 221 // scale limits. These are set directly on the WebView so there's no analogue | 224 // scale limits. These are set directly on the WebView so there's no analogue |
| 222 // in WebSettings. | 225 // in WebSettings. |
| 223 float default_minimum_page_scale_factor; | 226 float default_minimum_page_scale_factor; |
| 224 float default_maximum_page_scale_factor; | 227 float default_maximum_page_scale_factor; |
| 225 | 228 |
| 226 // We try to keep the default values the same as the default values in | 229 // We try to keep the default values the same as the default values in |
| 227 // chrome, except for the cases where it would require lots of extra work for | 230 // chrome, except for the cases where it would require lots of extra work for |
| 228 // the embedder to use the same default value. | 231 // the embedder to use the same default value. |
| 229 WebPreferences(); | 232 WebPreferences(); |
| 230 WebPreferences(const WebPreferences& other); | 233 WebPreferences(const WebPreferences& other); |
| 231 ~WebPreferences(); | 234 ~WebPreferences(); |
| 232 }; | 235 }; |
| 233 | 236 |
| 234 } // namespace content | 237 } // namespace content |
| 235 | 238 |
| 236 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 239 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |