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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 bool experimental_webgl_enabled; | 93 bool experimental_webgl_enabled; |
94 bool flash_3d_enabled; | 94 bool flash_3d_enabled; |
95 bool flash_stage3d_enabled; | 95 bool flash_stage3d_enabled; |
96 bool gl_multisampling_enabled; | 96 bool gl_multisampling_enabled; |
97 bool privileged_webgl_extensions_enabled; | 97 bool privileged_webgl_extensions_enabled; |
98 bool webgl_errors_to_console_enabled; | 98 bool webgl_errors_to_console_enabled; |
99 bool show_composited_layer_borders; | 99 bool show_composited_layer_borders; |
100 bool show_composited_layer_tree; | 100 bool show_composited_layer_tree; |
101 bool show_fps_counter; | 101 bool show_fps_counter; |
102 bool accelerated_compositing_for_overflow_scroll_enabled; | 102 bool accelerated_compositing_for_overflow_scroll_enabled; |
| 103 bool accelerated_compositing_for_scrollable_frames_enabled; |
103 bool show_paint_rects; | 104 bool show_paint_rects; |
104 bool render_vsync_enabled; | 105 bool render_vsync_enabled; |
105 bool asynchronous_spell_checking_enabled; | 106 bool asynchronous_spell_checking_enabled; |
106 bool unified_textchecker_enabled; | 107 bool unified_textchecker_enabled; |
107 bool accelerated_compositing_enabled; | 108 bool accelerated_compositing_enabled; |
108 bool force_compositing_mode; | 109 bool force_compositing_mode; |
109 bool fixed_position_compositing_enabled; | 110 bool fixed_position_compositing_enabled; |
110 bool accelerated_compositing_for_3d_transforms_enabled; | 111 bool accelerated_compositing_for_3d_transforms_enabled; |
111 bool accelerated_compositing_for_animation_enabled; | 112 bool accelerated_compositing_for_animation_enabled; |
112 bool accelerated_compositing_for_video_enabled; | 113 bool accelerated_compositing_for_video_enabled; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 // the embedder to use the same default value. | 162 // the embedder to use the same default value. |
162 WebPreferences(); | 163 WebPreferences(); |
163 ~WebPreferences(); | 164 ~WebPreferences(); |
164 | 165 |
165 void Apply(WebKit::WebView* web_view) const; | 166 void Apply(WebKit::WebView* web_view) const; |
166 }; | 167 }; |
167 | 168 |
168 } // namespace webkit_glue | 169 } // namespace webkit_glue |
169 | 170 |
170 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 171 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |