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

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

Issue 2052663004: Remove canScroll from WebMouseWheelEvent as it is unused now. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really fix android unit test Created 4 years, 6 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.h
diff --git a/third_party/WebKit/Source/core/events/WheelEvent.h b/third_party/WebKit/Source/core/events/WheelEvent.h
index bb2491dcc4e681404143b215addb035a5a71eafe..547a6e63472cbc139c38fc826eb87acbf5105ba5 100644
--- a/third_party/WebKit/Source/core/events/WheelEvent.h
+++ b/third_party/WebKit/Source/core/events/WheelEvent.h
@@ -61,11 +61,11 @@ public:
const FloatPoint& rawDelta, unsigned deltaMode, AbstractView* view,
const IntPoint& screenLocation, const IntPoint& windowLocation,
PlatformEvent::Modifiers modifiers, unsigned short buttons, double platformTimeStamp,
- bool canScroll, int resendingPluginId, bool hasPreciseScrollingDeltas, RailsMode railsMode, bool cancelable)
+ int resendingPluginId, bool hasPreciseScrollingDeltas, RailsMode railsMode, bool cancelable)
{
return new WheelEvent(wheelTicks, rawDelta, deltaMode, view,
screenLocation, windowLocation, modifiers, buttons, platformTimeStamp,
- canScroll, resendingPluginId, hasPreciseScrollingDeltas, railsMode, cancelable);
+ resendingPluginId, hasPreciseScrollingDeltas, railsMode, cancelable);
}
double deltaX() const { return m_deltaX; } // Positive when scrolling right.
@@ -77,7 +77,6 @@ public:
unsigned deltaMode() const { return m_deltaMode; }
float ticksX() const { return static_cast<float>(m_wheelDelta.x()) / TickMultiplier; }
float ticksY() const { return static_cast<float>(m_wheelDelta.y()) / TickMultiplier; }
- bool canScroll() const { return m_canScroll; }
int resendingPluginId() const { return m_resendingPluginId; }
bool hasPreciseScrollingDeltas() const { return m_hasPreciseScrollingDeltas; }
RailsMode getRailsMode() const { return m_railsMode; }
@@ -96,14 +95,13 @@ private:
WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta,
unsigned, AbstractView*, const IntPoint& screenLocation, const IntPoint& windowLocation,
PlatformEvent::Modifiers, unsigned short buttons, double platformTimeStamp,
- bool canScroll, int resendingPluginId, bool hasPreciseScrollingDeltas, RailsMode, bool cancelable);
+ int resendingPluginId, bool hasPreciseScrollingDeltas, RailsMode, bool cancelable);
IntPoint m_wheelDelta;
double m_deltaX;
double m_deltaY;
double m_deltaZ;
unsigned m_deltaMode;
- bool m_canScroll;
int m_resendingPluginId;
bool m_hasPreciseScrollingDeltas;
RailsMode m_railsMode;
« no previous file with comments | « mojo/converters/blink/blink_input_events_type_converters.cc ('k') | third_party/WebKit/Source/core/events/WheelEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698