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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 bool gl_multisampling_enabled; | 103 bool gl_multisampling_enabled; |
104 bool privileged_webgl_extensions_enabled; | 104 bool privileged_webgl_extensions_enabled; |
105 bool webgl_errors_to_console_enabled; | 105 bool webgl_errors_to_console_enabled; |
106 bool mock_scrollbars_enabled; | 106 bool mock_scrollbars_enabled; |
107 bool layer_squashing_enabled; | 107 bool layer_squashing_enabled; |
108 bool threaded_html_parser; | 108 bool threaded_html_parser; |
109 bool show_paint_rects; | 109 bool show_paint_rects; |
110 bool asynchronous_spell_checking_enabled; | 110 bool asynchronous_spell_checking_enabled; |
111 bool unified_textchecker_enabled; | 111 bool unified_textchecker_enabled; |
112 bool force_compositing_mode; | 112 bool force_compositing_mode; |
113 bool accelerated_compositing_for_3d_transforms_enabled; | |
114 bool accelerated_compositing_for_animation_enabled; | |
115 bool accelerated_compositing_for_video_enabled; | 113 bool accelerated_compositing_for_video_enabled; |
116 bool accelerated_2d_canvas_enabled; | 114 bool accelerated_2d_canvas_enabled; |
117 int minimum_accelerated_2d_canvas_size; | 115 int minimum_accelerated_2d_canvas_size; |
118 bool antialiased_2d_canvas_disabled; | 116 bool antialiased_2d_canvas_disabled; |
119 int accelerated_2d_canvas_msaa_sample_count; | 117 int accelerated_2d_canvas_msaa_sample_count; |
120 bool accelerated_filters_enabled; | 118 bool accelerated_filters_enabled; |
121 bool deferred_filters_enabled; | 119 bool deferred_filters_enabled; |
122 bool container_culling_enabled; | 120 bool container_culling_enabled; |
123 bool gesture_tap_highlight_enabled; | 121 bool gesture_tap_highlight_enabled; |
124 bool accelerated_compositing_for_plugins_enabled; | |
125 bool allow_displaying_insecure_content; | 122 bool allow_displaying_insecure_content; |
126 bool allow_running_insecure_content; | 123 bool allow_running_insecure_content; |
127 bool password_echo_enabled; | 124 bool password_echo_enabled; |
128 bool should_print_backgrounds; | 125 bool should_print_backgrounds; |
129 bool should_clear_document_background; | 126 bool should_clear_document_background; |
130 bool enable_scroll_animator; | 127 bool enable_scroll_animator; |
131 bool css_variables_enabled; | 128 bool css_variables_enabled; |
132 bool lazy_layout_enabled; | 129 bool lazy_layout_enabled; |
133 bool region_based_columns_enabled; | 130 bool region_based_columns_enabled; |
134 bool touch_enabled; | 131 bool touch_enabled; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 #endif | 185 #endif |
189 | 186 |
190 // We try to keep the default values the same as the default values in | 187 // We try to keep the default values the same as the default values in |
191 // chrome, except for the cases where it would require lots of extra work for | 188 // chrome, except for the cases where it would require lots of extra work for |
192 // the embedder to use the same default value. | 189 // the embedder to use the same default value. |
193 WebPreferences(); | 190 WebPreferences(); |
194 ~WebPreferences(); | 191 ~WebPreferences(); |
195 }; | 192 }; |
196 | 193 |
197 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 194 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
OLD | NEW |