OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // blink::WebSettings, content/common/view_messages.h, browser/tab_contents/ | 8 // blink::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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 bool flash_stage3d_enabled; | 99 bool flash_stage3d_enabled; |
100 bool flash_stage3d_baseline_enabled; | 100 bool flash_stage3d_baseline_enabled; |
101 bool gl_multisampling_enabled; | 101 bool gl_multisampling_enabled; |
102 bool privileged_webgl_extensions_enabled; | 102 bool privileged_webgl_extensions_enabled; |
103 bool webgl_errors_to_console_enabled; | 103 bool webgl_errors_to_console_enabled; |
104 bool accelerated_compositing_for_overflow_scroll_enabled; | 104 bool accelerated_compositing_for_overflow_scroll_enabled; |
105 bool universal_accelerated_compositing_for_overflow_scroll_enabled; | 105 bool universal_accelerated_compositing_for_overflow_scroll_enabled; |
106 bool accelerated_compositing_for_scrollable_frames_enabled; | 106 bool accelerated_compositing_for_scrollable_frames_enabled; |
107 bool composited_scrolling_for_frames_enabled; | 107 bool composited_scrolling_for_frames_enabled; |
108 bool mock_scrollbars_enabled; | 108 bool mock_scrollbars_enabled; |
| 109 bool layer_squashing_enabled; |
109 bool threaded_html_parser; | 110 bool threaded_html_parser; |
110 bool show_paint_rects; | 111 bool show_paint_rects; |
111 bool asynchronous_spell_checking_enabled; | 112 bool asynchronous_spell_checking_enabled; |
112 bool unified_textchecker_enabled; | 113 bool unified_textchecker_enabled; |
113 bool accelerated_compositing_enabled; | 114 bool accelerated_compositing_enabled; |
114 bool force_compositing_mode; | 115 bool force_compositing_mode; |
115 bool accelerated_compositing_for_3d_transforms_enabled; | 116 bool accelerated_compositing_for_3d_transforms_enabled; |
116 bool accelerated_compositing_for_animation_enabled; | 117 bool accelerated_compositing_for_animation_enabled; |
117 bool accelerated_compositing_for_video_enabled; | 118 bool accelerated_compositing_for_video_enabled; |
118 bool accelerated_2d_canvas_enabled; | 119 bool accelerated_2d_canvas_enabled; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 #endif | 188 #endif |
188 | 189 |
189 // We try to keep the default values the same as the default values in | 190 // We try to keep the default values the same as the default values in |
190 // chrome, except for the cases where it would require lots of extra work for | 191 // chrome, except for the cases where it would require lots of extra work for |
191 // the embedder to use the same default value. | 192 // the embedder to use the same default value. |
192 WebPreferences(); | 193 WebPreferences(); |
193 ~WebPreferences(); | 194 ~WebPreferences(); |
194 }; | 195 }; |
195 | 196 |
196 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 197 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
OLD | NEW |