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

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

Issue 2646163002: Remove PlatformTouchEvent/Point and use WebTouchEvent/Point instead (Closed)
Patch Set: Fix nit Created 3 years, 11 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/PageWidgetDelegate.cpp
diff --git a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
index f8efadd40a9d663196a3d0b689a182963f12843b..bdc5f91a415ba43c3c4a253e20a28d0490b252fd 100644
--- a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
+++ b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
@@ -260,9 +260,11 @@ WebInputEventResult PageWidgetEventHandler::handleTouchEvent(
LocalFrame& mainFrame,
const WebTouchEvent& event,
const std::vector<const WebInputEvent*>& coalescedEvents) {
+ WebTouchEvent transformedEvent =
+ TransformWebTouchEvent(mainFrame.view(), event);
return mainFrame.eventHandler().handleTouchEvent(
- PlatformTouchEventBuilder(mainFrame.view(), event),
- createPlatformTouchEventVector(mainFrame.view(), coalescedEvents));
+ transformedEvent,
+ TransformWebTouchEventVector(mainFrame.view(), coalescedEvents));
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.cpp ('k') | third_party/WebKit/Source/web/WebInputEventConversion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698