OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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, common/render_messages.cc, browser/tab_contents/ | 8 // WebKit::WebSettings, common/render_messages.cc, 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 bool accelerated_compositing_enabled; | 92 bool accelerated_compositing_enabled; |
93 bool threaded_compositing_enabled; | 93 bool threaded_compositing_enabled; |
94 bool force_compositing_mode; | 94 bool force_compositing_mode; |
95 bool allow_webui_compositing; | 95 bool allow_webui_compositing; |
96 bool composite_to_texture_enabled; | 96 bool composite_to_texture_enabled; |
97 bool fixed_position_compositing_enabled; | 97 bool fixed_position_compositing_enabled; |
98 bool accelerated_layers_enabled; | 98 bool accelerated_layers_enabled; |
99 bool accelerated_video_enabled; | 99 bool accelerated_video_enabled; |
100 bool accelerated_2d_canvas_enabled; | 100 bool accelerated_2d_canvas_enabled; |
101 bool accelerated_drawing_enabled; | 101 bool accelerated_drawing_enabled; |
| 102 bool accelerated_filters_enabled; |
102 bool accelerated_plugins_enabled; | 103 bool accelerated_plugins_enabled; |
103 bool memory_info_enabled; | 104 bool memory_info_enabled; |
104 bool interactive_form_validation_enabled; | 105 bool interactive_form_validation_enabled; |
105 bool fullscreen_enabled; | 106 bool fullscreen_enabled; |
106 bool allow_displaying_insecure_content; | 107 bool allow_displaying_insecure_content; |
107 bool allow_running_insecure_content; | 108 bool allow_running_insecure_content; |
108 bool should_print_backgrounds; | 109 bool should_print_backgrounds; |
109 bool enable_scroll_animator; | 110 bool enable_scroll_animator; |
110 bool hixie76_websocket_protocol_enabled; | 111 bool hixie76_websocket_protocol_enabled; |
111 bool visual_word_movement_enabled; | 112 bool visual_word_movement_enabled; |
112 // We try to keep the default values the same as the default values in | 113 // We try to keep the default values the same as the default values in |
113 // chrome, except for the cases where it would require lots of extra work for | 114 // chrome, except for the cases where it would require lots of extra work for |
114 // the embedder to use the same default value. | 115 // the embedder to use the same default value. |
115 WebPreferences(); | 116 WebPreferences(); |
116 ~WebPreferences(); | 117 ~WebPreferences(); |
117 | 118 |
118 void Apply(WebKit::WebView* web_view) const; | 119 void Apply(WebKit::WebView* web_view) const; |
119 }; | 120 }; |
120 | 121 |
121 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 122 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |