| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 // of DNS prefetch as well. | 109 // of DNS prefetch as well. |
| 110 bool dns_prefetching_enabled; | 110 bool dns_prefetching_enabled; |
| 111 // Preference to save data. When enabled, requests will contain the header | 111 // Preference to save data. When enabled, requests will contain the header |
| 112 // 'Save-Data: on'. | 112 // 'Save-Data: on'. |
| 113 bool data_saver_enabled; | 113 bool data_saver_enabled; |
| 114 bool local_storage_enabled; | 114 bool local_storage_enabled; |
| 115 bool databases_enabled; | 115 bool databases_enabled; |
| 116 bool application_cache_enabled; | 116 bool application_cache_enabled; |
| 117 bool tabs_to_links; | 117 bool tabs_to_links; |
| 118 bool caret_browsing_enabled; | 118 bool caret_browsing_enabled; |
| 119 bool history_entry_requires_user_gesture; |
| 119 bool hyperlink_auditing_enabled; | 120 bool hyperlink_auditing_enabled; |
| 120 bool allow_universal_access_from_file_urls; | 121 bool allow_universal_access_from_file_urls; |
| 121 bool allow_file_access_from_file_urls; | 122 bool allow_file_access_from_file_urls; |
| 122 bool experimental_webgl_enabled; | 123 bool experimental_webgl_enabled; |
| 123 bool pepper_3d_enabled; | 124 bool pepper_3d_enabled; |
| 124 bool flash_3d_enabled; | 125 bool flash_3d_enabled; |
| 125 bool flash_stage3d_enabled; | 126 bool flash_stage3d_enabled; |
| 126 bool flash_stage3d_baseline_enabled; | 127 bool flash_stage3d_baseline_enabled; |
| 127 bool privileged_webgl_extensions_enabled; | 128 bool privileged_webgl_extensions_enabled; |
| 128 bool webgl_errors_to_console_enabled; | 129 bool webgl_errors_to_console_enabled; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 // 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 |
| 253 // the embedder to use the same default value. | 254 // the embedder to use the same default value. |
| 254 WebPreferences(); | 255 WebPreferences(); |
| 255 WebPreferences(const WebPreferences& other); | 256 WebPreferences(const WebPreferences& other); |
| 256 ~WebPreferences(); | 257 ~WebPreferences(); |
| 257 }; | 258 }; |
| 258 | 259 |
| 259 } // namespace content | 260 } // namespace content |
| 260 | 261 |
| 261 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 262 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |