| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 int minimum_font_size; | 90 int minimum_font_size; |
| 91 int minimum_logical_font_size; | 91 int minimum_logical_font_size; |
| 92 std::string default_encoding; | 92 std::string default_encoding; |
| 93 bool context_menu_on_mouse_up; | 93 bool context_menu_on_mouse_up; |
| 94 bool javascript_enabled; | 94 bool javascript_enabled; |
| 95 bool web_security_enabled; | 95 bool web_security_enabled; |
| 96 bool javascript_can_open_windows_automatically; | 96 bool javascript_can_open_windows_automatically; |
| 97 bool loads_images_automatically; | 97 bool loads_images_automatically; |
| 98 bool images_enabled; | 98 bool images_enabled; |
| 99 bool plugins_enabled; | 99 bool plugins_enabled; |
| 100 bool encrypted_media_enabled; |
| 100 bool dom_paste_enabled; | 101 bool dom_paste_enabled; |
| 101 bool shrinks_standalone_images_to_fit; | 102 bool shrinks_standalone_images_to_fit; |
| 102 bool text_areas_are_resizable; | 103 bool text_areas_are_resizable; |
| 103 bool allow_scripts_to_close_windows; | 104 bool allow_scripts_to_close_windows; |
| 104 bool remote_fonts_enabled; | 105 bool remote_fonts_enabled; |
| 105 bool javascript_can_access_clipboard; | 106 bool javascript_can_access_clipboard; |
| 106 bool xslt_enabled; | 107 bool xslt_enabled; |
| 107 bool xss_auditor_enabled; | 108 bool xss_auditor_enabled; |
| 108 // We don't use dns_prefetching_enabled to disable DNS prefetching. Instead, | 109 // 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 | 110 // we disable the feature at a lower layer so that we catch non-WebKit uses |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 // chrome, except for the cases where it would require lots of extra work for | 287 // chrome, except for the cases where it would require lots of extra work for |
| 287 // the embedder to use the same default value. | 288 // the embedder to use the same default value. |
| 288 WebPreferences(); | 289 WebPreferences(); |
| 289 WebPreferences(const WebPreferences& other); | 290 WebPreferences(const WebPreferences& other); |
| 290 ~WebPreferences(); | 291 ~WebPreferences(); |
| 291 }; | 292 }; |
| 292 | 293 |
| 293 } // namespace content | 294 } // namespace content |
| 294 | 295 |
| 295 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 296 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |