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

Unified Diff: third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp

Issue 2730573003: Moved FrameHost::m_visualViewport to Page (Closed)
Patch Set: Fixed some compile errors on mac and android Created 3 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
Index: third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp b/third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp
index dd76ff03fd77a41915ed94c613caa233bc984937..f48e66755785368f2a165a1403ced0f7c586bd28 100644
--- a/third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp
@@ -679,7 +679,7 @@ TEST(WebInputEventConversionTest, VisualViewportOffset) {
webViewImpl->setPageScaleFactor(2);
IntPoint visualOffset(35, 60);
- webViewImpl->page()->frameHost().visualViewport().setLocation(visualOffset);
+ webViewImpl->page()->visualViewport().setLocation(visualOffset);
FrameView* view = toLocalFrame(webViewImpl->page()->mainFrame())->view();
@@ -820,7 +820,7 @@ TEST(WebInputEventConversionTest, ElasticOverscroll) {
float pageScale = 2;
webViewImpl->setPageScaleFactor(pageScale);
IntPoint visualOffset(35, 60);
- webViewImpl->page()->frameHost().visualViewport().setLocation(visualOffset);
+ webViewImpl->page()->visualViewport().setLocation(visualOffset);
{
WebMouseEvent webMouseEvent(WebInputEvent::MouseMove,
WebInputEvent::NoModifiers,
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | third_party/WebKit/Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698