| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 bool force_compositing_mode; | 113 bool force_compositing_mode; |
| 114 bool accelerated_compositing_for_3d_transforms_enabled; | 114 bool accelerated_compositing_for_3d_transforms_enabled; |
| 115 bool accelerated_compositing_for_animation_enabled; | 115 bool accelerated_compositing_for_animation_enabled; |
| 116 bool accelerated_compositing_for_video_enabled; | 116 bool accelerated_compositing_for_video_enabled; |
| 117 bool accelerated_2d_canvas_enabled; | 117 bool accelerated_2d_canvas_enabled; |
| 118 int minimum_accelerated_2d_canvas_size; | 118 int minimum_accelerated_2d_canvas_size; |
| 119 bool antialiased_2d_canvas_disabled; | 119 bool antialiased_2d_canvas_disabled; |
| 120 int accelerated_2d_canvas_msaa_sample_count; | 120 int accelerated_2d_canvas_msaa_sample_count; |
| 121 bool accelerated_filters_enabled; | 121 bool accelerated_filters_enabled; |
| 122 bool deferred_filters_enabled; | 122 bool deferred_filters_enabled; |
| 123 bool container_culling_enabled; |
| 123 bool gesture_tap_highlight_enabled; | 124 bool gesture_tap_highlight_enabled; |
| 124 bool accelerated_compositing_for_plugins_enabled; | 125 bool accelerated_compositing_for_plugins_enabled; |
| 125 bool allow_displaying_insecure_content; | 126 bool allow_displaying_insecure_content; |
| 126 bool allow_running_insecure_content; | 127 bool allow_running_insecure_content; |
| 127 bool password_echo_enabled; | 128 bool password_echo_enabled; |
| 128 bool should_print_backgrounds; | 129 bool should_print_backgrounds; |
| 129 bool should_clear_document_background; | 130 bool should_clear_document_background; |
| 130 bool enable_scroll_animator; | 131 bool enable_scroll_animator; |
| 131 bool visual_word_movement_enabled; | 132 bool visual_word_movement_enabled; |
| 132 bool css_variables_enabled; | 133 bool css_variables_enabled; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 #endif | 191 #endif |
| 191 | 192 |
| 192 // We try to keep the default values the same as the default values in | 193 // We try to keep the default values the same as the default values in |
| 193 // chrome, except for the cases where it would require lots of extra work for | 194 // chrome, except for the cases where it would require lots of extra work for |
| 194 // the embedder to use the same default value. | 195 // the embedder to use the same default value. |
| 195 WebPreferences(); | 196 WebPreferences(); |
| 196 ~WebPreferences(); | 197 ~WebPreferences(); |
| 197 }; | 198 }; |
| 198 | 199 |
| 199 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 200 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
| OLD | NEW |