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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 bool gl_multisampling_enabled; | 105 bool gl_multisampling_enabled; |
106 bool privileged_webgl_extensions_enabled; | 106 bool privileged_webgl_extensions_enabled; |
107 bool webgl_errors_to_console_enabled; | 107 bool webgl_errors_to_console_enabled; |
108 bool show_composited_layer_borders; | 108 bool show_composited_layer_borders; |
109 bool show_composited_layer_tree; | 109 bool show_composited_layer_tree; |
110 bool show_fps_counter; | 110 bool show_fps_counter; |
111 bool accelerated_compositing_for_overflow_scroll_enabled; | 111 bool accelerated_compositing_for_overflow_scroll_enabled; |
112 bool accelerated_compositing_for_scrollable_frames_enabled; | 112 bool accelerated_compositing_for_scrollable_frames_enabled; |
113 bool composited_scrolling_for_frames_enabled; | 113 bool composited_scrolling_for_frames_enabled; |
114 bool mock_scrollbars_enabled; | 114 bool mock_scrollbars_enabled; |
| 115 bool threaded_html_parser; |
115 bool show_paint_rects; | 116 bool show_paint_rects; |
116 bool render_vsync_enabled; | 117 bool render_vsync_enabled; |
117 bool asynchronous_spell_checking_enabled; | 118 bool asynchronous_spell_checking_enabled; |
118 bool unified_textchecker_enabled; | 119 bool unified_textchecker_enabled; |
119 bool accelerated_compositing_enabled; | 120 bool accelerated_compositing_enabled; |
120 bool force_compositing_mode; | 121 bool force_compositing_mode; |
121 bool accelerated_compositing_for_3d_transforms_enabled; | 122 bool accelerated_compositing_for_3d_transforms_enabled; |
122 bool accelerated_compositing_for_animation_enabled; | 123 bool accelerated_compositing_for_animation_enabled; |
123 bool accelerated_compositing_for_video_enabled; | 124 bool accelerated_compositing_for_video_enabled; |
124 bool accelerated_2d_canvas_enabled; | 125 bool accelerated_2d_canvas_enabled; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 // the embedder to use the same default value. | 178 // the embedder to use the same default value. |
178 WebPreferences(); | 179 WebPreferences(); |
179 ~WebPreferences(); | 180 ~WebPreferences(); |
180 | 181 |
181 void Apply(WebKit::WebView* web_view) const; | 182 void Apply(WebKit::WebView* web_view) const; |
182 }; | 183 }; |
183 | 184 |
184 } // namespace webkit_glue | 185 } // namespace webkit_glue |
185 | 186 |
186 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 187 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |