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

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

Issue 1923973002: Add UMA metric for tracking listeners for blocking touch while fling is happening (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change comments in histogram Created 4 years, 7 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 97afb62f8860ec3892588efb50d7c46644915a43..4082877d94cae593cb6656b2af1db41dbb18e255 100644
--- a/third_party/WebKit/Source/platform/PlatformTouchEvent.h
+++ b/third_party/WebKit/Source/platform/PlatformTouchEvent.h
@@ -32,6 +32,7 @@ public:
: PlatformEvent(PlatformEvent::TouchStart)
, m_dispatchType(PlatformEvent::Blocking)
, m_causesScrollingIfUncanceled(false)
+ , m_dispatchedDuringFling(false)
{
}
@@ -40,11 +41,13 @@ public:
DispatchType dispatchType() const { return m_dispatchType; }
bool cancelable() const { return m_dispatchType == PlatformEvent::Blocking; }
bool causesScrollingIfUncanceled() const { return m_causesScrollingIfUncanceled; }
+ bool dispatchedDuringFling() const { return m_dispatchedDuringFling; }
protected:
Vector<PlatformTouchPoint> m_touchPoints;
DispatchType m_dispatchType;
bool m_causesScrollingIfUncanceled;
+ bool m_dispatchedDuringFling;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/input/TouchEventManager.cpp ('k') | third_party/WebKit/Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698