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

Unified Diff: components/html_viewer/blink_settings.cc

Issue 1415513002: Remove plumbing for inert-visual-viewport flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix layout test + trybot compile error 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 side-by-side diff with in-line comments
Download patch
Index: components/html_viewer/blink_settings.cc
diff --git a/components/html_viewer/blink_settings.cc b/components/html_viewer/blink_settings.cc
index b9ee5943d6c1a527533119774a194d0b579890a1..3b33bd0f017c5392ae800859e72bfcffb812acdf 100644
--- a/components/html_viewer/blink_settings.cc
+++ b/components/html_viewer/blink_settings.cc
@@ -187,7 +187,6 @@ struct WebPreferences {
bool navigate_on_drag_drop;
V8CacheOptions v8_cache_options;
bool slimming_paint_v2_enabled;
- bool inert_visual_viewport;
// This flags corresponds to a Page's Settings' setCookieEnabled state. It
// only controls whether or not the "document.cookie" field is properly
@@ -384,7 +383,6 @@ WebPreferences::WebPreferences()
navigate_on_drag_drop(true),
v8_cache_options(V8_CACHE_OPTIONS_DEFAULT),
slimming_paint_v2_enabled(false),
- inert_visual_viewport(false),
cookie_enabled(true),
pepper_accelerated_video_decode_enabled(false),
animation_policy(IMAGE_ANIMATION_POLICY_ALLOWED),
@@ -729,8 +727,6 @@ void ApplySettings(blink::WebView* web_view, bool test_mode) {
settings->setSupportsMultipleWindows(prefs.supports_multiple_windows);
- settings->setInertVisualViewport(prefs.inert_visual_viewport);
-
// TODO(bokan): Remove once Blink side is gone.
settings->setInvertViewportScrollOrder(true);

Powered by Google App Engine
This is Rietveld 408576698