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

Side by Side Diff: content/renderer/web_preferences.cc

Issue 293003005: Remove unneeded calls to enable the threaded parser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/renderer/web_preferences.h" 5 #include "content/public/renderer/web_preferences.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "third_party/WebKit/public/platform/WebString.h" 8 #include "third_party/WebKit/public/platform/WebString.h"
9 #include "third_party/WebKit/public/platform/WebURL.h" 9 #include "third_party/WebKit/public/platform/WebURL.h"
10 #include "third_party/WebKit/public/web/WebKit.h" 10 #include "third_party/WebKit/public/web/WebKit.h"
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 #endif 333 #endif
334 334
335 WebNetworkStateNotifier::setOnLine(prefs.is_online); 335 WebNetworkStateNotifier::setOnLine(prefs.is_online);
336 settings->setPinchVirtualViewportEnabled( 336 settings->setPinchVirtualViewportEnabled(
337 prefs.pinch_virtual_viewport_enabled); 337 prefs.pinch_virtual_viewport_enabled);
338 338
339 settings->setPinchOverlayScrollbarThickness( 339 settings->setPinchOverlayScrollbarThickness(
340 prefs.pinch_overlay_scrollbar_thickness); 340 prefs.pinch_overlay_scrollbar_thickness);
341 settings->setUseSolidColorScrollbars(prefs.use_solid_color_scrollbars); 341 settings->setUseSolidColorScrollbars(prefs.use_solid_color_scrollbars);
342 settings->setCompositorTouchHitTesting(prefs.compositor_touch_hit_testing); 342 settings->setCompositorTouchHitTesting(prefs.compositor_touch_hit_testing);
343
344 settings->setThreadedHTMLParser(true);
345 settings->setUseThreadedHTMLParserForDataURLs(true);
346 } 343 }
347 344
348 } // namespace content 345 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698