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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.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/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index ccc746e2acaad182726e41fe1e3977aeb47be271..d220f3afbe2aaded5a94cbb4ceb7523e96c46769 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -863,8 +863,8 @@ WebInputEventResult WebFrameWidgetImpl::handleGestureEvent(
NOTREACHED();
}
LocalFrame* frame = m_localRoot->frame();
- eventResult = frame->eventHandler().handleGestureEvent(
- PlatformGestureEventBuilder(frame->view(), event));
+ WebGestureEvent scaledEvent = TransformWebGestureEvent(frame->view(), event);
+ eventResult = frame->eventHandler().handleGestureEvent(scaledEvent);
m_client->didHandleGestureEvent(event, eventCancelled);
return eventResult;
}
« no previous file with comments | « third_party/WebKit/Source/web/LinkHighlightImplTest.cpp ('k') | third_party/WebKit/Source/web/WebInputEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698