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

Unified Diff: third_party/WebKit/Source/platform/PlatformWheelEvent.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/platform/PlatformWheelEvent.h
diff --git a/third_party/WebKit/Source/platform/PlatformWheelEvent.h b/third_party/WebKit/Source/platform/PlatformWheelEvent.h
index 19163dbff69ee3b761dfa0a6887db62cf6d8eb5c..e6c8890e407775558b248bcf5f38568bd6919dc0 100644
--- a/third_party/WebKit/Source/platform/PlatformWheelEvent.h
+++ b/third_party/WebKit/Source/platform/PlatformWheelEvent.h
@@ -63,7 +63,6 @@ public:
, m_wheelTicksY(0)
, m_granularity(ScrollByPixelWheelEvent)
, m_hasPreciseScrollingDeltas(false)
- , m_canScroll(true)
, m_resendingPluginId(-1)
, m_railsMode(RailsModeFree)
, m_dispatchType(Blocking)
@@ -89,8 +88,6 @@ public:
bool hasPreciseScrollingDeltas() const { return m_hasPreciseScrollingDeltas; }
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 getRailsMode() const { return m_railsMode; }
DispatchType dispatchType() const { return m_dispatchType; }
@@ -111,7 +108,6 @@ protected:
float m_wheelTicksY;
PlatformWheelEventGranularity m_granularity;
bool m_hasPreciseScrollingDeltas;
- bool m_canScroll;
int m_resendingPluginId;
RailsMode m_railsMode;
DispatchType m_dispatchType;
« no previous file with comments | « third_party/WebKit/Source/core/events/WheelEvent.cpp ('k') | third_party/WebKit/Source/web/WebInputEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698