Index: Source/platform/PlatformWheelEvent.h |
diff --git a/Source/platform/PlatformWheelEvent.h b/Source/platform/PlatformWheelEvent.h |
index 7eebb25f43bd2eff3ea4270297a2f42631aec15b..09d927b70763b84fbeef6b33aca80c6bac0943b4 100644 |
--- a/Source/platform/PlatformWheelEvent.h |
+++ b/Source/platform/PlatformWheelEvent.h |
@@ -63,6 +63,7 @@ public: |
, m_wheelTicksY(0) |
, m_granularity(ScrollByPixelWheelEvent) |
, m_hasPreciseScrollingDeltas(false) |
+ , m_suppressScroll(false) |
#if OS(MACOSX) |
, m_phase(PlatformWheelEventPhaseNone) |
, m_momentumPhase(PlatformWheelEventPhaseNone) |
@@ -82,6 +83,7 @@ public: |
, m_wheelTicksY(wheelTicksY) |
, m_granularity(granularity) |
, m_hasPreciseScrollingDeltas(false) |
+ , m_suppressScroll(false) |
#if OS(MACOSX) |
, m_phase(PlatformWheelEventPhaseNone) |
, m_momentumPhase(PlatformWheelEventPhaseNone) |
@@ -104,6 +106,8 @@ public: |
bool hasPreciseScrollingDeltas() const { return m_hasPreciseScrollingDeltas; } |
void setHasPreciseScrollingDeltas(bool b) { m_hasPreciseScrollingDeltas = b; } |
+ bool suppressScroll() const { return m_suppressScroll; } |
tdresser
2014/11/27 15:06:06
I think the naming should be changed here as well.
lanwei
2014/12/02 06:28:22
Done.
|
+ void setSuppressScroll(bool b) { m_suppressScroll = b; } |
#if OS(MACOSX) |
PlatformWheelEventPhase phase() const { return m_phase; } |
PlatformWheelEventPhase momentumPhase() const { return m_momentumPhase; } |
@@ -123,6 +127,7 @@ protected: |
float m_wheelTicksY; |
PlatformWheelEventGranularity m_granularity; |
bool m_hasPreciseScrollingDeltas; |
+ bool m_suppressScroll; |
Rick Byers
2014/11/27 15:55:14
m_canScroll would be a name consistent with the ru
lanwei
2014/12/02 06:28:22
Done.
|
#if OS(MACOSX) |
PlatformWheelEventPhase m_phase; |
PlatformWheelEventPhase m_momentumPhase; |