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

Unified Diff: content/browser/renderer_host/input/synthetic_gesture.h

Issue 1884883005: Prepare SyntheticPointerAction to handle touch actions for multiple fingers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make a new class SyntheticPointerActionController 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: content/browser/renderer_host/input/synthetic_gesture.h
diff --git a/content/browser/renderer_host/input/synthetic_gesture.h b/content/browser/renderer_host/input/synthetic_gesture.h
index f880e5d66718a29fffaeefddb9c3e63c065b6b3f..00622811132d44f9afcafc595f988840d0fc0a3c 100644
--- a/content/browser/renderer_host/input/synthetic_gesture.h
+++ b/content/browser/renderer_host/input/synthetic_gesture.h
@@ -38,6 +38,12 @@ class CONTENT_EXPORT SyntheticGesture {
enum Result {
GESTURE_RUNNING,
GESTURE_FINISHED,
+ // Used when receiving SyntheticPointerAction of PROCESS or FINISH type.
+ // Received when we successfully processed a group of pointer actions in a
+ // sequence.
+ POINTER_ACTION_PROCESSED,
+ // Received when we successfully finished all pointer actions in a sequence.
+ POINTER_ACTION_FINISHED,
GESTURE_SOURCE_TYPE_NOT_IMPLEMENTED,
GESTURE_RESULT_MAX = GESTURE_SOURCE_TYPE_NOT_IMPLEMENTED
};

Powered by Google App Engine
This is Rietveld 408576698