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

Unified Diff: third_party/WebKit/public/platform/WebPointerProperties.h

Issue 2860663006: Remove WebTouchEvent from TouchEventManager APIs (Closed)
Patch Set: Created 3 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/public/platform/WebPointerProperties.h
diff --git a/third_party/WebKit/public/platform/WebPointerProperties.h b/third_party/WebKit/public/platform/WebPointerProperties.h
index 2a453cd22fd7ae5b7a0fc193ec751f6fb9f5aa28..7963860243c63a34936277b550cbd980b4b92117 100644
--- a/third_party/WebKit/public/platform/WebPointerProperties.h
+++ b/third_party/WebKit/public/platform/WebPointerProperties.h
@@ -46,6 +46,15 @@ class WebPointerProperties {
kLastEntry = kTouch // Must be the last entry in the list
};
+ enum class PointerAction {
+ kPointerUndefined,
use mustaq_at_chromium.org 2017/05/08 17:07:31 kPointerUndefined is unused in Blink, and WebTouch
Navid Zolghadr 2017/06/08 16:38:26 I did the same idea in the new CL. But I don't add
+ kPointerUp,
+ kPointerDown,
+ kPointerMove,
+ kPointerCancel,
+ kPointerActionMax = kPointerCancel
+ };
+
WebPointerProperties()
: id(0),
force(std::numeric_limits<float>::quiet_NaN()),

Powered by Google App Engine
This is Rietveld 408576698