| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 webkit's settings. | 5 // A struct for managing webkit's settings. |
| 6 // | 6 // |
| 7 // Adding new values to this class probably involves updating | 7 // Adding new values to this class probably involves updating |
| 8 // blink::WebSettings, content/common/view_messages.h, browser/tab_contents/ | 8 // blink::WebSettings, content/common/view_messages.h, browser/tab_contents/ |
| 9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc. | 9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc. |
| 10 | 10 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 // pepper plugins. Defaults to false. | 168 // pepper plugins. Defaults to false. |
| 169 bool pepper_accelerated_video_decode_enabled; | 169 bool pepper_accelerated_video_decode_enabled; |
| 170 | 170 |
| 171 #if defined(OS_ANDROID) | 171 #if defined(OS_ANDROID) |
| 172 bool text_autosizing_enabled; | 172 bool text_autosizing_enabled; |
| 173 float font_scale_factor; | 173 float font_scale_factor; |
| 174 float device_scale_adjustment; | 174 float device_scale_adjustment; |
| 175 bool force_enable_zoom; | 175 bool force_enable_zoom; |
| 176 bool double_tap_to_zoom_enabled; | 176 bool double_tap_to_zoom_enabled; |
| 177 bool user_gesture_required_for_media_playback; | 177 bool user_gesture_required_for_media_playback; |
| 178 bool user_gesture_required_for_media_fullscreen; | |
| 179 GURL default_video_poster_url; | 178 GURL default_video_poster_url; |
| 180 bool support_deprecated_target_density_dpi; | 179 bool support_deprecated_target_density_dpi; |
| 181 bool use_legacy_background_size_shorthand_behavior; | 180 bool use_legacy_background_size_shorthand_behavior; |
| 182 bool wide_viewport_quirk; | 181 bool wide_viewport_quirk; |
| 183 bool use_wide_viewport; | 182 bool use_wide_viewport; |
| 184 bool viewport_meta_layout_size_quirk; | 183 bool viewport_meta_layout_size_quirk; |
| 185 bool viewport_meta_merge_content_quirk; | 184 bool viewport_meta_merge_content_quirk; |
| 186 bool viewport_meta_non_user_scalable_quirk; | 185 bool viewport_meta_non_user_scalable_quirk; |
| 187 bool viewport_meta_zero_values_quirk; | 186 bool viewport_meta_zero_values_quirk; |
| 188 bool clobber_user_agent_initial_scale_quirk; | 187 bool clobber_user_agent_initial_scale_quirk; |
| 189 bool ignore_main_frame_overflow_hidden_quirk; | 188 bool ignore_main_frame_overflow_hidden_quirk; |
| 190 bool report_screen_size_in_physical_pixels_quirk; | 189 bool report_screen_size_in_physical_pixels_quirk; |
| 191 #endif | 190 #endif |
| 192 | 191 |
| 193 // We try to keep the default values the same as the default values in | 192 // We try to keep the default values the same as the default values in |
| 194 // chrome, except for the cases where it would require lots of extra work for | 193 // chrome, except for the cases where it would require lots of extra work for |
| 195 // the embedder to use the same default value. | 194 // the embedder to use the same default value. |
| 196 WebPreferences(); | 195 WebPreferences(); |
| 197 ~WebPreferences(); | 196 ~WebPreferences(); |
| 198 }; | 197 }; |
| 199 | 198 |
| 200 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 199 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
| OLD | NEW |