Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: components/html_viewer/web_preferences.cc

Issue 1415513002: Remove plumbing for inert-visual-viewport flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/html_viewer/web_preferences.h" 5 #include "components/html_viewer/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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 smart_insert_delete_enabled(true), 127 smart_insert_delete_enabled(true),
128 #else 128 #else
129 smart_insert_delete_enabled(false), 129 smart_insert_delete_enabled(false),
130 #endif 130 #endif
131 spatial_navigation_enabled(false), 131 spatial_navigation_enabled(false),
132 pinch_overlay_scrollbar_thickness(0), 132 pinch_overlay_scrollbar_thickness(0),
133 use_solid_color_scrollbars(false), 133 use_solid_color_scrollbars(false),
134 navigate_on_drag_drop(true), 134 navigate_on_drag_drop(true),
135 v8_cache_options(V8_CACHE_OPTIONS_DEFAULT), 135 v8_cache_options(V8_CACHE_OPTIONS_DEFAULT),
136 slimming_paint_v2_enabled(false), 136 slimming_paint_v2_enabled(false),
137 inert_visual_viewport(false),
138 cookie_enabled(true), 137 cookie_enabled(true),
139 pepper_accelerated_video_decode_enabled(false), 138 pepper_accelerated_video_decode_enabled(false),
140 animation_policy(IMAGE_ANIMATION_POLICY_ALLOWED), 139 animation_policy(IMAGE_ANIMATION_POLICY_ALLOWED),
141 #if defined(OS_ANDROID) 140 #if defined(OS_ANDROID)
142 text_autosizing_enabled(true), 141 text_autosizing_enabled(true),
143 font_scale_factor(1.0f), 142 font_scale_factor(1.0f),
144 device_scale_adjustment(1.0f), 143 device_scale_adjustment(1.0f),
145 force_enable_zoom(false), 144 force_enable_zoom(false),
146 fullscreen_supported(true), 145 fullscreen_supported(true),
147 double_tap_to_zoom_enabled(true), 146 double_tap_to_zoom_enabled(true),
(...skipping 30 matching lines...) Expand all
178 sans_serif_font_family_map[kCommonScript] = base::ASCIIToUTF16("Arial"); 177 sans_serif_font_family_map[kCommonScript] = base::ASCIIToUTF16("Arial");
179 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); 178 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script");
180 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); 179 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact");
181 pictograph_font_family_map[kCommonScript] = 180 pictograph_font_family_map[kCommonScript] =
182 base::ASCIIToUTF16("Times New Roman"); 181 base::ASCIIToUTF16("Times New Roman");
183 } 182 }
184 183
185 WebPreferences::~WebPreferences() {} 184 WebPreferences::~WebPreferences() {}
186 185
187 } // namespace html_viewer 186 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/web_preferences.h ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698