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