| Index: third_party/WebKit/Source/platform/PlatformWheelEvent.h
|
| diff --git a/third_party/WebKit/Source/platform/PlatformWheelEvent.h b/third_party/WebKit/Source/platform/PlatformWheelEvent.h
|
| index 66d3eca529b7516438cb51a7c4bf3be3d2be7ee4..7552d228bc5f304f88468bde071409017688ecac 100644
|
| --- a/third_party/WebKit/Source/platform/PlatformWheelEvent.h
|
| +++ b/third_party/WebKit/Source/platform/PlatformWheelEvent.h
|
| @@ -27,6 +27,7 @@
|
| #define PlatformWheelEvent_h
|
|
|
| #include "platform/PlatformEvent.h"
|
| +#include "platform/PlatformMouseEvent.h"
|
| #include "platform/geometry/IntPoint.h"
|
|
|
| namespace blink {
|
| @@ -53,10 +54,10 @@ enum PlatformWheelEventPhase {
|
| };
|
| #endif
|
|
|
| -class PlatformWheelEvent : public PlatformEvent {
|
| +class PlatformWheelEvent : public PlatformMouseEvent {
|
| public:
|
| PlatformWheelEvent()
|
| - : PlatformEvent(PlatformEvent::Wheel)
|
| + : PlatformMouseEvent(PlatformEvent::Wheel)
|
| , m_deltaX(0)
|
| , m_deltaY(0)
|
| , m_wheelTicksX(0)
|
| @@ -73,9 +74,6 @@ public:
|
| {
|
| }
|
|
|
| - const IntPoint& position() const { return m_position; } // PlatformWindow coordinates.
|
| - const IntPoint& globalPosition() const { return m_globalPosition; } // Screen coordinates.
|
| -
|
| float deltaX() const { return m_deltaX; }
|
| float deltaY() const { return m_deltaY; }
|
|
|
| @@ -96,8 +94,6 @@ public:
|
| #endif
|
|
|
| protected:
|
| - IntPoint m_position;
|
| - IntPoint m_globalPosition;
|
| float m_deltaX;
|
| float m_deltaY;
|
| float m_wheelTicksX;
|
|
|