OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // WebKit::WebSettings, content/common/view_messages.h, browser/tab_contents/ | 8 // WebKit::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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 bool accelerated_plugins_enabled; | 115 bool accelerated_plugins_enabled; |
116 bool memory_info_enabled; | 116 bool memory_info_enabled; |
117 bool fullscreen_enabled; | 117 bool fullscreen_enabled; |
118 bool allow_displaying_insecure_content; | 118 bool allow_displaying_insecure_content; |
119 bool allow_running_insecure_content; | 119 bool allow_running_insecure_content; |
120 #if defined(OS_ANDROID) | 120 #if defined(OS_ANDROID) |
121 bool text_autosizing_enabled; | 121 bool text_autosizing_enabled; |
122 float font_scale_factor; | 122 float font_scale_factor; |
123 bool force_enable_zoom; | 123 bool force_enable_zoom; |
124 bool user_gesture_required_for_media_playback; | 124 bool user_gesture_required_for_media_playback; |
| 125 bool supports_multiple_windows; |
125 #endif | 126 #endif |
126 bool password_echo_enabled; | 127 bool password_echo_enabled; |
127 bool should_print_backgrounds; | 128 bool should_print_backgrounds; |
128 bool enable_scroll_animator; | 129 bool enable_scroll_animator; |
129 bool visual_word_movement_enabled; | 130 bool visual_word_movement_enabled; |
130 bool css_sticky_position_enabled; | 131 bool css_sticky_position_enabled; |
131 bool css_regions_enabled; | 132 bool css_regions_enabled; |
132 bool css_shaders_enabled; | 133 bool css_shaders_enabled; |
133 bool css_variables_enabled; | 134 bool css_variables_enabled; |
134 bool device_supports_touch; | 135 bool device_supports_touch; |
(...skipping 20 matching lines...) Expand all Loading... |
155 // the embedder to use the same default value. | 156 // the embedder to use the same default value. |
156 WebPreferences(); | 157 WebPreferences(); |
157 ~WebPreferences(); | 158 ~WebPreferences(); |
158 | 159 |
159 void Apply(WebKit::WebView* web_view) const; | 160 void Apply(WebKit::WebView* web_view) const; |
160 }; | 161 }; |
161 | 162 |
162 } // namespace webkit_glue | 163 } // namespace webkit_glue |
163 | 164 |
164 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 165 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |