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

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

Issue 2586133003: Remove PlatformWheelEvent and use WebMouseWheelEvent instead (Closed)
Patch Set: Address comments Created 3 years, 12 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 e16d29ea8b0d5fc3041af772c21c477136107d12..7afa9fc86a482cf802ebf045f9ea9cf170e635d7 100644
--- a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
+++ b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
@@ -250,8 +250,9 @@ void PageWidgetEventHandler::handleMouseUp(LocalFrame& mainFrame,
WebInputEventResult PageWidgetEventHandler::handleMouseWheel(
LocalFrame& mainFrame,
const WebMouseWheelEvent& event) {
- return mainFrame.eventHandler().handleWheelEvent(
- PlatformWheelEventBuilder(mainFrame.view(), event));
+ WebMouseWheelEvent transformedEvent =
+ TransformWebMouseWheelEvent(mainFrame.view(), event);
+ return mainFrame.eventHandler().handleWheelEvent(transformedEvent);
}
WebInputEventResult PageWidgetEventHandler::handleTouchEvent(

Powered by Google App Engine
This is Rietveld 408576698