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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 bool accelerated_painting_enabled; | 110 bool accelerated_painting_enabled; |
111 bool accelerated_filters_enabled; | 111 bool accelerated_filters_enabled; |
112 bool accelerated_plugins_enabled; | 112 bool accelerated_plugins_enabled; |
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 hixie76_websocket_protocol_enabled; | |
121 bool visual_word_movement_enabled; | 120 bool visual_word_movement_enabled; |
122 bool css_regions_enabled; | 121 bool css_regions_enabled; |
123 bool css_shaders_enabled; | 122 bool css_shaders_enabled; |
124 bool device_supports_touch; | 123 bool device_supports_touch; |
125 #if !defined(WEBCOMPOSITOR_OWNS_SETTINGS) | 124 #if !defined(WEBCOMPOSITOR_OWNS_SETTINGS) |
126 bool threaded_animation_enabled; | 125 bool threaded_animation_enabled; |
127 bool per_tile_painting_enabled; | 126 bool per_tile_painting_enabled; |
128 bool partial_swap_enabled; | 127 bool partial_swap_enabled; |
129 #endif | 128 #endif |
130 int default_tile_width; | 129 int default_tile_width; |
(...skipping 16 matching lines...) Expand all Loading... |
147 // the embedder to use the same default value. | 146 // the embedder to use the same default value. |
148 WebPreferences(); | 147 WebPreferences(); |
149 ~WebPreferences(); | 148 ~WebPreferences(); |
150 | 149 |
151 void Apply(WebKit::WebView* web_view) const; | 150 void Apply(WebKit::WebView* web_view) const; |
152 }; | 151 }; |
153 | 152 |
154 } // namespace webkit_glue | 153 } // namespace webkit_glue |
155 | 154 |
156 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 155 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |