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

Unified Diff: third_party/WebKit/Source/core/events/WheelEvent.cpp

Issue 2344693002: Support WebPointerProperties in MouseEvent (Closed)
Patch Set: fixed osx build Created 4 years, 3 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/core/events/WheelEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/WheelEvent.cpp b/third_party/WebKit/Source/core/events/WheelEvent.cpp
index 689d56af9011e5bd9c14729f85f1aef5f4a778e9..a6c53e8a84817fe514c4fc1efb5297a01f0fdbc9 100644
--- a/third_party/WebKit/Source/core/events/WheelEvent.cpp
+++ b/third_party/WebKit/Source/core/events/WheelEvent.cpp
@@ -94,7 +94,8 @@ WheelEvent::WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta,
nullptr, platformTimeStamp, PlatformMouseEvent::RealOrIndistinguishable,
// TODO(zino): Should support canvas hit region because the wheel event
// is a kind of mouse event. Please see http://crbug.com/594075
- String())
+ String(),
+ nullptr)
, m_wheelDelta(wheelTicks.x() * TickMultiplier, wheelTicks.y() * TickMultiplier)
, m_deltaX(-rawDelta.x())
, m_deltaY(-rawDelta.y())
@@ -121,7 +122,7 @@ WheelEvent::WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta,
nullptr, platformTimeStamp, PlatformMouseEvent::RealOrIndistinguishable,
// TODO(zino): Should support canvas hit region because the wheel event
// is a kind of mouse event. Please see http://crbug.com/594075
- String())
+ String(), nullptr)
, m_wheelDelta(wheelTicks.x() * TickMultiplier, wheelTicks.y() * TickMultiplier)
, m_deltaX(-rawDelta.x())
, m_deltaY(-rawDelta.y())

Powered by Google App Engine
This is Rietveld 408576698