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

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

Issue 2233543002: Make first TouchStart and first TouchMove events on a flinging layer non-blocking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename Created 4 years, 4 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/PlatformTouchEvent.h
diff --git a/third_party/WebKit/Source/platform/PlatformTouchEvent.h b/third_party/WebKit/Source/platform/PlatformTouchEvent.h
index 48fabfd5fc21ded176e6f79f7e553180f3b1b1f0..f0e383be4bb856055d1c23e2751bcdca42031e1f 100644
--- a/third_party/WebKit/Source/platform/PlatformTouchEvent.h
+++ b/third_party/WebKit/Source/platform/PlatformTouchEvent.h
@@ -33,6 +33,7 @@ public:
, m_dispatchType(PlatformEvent::Blocking)
, m_causesScrollingIfUncanceled(false)
, m_dispatchedDuringFling(false)
+ , m_touchStartOrFirstTouchMove(false)
{
}
@@ -42,7 +43,7 @@ public:
bool cancelable() const { return m_dispatchType == PlatformEvent::Blocking; }
bool causesScrollingIfUncanceled() const { return m_causesScrollingIfUncanceled; }
bool dispatchedDuringFling() const { return m_dispatchedDuringFling; }
-
+ bool touchStartOrFirstTouchMove() const { return m_touchStartOrFirstTouchMove; }
uint32_t uniqueTouchEventId() const { return m_uniqueTouchEventId; }
protected:
@@ -50,7 +51,7 @@ protected:
DispatchType m_dispatchType;
bool m_causesScrollingIfUncanceled;
bool m_dispatchedDuringFling;
-
+ bool m_touchStartOrFirstTouchMove;
uint32_t m_uniqueTouchEventId;
};
« no previous file with comments | « third_party/WebKit/Source/platform/PlatformEvent.h ('k') | third_party/WebKit/Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698