| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 bool accelerated_compositing_enabled; | 115 bool accelerated_compositing_enabled; |
| 116 bool force_compositing_mode; | 116 bool force_compositing_mode; |
| 117 bool accelerated_compositing_for_3d_transforms_enabled; | 117 bool accelerated_compositing_for_3d_transforms_enabled; |
| 118 bool accelerated_compositing_for_animation_enabled; | 118 bool accelerated_compositing_for_animation_enabled; |
| 119 bool accelerated_compositing_for_video_enabled; | 119 bool accelerated_compositing_for_video_enabled; |
| 120 bool accelerated_2d_canvas_enabled; | 120 bool accelerated_2d_canvas_enabled; |
| 121 int minimum_accelerated_2d_canvas_size; | 121 int minimum_accelerated_2d_canvas_size; |
| 122 bool antialiased_2d_canvas_disabled; | 122 bool antialiased_2d_canvas_disabled; |
| 123 int accelerated_2d_canvas_msaa_sample_count; | 123 int accelerated_2d_canvas_msaa_sample_count; |
| 124 bool accelerated_filters_enabled; | 124 bool accelerated_filters_enabled; |
| 125 bool deferred_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 should_clear_document_background; | 134 bool should_clear_document_background; |
| 134 bool enable_scroll_animator; | 135 bool enable_scroll_animator; |
| (...skipping 55 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 |