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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 bool gesture_tap_highlight_enabled; | 114 bool gesture_tap_highlight_enabled; |
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 float font_scale_factor; | 121 float font_scale_factor; |
122 bool force_enable_zoom; | 122 bool force_enable_zoom; |
123 bool user_gesture_required_for_media_playback; | 123 bool user_gesture_required_for_media_playback; |
| 124 bool support_multiple_windows; |
124 #endif | 125 #endif |
125 bool password_echo_enabled; | 126 bool password_echo_enabled; |
126 bool should_print_backgrounds; | 127 bool should_print_backgrounds; |
127 bool enable_scroll_animator; | 128 bool enable_scroll_animator; |
128 bool visual_word_movement_enabled; | 129 bool visual_word_movement_enabled; |
129 bool css_sticky_position_enabled; | 130 bool css_sticky_position_enabled; |
130 bool css_regions_enabled; | 131 bool css_regions_enabled; |
131 bool css_shaders_enabled; | 132 bool css_shaders_enabled; |
132 bool css_variables_enabled; | 133 bool css_variables_enabled; |
133 bool device_supports_touch; | 134 bool device_supports_touch; |
(...skipping 20 matching lines...) Expand all Loading... |
154 // the embedder to use the same default value. | 155 // the embedder to use the same default value. |
155 WebPreferences(); | 156 WebPreferences(); |
156 ~WebPreferences(); | 157 ~WebPreferences(); |
157 | 158 |
158 void Apply(WebKit::WebView* web_view) const; | 159 void Apply(WebKit::WebView* web_view) const; |
159 }; | 160 }; |
160 | 161 |
161 } // namespace webkit_glue | 162 } // namespace webkit_glue |
162 | 163 |
163 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 164 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |