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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 text_blobs_enabled(false), | 141 text_blobs_enabled(false), |
142 allow_displaying_insecure_content(true), | 142 allow_displaying_insecure_content(true), |
143 allow_running_insecure_content(false), | 143 allow_running_insecure_content(false), |
144 disable_reading_from_canvas(false), | 144 disable_reading_from_canvas(false), |
145 strict_mixed_content_checking(false), | 145 strict_mixed_content_checking(false), |
146 strict_powerful_feature_restrictions(false), | 146 strict_powerful_feature_restrictions(false), |
147 password_echo_enabled(false), | 147 password_echo_enabled(false), |
148 should_print_backgrounds(false), | 148 should_print_backgrounds(false), |
149 should_clear_document_background(true), | 149 should_clear_document_background(true), |
150 enable_scroll_animator(false), | 150 enable_scroll_animator(false), |
151 region_based_columns_enabled(false), | |
152 touch_enabled(false), | 151 touch_enabled(false), |
153 device_supports_touch(false), | 152 device_supports_touch(false), |
154 device_supports_mouse(true), | 153 device_supports_mouse(true), |
155 touch_adjustment_enabled(true), | 154 touch_adjustment_enabled(true), |
156 pointer_events_max_touch_points(0), | 155 pointer_events_max_touch_points(0), |
157 available_pointer_types(0), | 156 available_pointer_types(0), |
158 primary_pointer_type(ui::POINTER_TYPE_NONE), | 157 primary_pointer_type(ui::POINTER_TYPE_NONE), |
159 available_hover_types(0), | 158 available_hover_types(0), |
160 primary_hover_type(ui::HOVER_TYPE_NONE), | 159 primary_hover_type(ui::HOVER_TYPE_NONE), |
161 sync_xhr_in_documents_enabled(true), | 160 sync_xhr_in_documents_enabled(true), |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); | 233 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); |
235 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); | 234 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); |
236 pictograph_font_family_map[kCommonScript] = | 235 pictograph_font_family_map[kCommonScript] = |
237 base::ASCIIToUTF16("Times New Roman"); | 236 base::ASCIIToUTF16("Times New Roman"); |
238 } | 237 } |
239 | 238 |
240 WebPreferences::~WebPreferences() { | 239 WebPreferences::~WebPreferences() { |
241 } | 240 } |
242 | 241 |
243 } // namespace content | 242 } // namespace content |
OLD | NEW |