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

Unified Diff: third_party/WebKit/Source/platform/PlatformTouchEvent.h

Issue 2471523002: Make touch events uncancelable during fling when they are on the current active scroll layer (Closed)
Patch Set: clean up code Created 4 years, 1 month 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/PlatformTouchEvent.h
diff --git a/third_party/WebKit/Source/platform/PlatformTouchEvent.h b/third_party/WebKit/Source/platform/PlatformTouchEvent.h
index f17542ffff66d204c07cb43f1ea27a4d84704ed8..5bc54881017e052891a7830249c5136b09ff4aec 100644
--- a/third_party/WebKit/Source/platform/PlatformTouchEvent.h
+++ b/third_party/WebKit/Source/platform/PlatformTouchEvent.h
@@ -32,7 +32,6 @@ class PlatformTouchEvent : public PlatformEvent {
: PlatformEvent(PlatformEvent::TouchStart),
m_dispatchType(PlatformEvent::Blocking),
m_causesScrollingIfUncanceled(false),
- m_dispatchedDuringFling(false),
m_touchStartOrFirstTouchMove(false) {}
const Vector<PlatformTouchPoint>& touchPoints() const {
@@ -44,7 +43,6 @@ class PlatformTouchEvent : public PlatformEvent {
bool causesScrollingIfUncanceled() const {
return m_causesScrollingIfUncanceled;
}
- bool dispatchedDuringFling() const { return m_dispatchedDuringFling; }
bool touchStartOrFirstTouchMove() const {
return m_touchStartOrFirstTouchMove;
}
@@ -54,7 +52,6 @@ class PlatformTouchEvent : public PlatformEvent {
Vector<PlatformTouchPoint> m_touchPoints;
DispatchType m_dispatchType;
bool m_causesScrollingIfUncanceled;
- bool m_dispatchedDuringFling;
bool m_touchStartOrFirstTouchMove;
uint32_t m_uniqueTouchEventId;
};

Powered by Google App Engine
This is Rietveld 408576698