Chromium Code Reviews| 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(0.0), | |
|
pauljensen
2015/09/11 14:25:37
might want to replace 0.0 with GetMaxBandWidthForC
jkarlin
2015/09/11 20:15:21
Done.
| |
| 101 allow_universal_access_from_file_urls(false), | 102 allow_universal_access_from_file_urls(false), |
| 102 allow_file_access_from_file_urls(false), | 103 allow_file_access_from_file_urls(false), |
| 103 webaudio_enabled(false), | 104 webaudio_enabled(false), |
| 104 experimental_webgl_enabled(false), | 105 experimental_webgl_enabled(false), |
| 105 pepper_3d_enabled(false), | 106 pepper_3d_enabled(false), |
| 106 flash_3d_enabled(true), | 107 flash_3d_enabled(true), |
| 107 flash_stage3d_enabled(false), | 108 flash_stage3d_enabled(false), |
| 108 flash_stage3d_baseline_enabled(false), | 109 flash_stage3d_baseline_enabled(false), |
| 109 gl_multisampling_enabled(true), | 110 gl_multisampling_enabled(true), |
| 110 privileged_webgl_extensions_enabled(false), | 111 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"); | 222 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); |
| 222 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); | 223 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); |
| 223 pictograph_font_family_map[kCommonScript] = | 224 pictograph_font_family_map[kCommonScript] = |
| 224 base::ASCIIToUTF16("Times New Roman"); | 225 base::ASCIIToUTF16("Times New Roman"); |
| 225 } | 226 } |
| 226 | 227 |
| 227 WebPreferences::~WebPreferences() { | 228 WebPreferences::~WebPreferences() { |
| 228 } | 229 } |
| 229 | 230 |
| 230 } // namespace content | 231 } // namespace content |
| OLD | NEW |