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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 bool gl_multisampling_enabled; | 101 bool gl_multisampling_enabled; |
102 bool privileged_webgl_extensions_enabled; | 102 bool privileged_webgl_extensions_enabled; |
103 bool webgl_errors_to_console_enabled; | 103 bool webgl_errors_to_console_enabled; |
104 bool mock_scrollbars_enabled; | 104 bool mock_scrollbars_enabled; |
105 bool layer_squashing_enabled; | 105 bool layer_squashing_enabled; |
106 bool asynchronous_spell_checking_enabled; | 106 bool asynchronous_spell_checking_enabled; |
107 bool unified_textchecker_enabled; | 107 bool unified_textchecker_enabled; |
108 bool accelerated_2d_canvas_enabled; | 108 bool accelerated_2d_canvas_enabled; |
109 int minimum_accelerated_2d_canvas_size; | 109 int minimum_accelerated_2d_canvas_size; |
110 bool antialiased_2d_canvas_disabled; | 110 bool antialiased_2d_canvas_disabled; |
| 111 bool antialiased_clips_2d_canvas_enabled; |
111 int accelerated_2d_canvas_msaa_sample_count; | 112 int accelerated_2d_canvas_msaa_sample_count; |
112 bool accelerated_filters_enabled; | 113 bool accelerated_filters_enabled; |
113 bool deferred_filters_enabled; | 114 bool deferred_filters_enabled; |
114 bool container_culling_enabled; | 115 bool container_culling_enabled; |
115 bool text_blobs_enabled; | 116 bool text_blobs_enabled; |
116 bool allow_displaying_insecure_content; | 117 bool allow_displaying_insecure_content; |
117 bool allow_running_insecure_content; | 118 bool allow_running_insecure_content; |
118 bool password_echo_enabled; | 119 bool password_echo_enabled; |
119 bool should_print_backgrounds; | 120 bool should_print_backgrounds; |
120 bool should_clear_document_background; | 121 bool should_clear_document_background; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 // We try to keep the default values the same as the default values in | 184 // We try to keep the default values the same as the default values in |
184 // chrome, except for the cases where it would require lots of extra work for | 185 // chrome, except for the cases where it would require lots of extra work for |
185 // the embedder to use the same default value. | 186 // the embedder to use the same default value. |
186 WebPreferences(); | 187 WebPreferences(); |
187 ~WebPreferences(); | 188 ~WebPreferences(); |
188 }; | 189 }; |
189 | 190 |
190 } // namespace content | 191 } // namespace content |
191 | 192 |
192 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 193 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |