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

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

Issue 2539283002: Remove PlatformGestureEvent in favour of using WebGestureEvent (Closed)
Patch Set: 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 9f4e2d9c7e3c0d8522aa49742ad273b0f0658e73..8c621ec4dde4dec418fc44f5a62a23c211d4d39d 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -464,8 +464,8 @@ WebInputEventResult WebPagePopupImpl::handleGestureEvent(
return WebInputEventResult::NotHandled;
}
LocalFrame& frame = *toLocalFrame(m_page->mainFrame());
- return frame.eventHandler().handleGestureEvent(
- PlatformGestureEventBuilder(frame.view(), event));
+ WebGestureEvent scaledEvent = ScaleWebGestureEvent(frame.view(), event);
+ return frame.eventHandler().handleGestureEvent(scaledEvent);
}
void WebPagePopupImpl::handleMouseDown(LocalFrame& mainFrame,

Powered by Google App Engine
This is Rietveld 408576698