Index: Source/platform/PlatformWheelEvent.h |
diff --git a/Source/platform/PlatformWheelEvent.h b/Source/platform/PlatformWheelEvent.h |
index cb23eff66496b97924249da99a91ab15ef7da28c..05e35f5b95a3ecd09be0badb203f9a55a5985226 100644 |
--- a/Source/platform/PlatformWheelEvent.h |
+++ b/Source/platform/PlatformWheelEvent.h |
@@ -64,6 +64,7 @@ public: |
, m_granularity(ScrollByPixelWheelEvent) |
, m_hasPreciseScrollingDeltas(false) |
, m_canScroll(true) |
+ , m_resendingPluginId(0) |
tdresser
2015/09/15 13:13:08
-1
wjmaclean
2015/09/15 15:02:48
Done.
|
, m_railsMode(RailsModeFree) |
#if OS(MACOSX) |
, m_phase(PlatformWheelEventPhaseNone) |
@@ -74,7 +75,7 @@ public: |
{ |
} |
- PlatformWheelEvent(IntPoint position, IntPoint globalPosition, float deltaX, float deltaY, float wheelTicksX, float wheelTicksY, PlatformWheelEventGranularity granularity, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey) |
+ PlatformWheelEvent(IntPoint position, IntPoint globalPosition, float deltaX, float deltaY, float wheelTicksX, float wheelTicksY, PlatformWheelEventGranularity granularity, int resendingPluginId, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey) |
: PlatformEvent(PlatformEvent::Wheel, shiftKey, ctrlKey, altKey, metaKey, 0) |
, m_position(position) |
, m_globalPosition(globalPosition) |
@@ -85,6 +86,7 @@ public: |
, m_granularity(granularity) |
, m_hasPreciseScrollingDeltas(false) |
, m_canScroll(true) |
+ , m_resendingPluginId(resendingPluginId) |
, m_railsMode(RailsModeFree) |
#if OS(MACOSX) |
, m_phase(PlatformWheelEventPhaseNone) |
@@ -110,6 +112,7 @@ public: |
void setHasPreciseScrollingDeltas(bool b) { m_hasPreciseScrollingDeltas = b; } |
bool canScroll() const { return m_canScroll; } |
void setCanScroll(bool b) { m_canScroll = b; } |
+ int resendingPluginId() const { return m_resendingPluginId; } |
RailsMode railsMode() const { return m_railsMode; } |
#if OS(MACOSX) |
@@ -129,6 +132,7 @@ protected: |
PlatformWheelEventGranularity m_granularity; |
bool m_hasPreciseScrollingDeltas; |
bool m_canScroll; |
+ int m_resendingPluginId; |
RailsMode m_railsMode; |
#if OS(MACOSX) |
PlatformWheelEventPhase m_phase; |