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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 bool privileged_webgl_extensions_enabled; | 89 bool privileged_webgl_extensions_enabled; |
90 bool webgl_errors_to_console_enabled; | 90 bool webgl_errors_to_console_enabled; |
91 bool show_composited_layer_borders; | 91 bool show_composited_layer_borders; |
92 bool show_composited_layer_tree; | 92 bool show_composited_layer_tree; |
93 bool show_fps_counter; | 93 bool show_fps_counter; |
94 bool asynchronous_spell_checking_enabled; | 94 bool asynchronous_spell_checking_enabled; |
95 bool unified_textchecker_enabled; | 95 bool unified_textchecker_enabled; |
96 bool threaded_animation_enabled; | 96 bool threaded_animation_enabled; |
97 bool accelerated_compositing_enabled; | 97 bool accelerated_compositing_enabled; |
98 bool force_compositing_mode; | 98 bool force_compositing_mode; |
99 bool composite_to_texture_enabled; | |
100 bool fixed_position_compositing_enabled; | 99 bool fixed_position_compositing_enabled; |
101 bool accelerated_layers_enabled; | 100 bool accelerated_layers_enabled; |
102 bool accelerated_animation_enabled; | 101 bool accelerated_animation_enabled; |
103 bool accelerated_video_enabled; | 102 bool accelerated_video_enabled; |
104 bool accelerated_2d_canvas_enabled; | 103 bool accelerated_2d_canvas_enabled; |
105 bool deferred_2d_canvas_enabled; | 104 bool deferred_2d_canvas_enabled; |
106 bool accelerated_painting_enabled; | 105 bool accelerated_painting_enabled; |
107 bool accelerated_filters_enabled; | 106 bool accelerated_filters_enabled; |
108 bool accelerated_plugins_enabled; | 107 bool accelerated_plugins_enabled; |
109 bool partial_swap_enabled; | 108 bool partial_swap_enabled; |
(...skipping 13 matching lines...) Expand all Loading... |
123 // We try to keep the default values the same as the default values in | 122 // We try to keep the default values the same as the default values in |
124 // chrome, except for the cases where it would require lots of extra work for | 123 // chrome, except for the cases where it would require lots of extra work for |
125 // the embedder to use the same default value. | 124 // the embedder to use the same default value. |
126 WebPreferences(); | 125 WebPreferences(); |
127 ~WebPreferences(); | 126 ~WebPreferences(); |
128 | 127 |
129 void Apply(WebKit::WebView* web_view) const; | 128 void Apply(WebKit::WebView* web_view) const; |
130 }; | 129 }; |
131 | 130 |
132 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 131 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |