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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 std::string default_encoding; | 91 std::string default_encoding; |
92 bool context_menu_on_mouse_up; | 92 bool context_menu_on_mouse_up; |
93 bool javascript_enabled; | 93 bool javascript_enabled; |
94 bool web_security_enabled; | 94 bool web_security_enabled; |
95 bool javascript_can_open_windows_automatically; | 95 bool javascript_can_open_windows_automatically; |
96 bool loads_images_automatically; | 96 bool loads_images_automatically; |
97 bool images_enabled; | 97 bool images_enabled; |
98 bool plugins_enabled; | 98 bool plugins_enabled; |
99 bool dom_paste_enabled; | 99 bool dom_paste_enabled; |
100 bool shrinks_standalone_images_to_fit; | 100 bool shrinks_standalone_images_to_fit; |
101 bool uses_universal_detector; | |
102 bool text_areas_are_resizable; | 101 bool text_areas_are_resizable; |
103 bool allow_scripts_to_close_windows; | 102 bool allow_scripts_to_close_windows; |
104 bool remote_fonts_enabled; | 103 bool remote_fonts_enabled; |
105 bool javascript_can_access_clipboard; | 104 bool javascript_can_access_clipboard; |
106 bool xslt_enabled; | 105 bool xslt_enabled; |
107 bool xss_auditor_enabled; | 106 bool xss_auditor_enabled; |
108 // We don't use dns_prefetching_enabled to disable DNS prefetching. Instead, | 107 // We don't use dns_prefetching_enabled to disable DNS prefetching. Instead, |
109 // we disable the feature at a lower layer so that we catch non-WebKit uses | 108 // we disable the feature at a lower layer so that we catch non-WebKit uses |
110 // of DNS prefetch as well. | 109 // of DNS prefetch as well. |
111 bool dns_prefetching_enabled; | 110 bool dns_prefetching_enabled; |
(...skipping 142 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 |