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