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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 bool javascript_enabled; | 79 bool javascript_enabled; |
80 bool web_security_enabled; | 80 bool web_security_enabled; |
81 bool javascript_can_open_windows_automatically; | 81 bool javascript_can_open_windows_automatically; |
82 bool loads_images_automatically; | 82 bool loads_images_automatically; |
83 bool images_enabled; | 83 bool images_enabled; |
84 bool plugins_enabled; | 84 bool plugins_enabled; |
85 bool dom_paste_enabled; | 85 bool dom_paste_enabled; |
86 bool shrinks_standalone_images_to_fit; | 86 bool shrinks_standalone_images_to_fit; |
87 bool uses_universal_detector; | 87 bool uses_universal_detector; |
88 bool text_areas_are_resizable; | 88 bool text_areas_are_resizable; |
89 bool java_enabled; | |
90 bool allow_scripts_to_close_windows; | 89 bool allow_scripts_to_close_windows; |
91 bool remote_fonts_enabled; | 90 bool remote_fonts_enabled; |
92 bool javascript_can_access_clipboard; | 91 bool javascript_can_access_clipboard; |
93 bool xslt_enabled; | 92 bool xslt_enabled; |
94 bool xss_auditor_enabled; | 93 bool xss_auditor_enabled; |
95 // We don't use dns_prefetching_enabled to disable DNS prefetching. Instead, | 94 // We don't use dns_prefetching_enabled to disable DNS prefetching. Instead, |
96 // we disable the feature at a lower layer so that we catch non-WebKit uses | 95 // we disable the feature at a lower layer so that we catch non-WebKit uses |
97 // of DNS prefetch as well. | 96 // of DNS prefetch as well. |
98 bool dns_prefetching_enabled; | 97 bool dns_prefetching_enabled; |
99 bool local_storage_enabled; | 98 bool local_storage_enabled; |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 // We try to keep the default values the same as the default values in | 221 // We try to keep the default values the same as the default values in |
223 // chrome, except for the cases where it would require lots of extra work for | 222 // chrome, except for the cases where it would require lots of extra work for |
224 // the embedder to use the same default value. | 223 // the embedder to use the same default value. |
225 WebPreferences(); | 224 WebPreferences(); |
226 ~WebPreferences(); | 225 ~WebPreferences(); |
227 }; | 226 }; |
228 | 227 |
229 } // namespace content | 228 } // namespace content |
230 | 229 |
231 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 230 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |