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

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

Issue 415773008: Remove dead code backing WheelEvent.webkitDirectionInvertedFromDevice (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | Source/core/events/WheelEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/WheelEvent.h
diff --git a/Source/core/events/WheelEvent.h b/Source/core/events/WheelEvent.h
index 2eba3cf941d087e607860629ec97643b5e976ccf..d30220af3827db65a69a284cff300eca3d3b103c 100644
--- a/Source/core/events/WheelEvent.h
+++ b/Source/core/events/WheelEvent.h
@@ -67,10 +67,10 @@ public:
static PassRefPtrWillBeRawPtr<WheelEvent> create(const FloatPoint& wheelTicks,
const FloatPoint& rawDelta, unsigned deltaMode, PassRefPtrWillBeRawPtr<AbstractView> view,
const IntPoint& screenLocation, const IntPoint& pageLocation,
- bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool directionInvertedFromDevice)
+ bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
{
return adoptRefWillBeNoop(new WheelEvent(wheelTicks, rawDelta, deltaMode, view,
- screenLocation, pageLocation, ctrlKey, altKey, shiftKey, metaKey, directionInvertedFromDevice));
+ screenLocation, pageLocation, ctrlKey, altKey, shiftKey, metaKey));
}
void initWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtrWillBeRawPtr<AbstractView>,
@@ -91,7 +91,7 @@ public:
float ticksX() const { return static_cast<float>(m_wheelDelta.x()) / TickMultiplier; }
float ticksY() const { return static_cast<float>(m_wheelDelta.y()) / TickMultiplier; }
- bool webkitDirectionInvertedFromDevice() const { return m_directionInvertedFromDevice; }
+ bool webkitDirectionInvertedFromDevice() const { return false; }
virtual const AtomicString& interfaceName() const OVERRIDE;
virtual bool isMouseEvent() const OVERRIDE;
@@ -104,14 +104,13 @@ private:
WheelEvent(const AtomicString&, const WheelEventInit&);
WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta,
unsigned, PassRefPtrWillBeRawPtr<AbstractView>, const IntPoint& screenLocation, const IntPoint& pageLocation,
- bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool directionInvertedFromDevice);
+ bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
IntPoint m_wheelDelta;
double m_deltaX;
double m_deltaY;
double m_deltaZ;
unsigned m_deltaMode;
- bool m_directionInvertedFromDevice;
};
DEFINE_EVENT_TYPE_CASTS(WheelEvent);
« no previous file with comments | « no previous file | Source/core/events/WheelEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698