| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 int minimum_accelerated_2d_canvas_size; | 123 int minimum_accelerated_2d_canvas_size; |
| 124 bool antialiased_2d_canvas_disabled; | 124 bool antialiased_2d_canvas_disabled; |
| 125 bool antialiased_clips_2d_canvas_enabled; | 125 bool antialiased_clips_2d_canvas_enabled; |
| 126 int accelerated_2d_canvas_msaa_sample_count; | 126 int accelerated_2d_canvas_msaa_sample_count; |
| 127 bool accelerated_filters_enabled; | 127 bool accelerated_filters_enabled; |
| 128 bool deferred_filters_enabled; | 128 bool deferred_filters_enabled; |
| 129 bool container_culling_enabled; | 129 bool container_culling_enabled; |
| 130 bool text_blobs_enabled; | 130 bool text_blobs_enabled; |
| 131 bool allow_displaying_insecure_content; | 131 bool allow_displaying_insecure_content; |
| 132 bool allow_running_insecure_content; | 132 bool allow_running_insecure_content; |
| 133 // Strict mixed content checking disables both displaying and running insecure |
| 134 // mixed content, and disables embedder notifications that such content was |
| 135 // requested (thereby preventing user override). |
| 136 bool strict_mixed_content_checking; |
| 133 bool password_echo_enabled; | 137 bool password_echo_enabled; |
| 134 bool should_print_backgrounds; | 138 bool should_print_backgrounds; |
| 135 bool should_clear_document_background; | 139 bool should_clear_document_background; |
| 136 bool enable_scroll_animator; | 140 bool enable_scroll_animator; |
| 137 bool css_variables_enabled; | 141 bool css_variables_enabled; |
| 138 bool region_based_columns_enabled; | 142 bool region_based_columns_enabled; |
| 139 bool touch_enabled; | 143 bool touch_enabled; |
| 140 // TODO(mustaq): Nuke when the new API is ready | 144 // TODO(mustaq): Nuke when the new API is ready |
| 141 bool device_supports_touch; | 145 bool device_supports_touch; |
| 142 // TODO(mustaq): Nuke when the new API is ready | 146 // TODO(mustaq): Nuke when the new API is ready |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // We try to keep the default values the same as the default values in | 211 // We try to keep the default values the same as the default values in |
| 208 // chrome, except for the cases where it would require lots of extra work for | 212 // chrome, except for the cases where it would require lots of extra work for |
| 209 // the embedder to use the same default value. | 213 // the embedder to use the same default value. |
| 210 WebPreferences(); | 214 WebPreferences(); |
| 211 ~WebPreferences(); | 215 ~WebPreferences(); |
| 212 }; | 216 }; |
| 213 | 217 |
| 214 } // namespace content | 218 } // namespace content |
| 215 | 219 |
| 216 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 220 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |