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

Side by Side Diff: content/public/common/web_preferences.cc

Issue 1003273003: Always enable Slimming Paint. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 smart_insert_delete_enabled(true), 183 smart_insert_delete_enabled(true),
184 #else 184 #else
185 smart_insert_delete_enabled(false), 185 smart_insert_delete_enabled(false),
186 #endif 186 #endif
187 spatial_navigation_enabled(false), 187 spatial_navigation_enabled(false),
188 pinch_virtual_viewport_enabled(false), 188 pinch_virtual_viewport_enabled(false),
189 pinch_overlay_scrollbar_thickness(0), 189 pinch_overlay_scrollbar_thickness(0),
190 use_solid_color_scrollbars(false), 190 use_solid_color_scrollbars(false),
191 navigate_on_drag_drop(true), 191 navigate_on_drag_drop(true),
192 v8_cache_options(V8_CACHE_OPTIONS_DEFAULT), 192 v8_cache_options(V8_CACHE_OPTIONS_DEFAULT),
193 slimming_paint_enabled(false), 193 slimming_paint_enabled(true),
194 cookie_enabled(true), 194 cookie_enabled(true),
195 pepper_accelerated_video_decode_enabled(false), 195 pepper_accelerated_video_decode_enabled(false),
196 animation_policy(IMAGE_ANIMATION_POLICY_ALLOWED), 196 animation_policy(IMAGE_ANIMATION_POLICY_ALLOWED),
197 #if defined(OS_ANDROID) 197 #if defined(OS_ANDROID)
198 text_autosizing_enabled(true), 198 text_autosizing_enabled(true),
199 font_scale_factor(1.0f), 199 font_scale_factor(1.0f),
200 device_scale_adjustment(1.0f), 200 device_scale_adjustment(1.0f),
201 force_enable_zoom(false), 201 force_enable_zoom(false),
202 fullscreen_supported(true), 202 fullscreen_supported(true),
203 double_tap_to_zoom_enabled(true), 203 double_tap_to_zoom_enabled(true),
(...skipping 27 matching lines...) Expand all
231 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); 231 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script");
232 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); 232 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact");
233 pictograph_font_family_map[kCommonScript] = 233 pictograph_font_family_map[kCommonScript] =
234 base::ASCIIToUTF16("Times New Roman"); 234 base::ASCIIToUTF16("Times New Roman");
235 } 235 }
236 236
237 WebPreferences::~WebPreferences() { 237 WebPreferences::~WebPreferences() {
238 } 238 }
239 239
240 } // namespace content 240 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698