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

Unified Diff: third_party/WebKit/Source/web/WebPagePopupImpl.cpp

Issue 2539283002: Remove PlatformGestureEvent in favour of using WebGestureEvent (Closed)
Patch Set: Add missing copyright on new file Created 4 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
Index: third_party/WebKit/Source/web/WebPagePopupImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
index d4eacc7f32b983831c1c58e44fc32441ff6ca661..dfb627750e88a6dcd620c7d8ba6f02651491c644 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -470,8 +470,8 @@ WebInputEventResult WebPagePopupImpl::handleGestureEvent(
return WebInputEventResult::NotHandled;
}
LocalFrame& frame = *toLocalFrame(m_page->mainFrame());
- return frame.eventHandler().handleGestureEvent(
- PlatformGestureEventBuilder(frame.view(), event));
+ WebGestureEvent scaledEvent = TransformWebGestureEvent(frame.view(), event);
+ return frame.eventHandler().handleGestureEvent(scaledEvent);
}
void WebPagePopupImpl::handleMouseDown(LocalFrame& mainFrame,
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.cpp ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698