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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 asynchronous_spell_checking_enabled(true), | 79 asynchronous_spell_checking_enabled(true), |
80 unified_textchecker_enabled(false), | 80 unified_textchecker_enabled(false), |
81 accelerated_compositing_for_video_enabled(true), | 81 accelerated_compositing_for_video_enabled(true), |
82 accelerated_2d_canvas_enabled(false), | 82 accelerated_2d_canvas_enabled(false), |
83 minimum_accelerated_2d_canvas_size(257 * 256), | 83 minimum_accelerated_2d_canvas_size(257 * 256), |
84 antialiased_2d_canvas_disabled(false), | 84 antialiased_2d_canvas_disabled(false), |
85 accelerated_2d_canvas_msaa_sample_count(0), | 85 accelerated_2d_canvas_msaa_sample_count(0), |
86 accelerated_filters_enabled(false), | 86 accelerated_filters_enabled(false), |
87 deferred_filters_enabled(false), | 87 deferred_filters_enabled(false), |
88 container_culling_enabled(false), | 88 container_culling_enabled(false), |
89 gesture_tap_highlight_enabled(false), | |
90 allow_displaying_insecure_content(true), | 89 allow_displaying_insecure_content(true), |
91 allow_running_insecure_content(false), | 90 allow_running_insecure_content(false), |
92 password_echo_enabled(false), | 91 password_echo_enabled(false), |
93 should_print_backgrounds(false), | 92 should_print_backgrounds(false), |
94 should_clear_document_background(true), | 93 should_clear_document_background(true), |
95 enable_scroll_animator(false), | 94 enable_scroll_animator(false), |
96 region_based_columns_enabled(false), | 95 region_based_columns_enabled(false), |
97 touch_enabled(false), | 96 touch_enabled(false), |
98 device_supports_touch(false), | 97 device_supports_touch(false), |
99 device_supports_mouse(true), | 98 device_supports_mouse(true), |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); | 161 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); |
163 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); | 162 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); |
164 pictograph_font_family_map[kCommonScript] = | 163 pictograph_font_family_map[kCommonScript] = |
165 base::ASCIIToUTF16("Times New Roman"); | 164 base::ASCIIToUTF16("Times New Roman"); |
166 } | 165 } |
167 | 166 |
168 WebPreferences::~WebPreferences() { | 167 WebPreferences::~WebPreferences() { |
169 } | 168 } |
170 | 169 |
171 } // namespace content | 170 } // namespace content |
OLD | NEW |