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

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

Issue 2539283002: Remove PlatformGestureEvent in favour of using WebGestureEvent (Closed)
Patch Set: Rebase and fix comments 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..99aeb48596b5b0694ea982f35e092474cc502cce 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 = ScaleWebGestureEvent(frame.view(), event);
+ return frame.eventHandler().handleGestureEvent(scaledEvent);
}
void WebPagePopupImpl::handleMouseDown(LocalFrame& mainFrame,

Powered by Google App Engine
This is Rietveld 408576698