| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 viewport_enabled(false), | 177 viewport_enabled(false), |
| 178 viewport_meta_enabled(false), | 178 viewport_meta_enabled(false), |
| 179 main_frame_resizes_are_orientation_changes(false), | 179 main_frame_resizes_are_orientation_changes(false), |
| 180 initialize_at_minimum_page_scale(true), | 180 initialize_at_minimum_page_scale(true), |
| 181 #if defined(OS_MACOSX) | 181 #if defined(OS_MACOSX) |
| 182 smart_insert_delete_enabled(true), | 182 smart_insert_delete_enabled(true), |
| 183 #else | 183 #else |
| 184 smart_insert_delete_enabled(false), | 184 smart_insert_delete_enabled(false), |
| 185 #endif | 185 #endif |
| 186 spatial_navigation_enabled(false), | 186 spatial_navigation_enabled(false), |
| 187 invert_viewport_scroll_order(false), |
| 187 pinch_overlay_scrollbar_thickness(0), | 188 pinch_overlay_scrollbar_thickness(0), |
| 188 use_solid_color_scrollbars(false), | 189 use_solid_color_scrollbars(false), |
| 189 navigate_on_drag_drop(true), | 190 navigate_on_drag_drop(true), |
| 190 v8_cache_options(V8_CACHE_OPTIONS_DEFAULT), | 191 v8_cache_options(V8_CACHE_OPTIONS_DEFAULT), |
| 191 slimming_paint_enabled(false), | 192 slimming_paint_enabled(false), |
| 192 cookie_enabled(true), | 193 cookie_enabled(true), |
| 193 pepper_accelerated_video_decode_enabled(false), | 194 pepper_accelerated_video_decode_enabled(false), |
| 194 animation_policy(IMAGE_ANIMATION_POLICY_ALLOWED), | 195 animation_policy(IMAGE_ANIMATION_POLICY_ALLOWED), |
| 195 #if defined(OS_ANDROID) | 196 #if defined(OS_ANDROID) |
| 196 text_autosizing_enabled(true), | 197 text_autosizing_enabled(true), |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); | 233 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); |
| 233 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); | 234 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); |
| 234 pictograph_font_family_map[kCommonScript] = | 235 pictograph_font_family_map[kCommonScript] = |
| 235 base::ASCIIToUTF16("Times New Roman"); | 236 base::ASCIIToUTF16("Times New Roman"); |
| 236 } | 237 } |
| 237 | 238 |
| 238 WebPreferences::~WebPreferences() { | 239 WebPreferences::~WebPreferences() { |
| 239 } | 240 } |
| 240 | 241 |
| 241 } // namespace content | 242 } // namespace content |
| OLD | NEW |