| 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/strings/string_util.h" | 7 #include "base/strings/string_util.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "third_party/WebKit/public/web/WebSettings.h" | 10 #include "third_party/WebKit/public/web/WebSettings.h" |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 context_menu_on_mouse_up(false), | 75 context_menu_on_mouse_up(false), |
| 76 #endif | 76 #endif |
| 77 javascript_enabled(true), | 77 javascript_enabled(true), |
| 78 web_security_enabled(true), | 78 web_security_enabled(true), |
| 79 javascript_can_open_windows_automatically(true), | 79 javascript_can_open_windows_automatically(true), |
| 80 loads_images_automatically(true), | 80 loads_images_automatically(true), |
| 81 images_enabled(true), | 81 images_enabled(true), |
| 82 plugins_enabled(true), | 82 plugins_enabled(true), |
| 83 dom_paste_enabled(false), // enables execCommand("paste") | 83 dom_paste_enabled(false), // enables execCommand("paste") |
| 84 shrinks_standalone_images_to_fit(true), | 84 shrinks_standalone_images_to_fit(true), |
| 85 uses_universal_detector(false), // Disabled: page cycler regression | |
| 86 text_areas_are_resizable(true), | 85 text_areas_are_resizable(true), |
| 87 allow_scripts_to_close_windows(false), | 86 allow_scripts_to_close_windows(false), |
| 88 remote_fonts_enabled(true), | 87 remote_fonts_enabled(true), |
| 89 javascript_can_access_clipboard(false), | 88 javascript_can_access_clipboard(false), |
| 90 xslt_enabled(true), | 89 xslt_enabled(true), |
| 91 xss_auditor_enabled(true), | 90 xss_auditor_enabled(true), |
| 92 dns_prefetching_enabled(true), | 91 dns_prefetching_enabled(true), |
| 93 data_saver_enabled(false), | 92 data_saver_enabled(false), |
| 94 local_storage_enabled(false), | 93 local_storage_enabled(false), |
| 95 databases_enabled(false), | 94 databases_enabled(false), |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 pictograph_font_family_map[kCommonScript] = | 227 pictograph_font_family_map[kCommonScript] = |
| 229 base::ASCIIToUTF16("Times New Roman"); | 228 base::ASCIIToUTF16("Times New Roman"); |
| 230 } | 229 } |
| 231 | 230 |
| 232 WebPreferences::WebPreferences(const WebPreferences& other) = default; | 231 WebPreferences::WebPreferences(const WebPreferences& other) = default; |
| 233 | 232 |
| 234 WebPreferences::~WebPreferences() { | 233 WebPreferences::~WebPreferences() { |
| 235 } | 234 } |
| 236 | 235 |
| 237 } // namespace content | 236 } // namespace content |
| OLD | NEW |