| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 minimum_accelerated_2d_canvas_size(257 * 256), | 125 minimum_accelerated_2d_canvas_size(257 * 256), |
| 126 antialiased_2d_canvas_disabled(false), | 126 antialiased_2d_canvas_disabled(false), |
| 127 antialiased_clips_2d_canvas_enabled(false), | 127 antialiased_clips_2d_canvas_enabled(false), |
| 128 accelerated_2d_canvas_msaa_sample_count(0), | 128 accelerated_2d_canvas_msaa_sample_count(0), |
| 129 accelerated_filters_enabled(false), | 129 accelerated_filters_enabled(false), |
| 130 deferred_filters_enabled(false), | 130 deferred_filters_enabled(false), |
| 131 container_culling_enabled(false), | 131 container_culling_enabled(false), |
| 132 text_blobs_enabled(false), | 132 text_blobs_enabled(false), |
| 133 allow_displaying_insecure_content(true), | 133 allow_displaying_insecure_content(true), |
| 134 allow_running_insecure_content(false), | 134 allow_running_insecure_content(false), |
| 135 strict_mixed_content_checking(false), |
| 135 password_echo_enabled(false), | 136 password_echo_enabled(false), |
| 136 should_print_backgrounds(false), | 137 should_print_backgrounds(false), |
| 137 should_clear_document_background(true), | 138 should_clear_document_background(true), |
| 138 enable_scroll_animator(false), | 139 enable_scroll_animator(false), |
| 139 region_based_columns_enabled(false), | 140 region_based_columns_enabled(false), |
| 140 touch_enabled(false), | 141 touch_enabled(false), |
| 141 device_supports_touch(false), | 142 device_supports_touch(false), |
| 142 device_supports_mouse(true), | 143 device_supports_mouse(true), |
| 143 touch_adjustment_enabled(true), | 144 touch_adjustment_enabled(true), |
| 144 pointer_events_max_touch_points(0), | 145 pointer_events_max_touch_points(0), |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); | 216 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); |
| 216 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); | 217 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); |
| 217 pictograph_font_family_map[kCommonScript] = | 218 pictograph_font_family_map[kCommonScript] = |
| 218 base::ASCIIToUTF16("Times New Roman"); | 219 base::ASCIIToUTF16("Times New Roman"); |
| 219 } | 220 } |
| 220 | 221 |
| 221 WebPreferences::~WebPreferences() { | 222 WebPreferences::~WebPreferences() { |
| 222 } | 223 } |
| 223 | 224 |
| 224 } // namespace content | 225 } // namespace content |
| OLD | NEW |