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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 bool experimental_webgl_enabled; | 90 bool experimental_webgl_enabled; |
91 bool flash_3d_enabled; | 91 bool flash_3d_enabled; |
92 bool flash_stage3d_enabled; | 92 bool flash_stage3d_enabled; |
93 bool gl_multisampling_enabled; | 93 bool gl_multisampling_enabled; |
94 bool privileged_webgl_extensions_enabled; | 94 bool privileged_webgl_extensions_enabled; |
95 bool webgl_errors_to_console_enabled; | 95 bool webgl_errors_to_console_enabled; |
96 bool show_composited_layer_borders; | 96 bool show_composited_layer_borders; |
97 bool show_composited_layer_tree; | 97 bool show_composited_layer_tree; |
98 bool show_fps_counter; | 98 bool show_fps_counter; |
99 bool show_paint_rects; | 99 bool show_paint_rects; |
| 100 bool render_vsync_enabled; |
100 bool asynchronous_spell_checking_enabled; | 101 bool asynchronous_spell_checking_enabled; |
101 bool unified_textchecker_enabled; | 102 bool unified_textchecker_enabled; |
102 bool accelerated_compositing_enabled; | 103 bool accelerated_compositing_enabled; |
103 bool force_compositing_mode; | 104 bool force_compositing_mode; |
104 bool fixed_position_compositing_enabled; | 105 bool fixed_position_compositing_enabled; |
105 bool accelerated_layers_enabled; | 106 bool accelerated_layers_enabled; |
106 bool accelerated_animation_enabled; | 107 bool accelerated_animation_enabled; |
107 bool accelerated_video_enabled; | 108 bool accelerated_video_enabled; |
108 bool accelerated_2d_canvas_enabled; | 109 bool accelerated_2d_canvas_enabled; |
109 bool deferred_2d_canvas_enabled; | 110 bool deferred_2d_canvas_enabled; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 // the embedder to use the same default value. | 149 // the embedder to use the same default value. |
149 WebPreferences(); | 150 WebPreferences(); |
150 ~WebPreferences(); | 151 ~WebPreferences(); |
151 | 152 |
152 void Apply(WebKit::WebView* web_view) const; | 153 void Apply(WebKit::WebView* web_view) const; |
153 }; | 154 }; |
154 | 155 |
155 } // namespace webkit_glue | 156 } // namespace webkit_glue |
156 | 157 |
157 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 158 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |