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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 bool memory_info_enabled; | 113 bool memory_info_enabled; |
114 bool fullscreen_enabled; | 114 bool fullscreen_enabled; |
115 bool allow_displaying_insecure_content; | 115 bool allow_displaying_insecure_content; |
116 bool allow_running_insecure_content; | 116 bool allow_running_insecure_content; |
117 bool password_echo_enabled; | 117 bool password_echo_enabled; |
118 bool should_print_backgrounds; | 118 bool should_print_backgrounds; |
119 bool enable_scroll_animator; | 119 bool enable_scroll_animator; |
120 bool visual_word_movement_enabled; | 120 bool visual_word_movement_enabled; |
121 bool css_regions_enabled; | 121 bool css_regions_enabled; |
122 bool css_shaders_enabled; | 122 bool css_shaders_enabled; |
| 123 bool css_variables_enabled; |
123 bool device_supports_touch; | 124 bool device_supports_touch; |
124 bool device_supports_mouse; | 125 bool device_supports_mouse; |
125 #if !defined(WEBCOMPOSITOR_OWNS_SETTINGS) | 126 #if !defined(WEBCOMPOSITOR_OWNS_SETTINGS) |
126 bool threaded_animation_enabled; | 127 bool threaded_animation_enabled; |
127 bool per_tile_painting_enabled; | 128 bool per_tile_painting_enabled; |
128 bool partial_swap_enabled; | 129 bool partial_swap_enabled; |
129 #endif | 130 #endif |
130 int default_tile_width; | 131 int default_tile_width; |
131 int default_tile_height; | 132 int default_tile_height; |
132 int max_untiled_layer_width; | 133 int max_untiled_layer_width; |
(...skipping 14 matching lines...) Expand all Loading... |
147 // the embedder to use the same default value. | 148 // the embedder to use the same default value. |
148 WebPreferences(); | 149 WebPreferences(); |
149 ~WebPreferences(); | 150 ~WebPreferences(); |
150 | 151 |
151 void Apply(WebKit::WebView* web_view) const; | 152 void Apply(WebKit::WebView* web_view) const; |
152 }; | 153 }; |
153 | 154 |
154 } // namespace webkit_glue | 155 } // namespace webkit_glue |
155 | 156 |
156 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 157 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |