| 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 #include "content/public/common/web_preferences.h" | 5 #include "content/public/common/web_preferences.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "third_party/WebKit/public/web/WebSettings.h" | 10 #include "third_party/WebKit/public/web/WebSettings.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 xslt_enabled(true), | 90 xslt_enabled(true), |
| 91 xss_auditor_enabled(true), | 91 xss_auditor_enabled(true), |
| 92 dns_prefetching_enabled(true), | 92 dns_prefetching_enabled(true), |
| 93 local_storage_enabled(false), | 93 local_storage_enabled(false), |
| 94 databases_enabled(false), | 94 databases_enabled(false), |
| 95 application_cache_enabled(false), | 95 application_cache_enabled(false), |
| 96 tabs_to_links(true), | 96 tabs_to_links(true), |
| 97 caret_browsing_enabled(false), | 97 caret_browsing_enabled(false), |
| 98 hyperlink_auditing_enabled(true), | 98 hyperlink_auditing_enabled(true), |
| 99 is_online(true), | 99 is_online(true), |
| 100 connection_type(net::NetworkChangeNotifier::CONNECTION_NONE), | 100 net_info_connection_type(net::NetworkChangeNotifier::CONNECTION_NONE), |
| 101 net_info_max_bandwidth_mbps( |
| 102 net::NetworkChangeNotifier::GetMaxBandwidthForConnectionSubtype( |
| 103 net::NetworkChangeNotifier::SUBTYPE_NONE)), |
| 101 allow_universal_access_from_file_urls(false), | 104 allow_universal_access_from_file_urls(false), |
| 102 allow_file_access_from_file_urls(false), | 105 allow_file_access_from_file_urls(false), |
| 103 webaudio_enabled(false), | 106 webaudio_enabled(false), |
| 104 experimental_webgl_enabled(false), | 107 experimental_webgl_enabled(false), |
| 105 pepper_3d_enabled(false), | 108 pepper_3d_enabled(false), |
| 106 flash_3d_enabled(true), | 109 flash_3d_enabled(true), |
| 107 flash_stage3d_enabled(false), | 110 flash_stage3d_enabled(false), |
| 108 flash_stage3d_baseline_enabled(false), | 111 flash_stage3d_baseline_enabled(false), |
| 109 gl_multisampling_enabled(true), | 112 gl_multisampling_enabled(true), |
| 110 privileged_webgl_extensions_enabled(false), | 113 privileged_webgl_extensions_enabled(false), |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); | 224 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); |
| 222 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); | 225 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); |
| 223 pictograph_font_family_map[kCommonScript] = | 226 pictograph_font_family_map[kCommonScript] = |
| 224 base::ASCIIToUTF16("Times New Roman"); | 227 base::ASCIIToUTF16("Times New Roman"); |
| 225 } | 228 } |
| 226 | 229 |
| 227 WebPreferences::~WebPreferences() { | 230 WebPreferences::~WebPreferences() { |
| 228 } | 231 } |
| 229 | 232 |
| 230 } // namespace content | 233 } // namespace content |
| OLD | NEW |