| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 bool privileged_webgl_extensions_enabled; | 127 bool privileged_webgl_extensions_enabled; |
| 128 bool webgl_errors_to_console_enabled; | 128 bool webgl_errors_to_console_enabled; |
| 129 bool mock_scrollbars_enabled; | 129 bool mock_scrollbars_enabled; |
| 130 bool hide_scrollbars; | 130 bool hide_scrollbars; |
| 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 force_software_readback_from_2d_canvas; | |
| 138 bool accelerated_filters_enabled; | 137 bool accelerated_filters_enabled; |
| 139 bool deferred_filters_enabled; | 138 bool deferred_filters_enabled; |
| 140 bool container_culling_enabled; | 139 bool container_culling_enabled; |
| 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; |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // chrome, except for the cases where it would require lots of extra work for | 265 // chrome, except for the cases where it would require lots of extra work for |
| 267 // the embedder to use the same default value. | 266 // the embedder to use the same default value. |
| 268 WebPreferences(); | 267 WebPreferences(); |
| 269 WebPreferences(const WebPreferences& other); | 268 WebPreferences(const WebPreferences& other); |
| 270 ~WebPreferences(); | 269 ~WebPreferences(); |
| 271 }; | 270 }; |
| 272 | 271 |
| 273 } // namespace content | 272 } // namespace content |
| 274 | 273 |
| 275 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 274 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |