| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 bool viewport_meta_layout_size_quirk; | 235 bool viewport_meta_layout_size_quirk; |
| 236 bool viewport_meta_merge_content_quirk; | 236 bool viewport_meta_merge_content_quirk; |
| 237 bool viewport_meta_non_user_scalable_quirk; | 237 bool viewport_meta_non_user_scalable_quirk; |
| 238 bool viewport_meta_zero_values_quirk; | 238 bool viewport_meta_zero_values_quirk; |
| 239 bool clobber_user_agent_initial_scale_quirk; | 239 bool clobber_user_agent_initial_scale_quirk; |
| 240 bool ignore_main_frame_overflow_hidden_quirk; | 240 bool ignore_main_frame_overflow_hidden_quirk; |
| 241 bool report_screen_size_in_physical_pixels_quirk; | 241 bool report_screen_size_in_physical_pixels_quirk; |
| 242 // Used by Android_WebView only to support legacy apps that inject script into | 242 // Used by Android_WebView only to support legacy apps that inject script into |
| 243 // a top-level initial empty document and expect it to persist on navigation. | 243 // a top-level initial empty document and expect it to persist on navigation. |
| 244 bool resue_global_for_unowned_main_frame; | 244 bool resue_global_for_unowned_main_frame; |
| 245 bool autoplay_muted_videos_enabled; | |
| 246 ProgressBarCompletion progress_bar_completion; | 245 ProgressBarCompletion progress_bar_completion; |
| 247 // Specifies default setting for spellcheck when the spellcheck attribute is | 246 // Specifies default setting for spellcheck when the spellcheck attribute is |
| 248 // not explicitly specified. | 247 // not explicitly specified. |
| 249 bool spellcheck_enabled_by_default; | 248 bool spellcheck_enabled_by_default; |
| 250 #endif | 249 #endif |
| 251 | 250 |
| 252 // String that describes how media element autoplay behavior should be | 251 // String that describes how media element autoplay behavior should be |
| 253 // affected by experiment. | 252 // affected by experiment. |
| 254 std::string autoplay_experiment_mode; | 253 std::string autoplay_experiment_mode; |
| 255 | 254 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 266 // chrome, except for the cases where it would require lots of extra work for | 265 // chrome, except for the cases where it would require lots of extra work for |
| 267 // the embedder to use the same default value. | 266 // the embedder to use the same default value. |
| 268 WebPreferences(); | 267 WebPreferences(); |
| 269 WebPreferences(const WebPreferences& other); | 268 WebPreferences(const WebPreferences& other); |
| 270 ~WebPreferences(); | 269 ~WebPreferences(); |
| 271 }; | 270 }; |
| 272 | 271 |
| 273 } // namespace content | 272 } // namespace content |
| 274 | 273 |
| 275 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 274 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |