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

Unified Diff: components/html_viewer/blink_settings_impl.cc

Issue 1509783002: Revert of Remove invert viewport scroll order setting from Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/blink_settings_impl.cc
diff --git a/components/html_viewer/blink_settings_impl.cc b/components/html_viewer/blink_settings_impl.cc
index fbe281917871109ee64346239ac5c0a2657bde6b..a2b31800ff0982228d58900170b0a7103bbfa8b3 100644
--- a/components/html_viewer/blink_settings_impl.cc
+++ b/components/html_viewer/blink_settings_impl.cc
@@ -295,6 +295,9 @@
static_cast<blink::WebSettings::EditingBehavior>(prefs.editing_behavior));
settings->setSupportsMultipleWindows(prefs.supports_multiple_windows);
+
+ // TODO(bokan): Remove once Blink side is gone.
+ settings->setInvertViewportScrollOrder(true);
settings->setViewportEnabled(prefs.viewport_enabled);
settings->setLoadWithOverviewMode(prefs.initialize_at_minimum_page_scale);
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698