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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 int minimum_logical_font_size; | 66 int minimum_logical_font_size; |
67 std::string default_encoding; | 67 std::string default_encoding; |
68 bool javascript_enabled; | 68 bool javascript_enabled; |
69 bool web_security_enabled; | 69 bool web_security_enabled; |
70 bool javascript_can_open_windows_automatically; | 70 bool javascript_can_open_windows_automatically; |
71 bool loads_images_automatically; | 71 bool loads_images_automatically; |
72 bool images_enabled; | 72 bool images_enabled; |
73 bool plugins_enabled; | 73 bool plugins_enabled; |
74 bool dom_paste_enabled; | 74 bool dom_paste_enabled; |
75 WebInspectorPreferences inspector_settings; | 75 WebInspectorPreferences inspector_settings; |
76 bool site_specific_quirks_enabled; | |
77 bool shrinks_standalone_images_to_fit; | 76 bool shrinks_standalone_images_to_fit; |
78 bool uses_universal_detector; | 77 bool uses_universal_detector; |
79 bool text_areas_are_resizable; | 78 bool text_areas_are_resizable; |
80 bool java_enabled; | 79 bool java_enabled; |
81 bool allow_scripts_to_close_windows; | 80 bool allow_scripts_to_close_windows; |
82 bool remote_fonts_enabled; | 81 bool remote_fonts_enabled; |
83 bool javascript_can_access_clipboard; | 82 bool javascript_can_access_clipboard; |
84 bool xslt_enabled; | 83 bool xslt_enabled; |
85 bool xss_auditor_enabled; | 84 bool xss_auditor_enabled; |
86 // We don't use dns_prefetching_enabled to disable DNS prefetching. Instead, | 85 // We don't use dns_prefetching_enabled to disable DNS prefetching. Instead, |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 // We try to keep the default values the same as the default values in | 186 // We try to keep the default values the same as the default values in |
188 // chrome, except for the cases where it would require lots of extra work for | 187 // chrome, except for the cases where it would require lots of extra work for |
189 // the embedder to use the same default value. | 188 // the embedder to use the same default value. |
190 WebPreferences(); | 189 WebPreferences(); |
191 ~WebPreferences(); | 190 ~WebPreferences(); |
192 }; | 191 }; |
193 | 192 |
194 } // namespace content | 193 } // namespace content |
195 | 194 |
196 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 195 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |