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

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

Issue 2586133003: Remove PlatformWheelEvent and use WebMouseWheelEvent instead (Closed)
Patch Set: Rebase 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/InspectorOverlay.cpp
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.cpp b/third_party/WebKit/Source/web/InspectorOverlay.cpp
index 70c547c4cb979ae1eac80d91e3de373128f08424..7fecd7184da5a434138b1499237fd14208d4f8ea 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.cpp
+++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp
@@ -295,11 +295,11 @@ bool InspectorOverlay::handleInputEvent(const WebInputEvent& inputEvent) {
}
if (inputEvent.type == WebInputEvent::MouseWheel) {
- PlatformWheelEvent wheelEvent = PlatformWheelEventBuilder(
+ WebMouseWheelEvent scaledEvent = TransformWebMouseWheelEvent(
majidvp 2016/12/20 17:30:15 nit: s/scaledEvent/transformedEvent/
dtapuska 2017/01/03 20:19:14 Done.
m_frameImpl->frameView(),
static_cast<const WebMouseWheelEvent&>(inputEvent));
- handled = overlayMainFrame()->eventHandler().handleWheelEvent(wheelEvent) !=
- WebInputEventResult::NotHandled;
+ handled = overlayMainFrame()->eventHandler().handleWheelEvent(
+ scaledEvent) != WebInputEventResult::NotHandled;
}
return handled;

Powered by Google App Engine
This is Rietveld 408576698