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 unified_textchecker_enabled; | 92 bool unified_textchecker_enabled; |
93 bool accelerated_compositing_enabled; | 93 bool accelerated_compositing_enabled; |
94 bool threaded_compositing_enabled; | 94 bool threaded_compositing_enabled; |
95 bool force_compositing_mode; | 95 bool force_compositing_mode; |
96 bool allow_webui_compositing; | 96 bool allow_webui_compositing; |
97 bool composite_to_texture_enabled; | 97 bool composite_to_texture_enabled; |
98 bool fixed_position_compositing_enabled; | 98 bool fixed_position_compositing_enabled; |
99 bool accelerated_layers_enabled; | 99 bool accelerated_layers_enabled; |
100 bool accelerated_video_enabled; | 100 bool accelerated_video_enabled; |
101 bool accelerated_2d_canvas_enabled; | 101 bool accelerated_2d_canvas_enabled; |
102 bool accelerated_drawing_enabled; | 102 bool accelerated_painting_enabled; |
103 bool accelerated_filters_enabled; | 103 bool accelerated_filters_enabled; |
104 bool accelerated_plugins_enabled; | 104 bool accelerated_plugins_enabled; |
105 bool memory_info_enabled; | 105 bool memory_info_enabled; |
106 bool interactive_form_validation_enabled; | 106 bool interactive_form_validation_enabled; |
107 bool fullscreen_enabled; | 107 bool fullscreen_enabled; |
108 bool allow_displaying_insecure_content; | 108 bool allow_displaying_insecure_content; |
109 bool allow_running_insecure_content; | 109 bool allow_running_insecure_content; |
110 bool should_print_backgrounds; | 110 bool should_print_backgrounds; |
111 bool enable_scroll_animator; | 111 bool enable_scroll_animator; |
112 bool hixie76_websocket_protocol_enabled; | 112 bool hixie76_websocket_protocol_enabled; |
113 bool visual_word_movement_enabled; | 113 bool visual_word_movement_enabled; |
| 114 bool per_tile_painting_enabled; |
114 // We try to keep the default values the same as the default values in | 115 // We try to keep the default values the same as the default values in |
115 // chrome, except for the cases where it would require lots of extra work for | 116 // chrome, except for the cases where it would require lots of extra work for |
116 // the embedder to use the same default value. | 117 // the embedder to use the same default value. |
117 WebPreferences(); | 118 WebPreferences(); |
118 ~WebPreferences(); | 119 ~WebPreferences(); |
119 | 120 |
120 void Apply(WebKit::WebView* web_view) const; | 121 void Apply(WebKit::WebView* web_view) const; |
121 }; | 122 }; |
122 | 123 |
123 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 124 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |