| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 #else | 132 #else |
| 133 smart_insert_delete_enabled(false), | 133 smart_insert_delete_enabled(false), |
| 134 #endif | 134 #endif |
| 135 spatial_navigation_enabled(false), | 135 spatial_navigation_enabled(false), |
| 136 pinch_virtual_viewport_enabled(false), | 136 pinch_virtual_viewport_enabled(false), |
| 137 pinch_overlay_scrollbar_thickness(0), | 137 pinch_overlay_scrollbar_thickness(0), |
| 138 use_solid_color_scrollbars(false), | 138 use_solid_color_scrollbars(false), |
| 139 navigate_on_drag_drop(true), | 139 navigate_on_drag_drop(true), |
| 140 v8_cache_options(V8_CACHE_OPTIONS_OFF), | 140 v8_cache_options(V8_CACHE_OPTIONS_OFF), |
| 141 v8_script_streaming_enabled(false), | 141 v8_script_streaming_enabled(false), |
| 142 slimming_paint_enabled(false), |
| 142 cookie_enabled(true), | 143 cookie_enabled(true), |
| 143 pepper_accelerated_video_decode_enabled(false) | 144 pepper_accelerated_video_decode_enabled(false) |
| 144 #if defined(OS_ANDROID) | 145 #if defined(OS_ANDROID) |
| 145 , | 146 , |
| 146 text_autosizing_enabled(true), | 147 text_autosizing_enabled(true), |
| 147 font_scale_factor(1.0f), | 148 font_scale_factor(1.0f), |
| 148 device_scale_adjustment(1.0f), | 149 device_scale_adjustment(1.0f), |
| 149 force_enable_zoom(false), | 150 force_enable_zoom(false), |
| 150 fullscreen_supported(true), | 151 fullscreen_supported(true), |
| 151 double_tap_to_zoom_enabled(true), | 152 double_tap_to_zoom_enabled(true), |
| (...skipping 20 matching lines...) Expand all Loading... |
| 172 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); | 173 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); |
| 173 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); | 174 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); |
| 174 pictograph_font_family_map[kCommonScript] = | 175 pictograph_font_family_map[kCommonScript] = |
| 175 base::ASCIIToUTF16("Times New Roman"); | 176 base::ASCIIToUTF16("Times New Roman"); |
| 176 } | 177 } |
| 177 | 178 |
| 178 WebPreferences::~WebPreferences() { | 179 WebPreferences::~WebPreferences() { |
| 179 } | 180 } |
| 180 | 181 |
| 181 } // namespace content | 182 } // namespace content |
| OLD | NEW |