| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 minimum_font_size(0), | 46 minimum_font_size(0), |
| 47 minimum_logical_font_size(6), | 47 minimum_logical_font_size(6), |
| 48 default_encoding("ISO-8859-1"), | 48 default_encoding("ISO-8859-1"), |
| 49 javascript_enabled(true), | 49 javascript_enabled(true), |
| 50 web_security_enabled(true), | 50 web_security_enabled(true), |
| 51 javascript_can_open_windows_automatically(true), | 51 javascript_can_open_windows_automatically(true), |
| 52 loads_images_automatically(true), | 52 loads_images_automatically(true), |
| 53 images_enabled(true), | 53 images_enabled(true), |
| 54 plugins_enabled(true), | 54 plugins_enabled(true), |
| 55 dom_paste_enabled(false), // enables execCommand("paste") | 55 dom_paste_enabled(false), // enables execCommand("paste") |
| 56 site_specific_quirks_enabled(false), | |
| 57 shrinks_standalone_images_to_fit(true), | 56 shrinks_standalone_images_to_fit(true), |
| 58 uses_universal_detector(false), // Disabled: page cycler regression | 57 uses_universal_detector(false), // Disabled: page cycler regression |
| 59 text_areas_are_resizable(true), | 58 text_areas_are_resizable(true), |
| 60 java_enabled(true), | 59 java_enabled(true), |
| 61 allow_scripts_to_close_windows(false), | 60 allow_scripts_to_close_windows(false), |
| 62 remote_fonts_enabled(true), | 61 remote_fonts_enabled(true), |
| 63 javascript_can_access_clipboard(false), | 62 javascript_can_access_clipboard(false), |
| 64 xslt_enabled(true), | 63 xslt_enabled(true), |
| 65 xss_auditor_enabled(true), | 64 xss_auditor_enabled(true), |
| 66 dns_prefetching_enabled(true), | 65 dns_prefetching_enabled(true), |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); | 171 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); |
| 173 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); | 172 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); |
| 174 pictograph_font_family_map[kCommonScript] = | 173 pictograph_font_family_map[kCommonScript] = |
| 175 base::ASCIIToUTF16("Times New Roman"); | 174 base::ASCIIToUTF16("Times New Roman"); |
| 176 } | 175 } |
| 177 | 176 |
| 178 WebPreferences::~WebPreferences() { | 177 WebPreferences::~WebPreferences() { |
| 179 } | 178 } |
| 180 | 179 |
| 181 } // namespace content | 180 } // namespace content |
| OLD | NEW |