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 // 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 bool asynchronous_spell_checking_enabled; | 114 bool asynchronous_spell_checking_enabled; |
115 bool unified_textchecker_enabled; | 115 bool unified_textchecker_enabled; |
116 bool accelerated_compositing_enabled; | 116 bool accelerated_compositing_enabled; |
117 bool force_compositing_mode; | 117 bool force_compositing_mode; |
118 bool accelerated_compositing_for_3d_transforms_enabled; | 118 bool accelerated_compositing_for_3d_transforms_enabled; |
119 bool accelerated_compositing_for_animation_enabled; | 119 bool accelerated_compositing_for_animation_enabled; |
120 bool accelerated_compositing_for_video_enabled; | 120 bool accelerated_compositing_for_video_enabled; |
121 bool accelerated_2d_canvas_enabled; | 121 bool accelerated_2d_canvas_enabled; |
122 int minimum_accelerated_2d_canvas_size; | 122 int minimum_accelerated_2d_canvas_size; |
123 bool antialiased_2d_canvas_disabled; | 123 bool antialiased_2d_canvas_disabled; |
| 124 int accelerated_2d_canvas_msaa_sample_count; |
124 bool accelerated_filters_enabled; | 125 bool accelerated_filters_enabled; |
125 bool gesture_tap_highlight_enabled; | 126 bool gesture_tap_highlight_enabled; |
126 bool accelerated_compositing_for_plugins_enabled; | 127 bool accelerated_compositing_for_plugins_enabled; |
127 bool memory_info_enabled; | 128 bool memory_info_enabled; |
128 bool fullscreen_enabled; | 129 bool fullscreen_enabled; |
129 bool allow_displaying_insecure_content; | 130 bool allow_displaying_insecure_content; |
130 bool allow_running_insecure_content; | 131 bool allow_running_insecure_content; |
131 bool password_echo_enabled; | 132 bool password_echo_enabled; |
132 bool should_print_backgrounds; | 133 bool should_print_backgrounds; |
133 bool enable_scroll_animator; | 134 bool enable_scroll_animator; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 #endif | 184 #endif |
184 | 185 |
185 // We try to keep the default values the same as the default values in | 186 // We try to keep the default values the same as the default values in |
186 // chrome, except for the cases where it would require lots of extra work for | 187 // chrome, except for the cases where it would require lots of extra work for |
187 // the embedder to use the same default value. | 188 // the embedder to use the same default value. |
188 WebPreferences(); | 189 WebPreferences(); |
189 ~WebPreferences(); | 190 ~WebPreferences(); |
190 }; | 191 }; |
191 | 192 |
192 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 193 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
OLD | NEW |