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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 bool mock_scrollbars_enabled; | 129 bool mock_scrollbars_enabled; |
130 bool accelerated_2d_canvas_enabled; | 130 bool accelerated_2d_canvas_enabled; |
131 int minimum_accelerated_2d_canvas_size; | 131 int minimum_accelerated_2d_canvas_size; |
132 bool disable_2d_canvas_copy_on_write; | 132 bool disable_2d_canvas_copy_on_write; |
133 bool antialiased_2d_canvas_disabled; | 133 bool antialiased_2d_canvas_disabled; |
134 bool antialiased_clips_2d_canvas_enabled; | 134 bool antialiased_clips_2d_canvas_enabled; |
135 int accelerated_2d_canvas_msaa_sample_count; | 135 int accelerated_2d_canvas_msaa_sample_count; |
136 bool accelerated_filters_enabled; | 136 bool accelerated_filters_enabled; |
137 bool deferred_filters_enabled; | 137 bool deferred_filters_enabled; |
138 bool container_culling_enabled; | 138 bool container_culling_enabled; |
139 bool allow_displaying_insecure_content; | |
140 bool allow_running_insecure_content; | 139 bool allow_running_insecure_content; |
141 // If true, taints all <canvas> elements, regardless of origin. | 140 // If true, taints all <canvas> elements, regardless of origin. |
142 bool disable_reading_from_canvas; | 141 bool disable_reading_from_canvas; |
143 // Strict mixed content checking disables both displaying and running insecure | 142 // Strict mixed content checking disables both displaying and running insecure |
144 // mixed content, and disables embedder notifications that such content was | 143 // mixed content, and disables embedder notifications that such content was |
145 // requested (thereby preventing user override). | 144 // requested (thereby preventing user override). |
146 bool strict_mixed_content_checking; | 145 bool strict_mixed_content_checking; |
147 // Strict powerful feature restrictions block insecure usage of powerful | 146 // Strict powerful feature restrictions block insecure usage of powerful |
148 // features (like device orientation) that we haven't yet disabled for the web | 147 // features (like device orientation) that we haven't yet disabled for the web |
149 // at large. | 148 // at large. |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 // chrome, except for the cases where it would require lots of extra work for | 252 // chrome, except for the cases where it would require lots of extra work for |
254 // the embedder to use the same default value. | 253 // the embedder to use the same default value. |
255 WebPreferences(); | 254 WebPreferences(); |
256 WebPreferences(const WebPreferences& other); | 255 WebPreferences(const WebPreferences& other); |
257 ~WebPreferences(); | 256 ~WebPreferences(); |
258 }; | 257 }; |
259 | 258 |
260 } // namespace content | 259 } // namespace content |
261 | 260 |
262 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 261 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |