| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_running_insecure_content; | 140 bool allow_running_insecure_content; |
| 141 // If true, taints all <canvas> elements, regardless of origin. | 141 // If true, taints all <canvas> elements, regardless of origin. |
| 142 bool disable_reading_from_canvas; | 142 bool disable_reading_from_canvas; |
| 143 bool force_redundant_2d_canvas_copy; |
| 143 // Strict mixed content checking disables both displaying and running insecure | 144 // Strict mixed content checking disables both displaying and running insecure |
| 144 // mixed content, and disables embedder notifications that such content was | 145 // mixed content, and disables embedder notifications that such content was |
| 145 // requested (thereby preventing user override). | 146 // requested (thereby preventing user override). |
| 146 bool strict_mixed_content_checking; | 147 bool strict_mixed_content_checking; |
| 147 // Strict powerful feature restrictions block insecure usage of powerful | 148 // Strict powerful feature restrictions block insecure usage of powerful |
| 148 // features (like device orientation) that we haven't yet disabled for the web | 149 // features (like device orientation) that we haven't yet disabled for the web |
| 149 // at large. | 150 // at large. |
| 150 bool strict_powerful_feature_restrictions; | 151 bool strict_powerful_feature_restrictions; |
| 151 // TODO(jww): Remove when WebView no longer needs this exception. | 152 // TODO(jww): Remove when WebView no longer needs this exception. |
| 152 bool allow_geolocation_on_insecure_origins; | 153 bool allow_geolocation_on_insecure_origins; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 // chrome, except for the cases where it would require lots of extra work for | 269 // chrome, except for the cases where it would require lots of extra work for |
| 269 // the embedder to use the same default value. | 270 // the embedder to use the same default value. |
| 270 WebPreferences(); | 271 WebPreferences(); |
| 271 WebPreferences(const WebPreferences& other); | 272 WebPreferences(const WebPreferences& other); |
| 272 ~WebPreferences(); | 273 ~WebPreferences(); |
| 273 }; | 274 }; |
| 274 | 275 |
| 275 } // namespace content | 276 } // namespace content |
| 276 | 277 |
| 277 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 278 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |