| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 // 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 |
| 96 // of DNS prefetch as well. | 96 // of DNS prefetch as well. |
| 97 bool dns_prefetching_enabled; | 97 bool dns_prefetching_enabled; |
| 98 bool local_storage_enabled; | 98 bool local_storage_enabled; |
| 99 bool databases_enabled; | 99 bool databases_enabled; |
| 100 bool application_cache_enabled; | 100 bool application_cache_enabled; |
| 101 bool tabs_to_links; | 101 bool tabs_to_links; |
| 102 bool caret_browsing_enabled; | 102 bool caret_browsing_enabled; |
| 103 bool hyperlink_auditing_enabled; | 103 bool hyperlink_auditing_enabled; |
| 104 bool is_online; | 104 bool is_online; |
| 105 net::NetworkChangeNotifier::ConnectionType connection_type; | 105 net::NetworkChangeNotifier::ConnectionType net_info_connection_type; |
| 106 double net_info_max_bandwidth_mbps; |
| 106 bool allow_universal_access_from_file_urls; | 107 bool allow_universal_access_from_file_urls; |
| 107 bool allow_file_access_from_file_urls; | 108 bool allow_file_access_from_file_urls; |
| 108 bool webaudio_enabled; | 109 bool webaudio_enabled; |
| 109 bool experimental_webgl_enabled; | 110 bool experimental_webgl_enabled; |
| 110 bool pepper_3d_enabled; | 111 bool pepper_3d_enabled; |
| 111 bool flash_3d_enabled; | 112 bool flash_3d_enabled; |
| 112 bool flash_stage3d_enabled; | 113 bool flash_stage3d_enabled; |
| 113 bool flash_stage3d_baseline_enabled; | 114 bool flash_stage3d_baseline_enabled; |
| 114 bool gl_multisampling_enabled; | 115 bool gl_multisampling_enabled; |
| 115 bool privileged_webgl_extensions_enabled; | 116 bool privileged_webgl_extensions_enabled; |
| (...skipping 106 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 | 223 // 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 | 224 // chrome, except for the cases where it would require lots of extra work for |
| 224 // the embedder to use the same default value. | 225 // the embedder to use the same default value. |
| 225 WebPreferences(); | 226 WebPreferences(); |
| 226 ~WebPreferences(); | 227 ~WebPreferences(); |
| 227 }; | 228 }; |
| 228 | 229 |
| 229 } // namespace content | 230 } // namespace content |
| 230 | 231 |
| 231 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 232 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |