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

Unified Diff: Source/platform/PlatformWheelEvent.h

Issue 1308313005: Modify gesture event types for WebView-tag scroll bubbling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename |resendSource| to |resendingPluginId|. Created 5 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: 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;

Powered by Google App Engine
This is Rietveld 408576698