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

Unified Diff: Source/web/tests/WebViewTest.cpp

Issue 1025543002: Remove old pinch-zoom paths from Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/tests/WebInputEventConversionTest.cpp ('k') | public/web/WebSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebViewTest.cpp
diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp
index f20ade585c3c484df90d6c298da27f98fd59c1cc..4f0ce85f164aca58eadf6161272d4a62aaae7078 100644
--- a/Source/web/tests/WebViewTest.cpp
+++ b/Source/web/tests/WebViewTest.cpp
@@ -435,7 +435,6 @@ TEST_F(WebViewTest, HitTestResultAtWithPageScaleAndPan)
std::string url = m_baseURL + "specify_size.html?" + "50px" + ":" + "50px";
URLTestHelpers::registerMockedURLLoad(toKURL(url), "specify_size.html");
WebView* webView = m_webViewHelper.initialize(true);
- webView->settings()->setPinchVirtualViewportEnabled(true);
loadFrame(webView->mainFrame(), url);
webView->resize(WebSize(100, 100));
WebPoint hitPoint(75, 75);
@@ -495,7 +494,6 @@ TEST_F(WebViewTest, HitTestResultForTapWithTapAreaPageScaleAndPan)
std::string url = m_baseURL + "hit_test.html";
URLTestHelpers::registerMockedURLLoad(toKURL(url), "hit_test.html");
WebView* webView = m_webViewHelper.initialize(true);
- webView->settings()->setPinchVirtualViewportEnabled(true);
loadFrame(webView->mainFrame(), url);
webView->resize(WebSize(100, 100));
WebPoint hitPoint(55, 55);
« no previous file with comments | « Source/web/tests/WebInputEventConversionTest.cpp ('k') | public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698