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