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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 data_saver_enabled(false), | 92 data_saver_enabled(false), |
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 history_entry_requires_user_gesture(false), | 98 history_entry_requires_user_gesture(false), |
99 hyperlink_auditing_enabled(true), | 99 hyperlink_auditing_enabled(true), |
100 allow_universal_access_from_file_urls(false), | 100 allow_universal_access_from_file_urls(false), |
101 allow_file_access_from_file_urls(false), | 101 allow_file_access_from_file_urls(false), |
| 102 disable_caret_blinking(false), |
102 experimental_webgl_enabled(false), | 103 experimental_webgl_enabled(false), |
103 pepper_3d_enabled(false), | 104 pepper_3d_enabled(false), |
104 flash_3d_enabled(true), | 105 flash_3d_enabled(true), |
105 flash_stage3d_enabled(false), | 106 flash_stage3d_enabled(false), |
106 flash_stage3d_baseline_enabled(false), | 107 flash_stage3d_baseline_enabled(false), |
107 privileged_webgl_extensions_enabled(false), | 108 privileged_webgl_extensions_enabled(false), |
108 webgl_errors_to_console_enabled(true), | 109 webgl_errors_to_console_enabled(true), |
109 mock_scrollbars_enabled(false), | 110 mock_scrollbars_enabled(false), |
110 hide_scrollbars(false), | 111 hide_scrollbars(false), |
111 accelerated_2d_canvas_enabled(false), | 112 accelerated_2d_canvas_enabled(false), |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 pictograph_font_family_map[kCommonScript] = | 229 pictograph_font_family_map[kCommonScript] = |
229 base::ASCIIToUTF16("Times New Roman"); | 230 base::ASCIIToUTF16("Times New Roman"); |
230 } | 231 } |
231 | 232 |
232 WebPreferences::WebPreferences(const WebPreferences& other) = default; | 233 WebPreferences::WebPreferences(const WebPreferences& other) = default; |
233 | 234 |
234 WebPreferences::~WebPreferences() { | 235 WebPreferences::~WebPreferences() { |
235 } | 236 } |
236 | 237 |
237 } // namespace content | 238 } // namespace content |
OLD | NEW |