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

Side by Side Diff: ui/aura/gestures/gestures.dot

Issue 9564013: Update GestureRecognizer State Diagram to use point-ids (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // A diagram of the state machine found in gesture_sequence.cc 1 // A diagram of the state machine found in gesture_sequence.cc
2 // To generate a pdf: 2 // To generate a pdf:
3 // dot -Tpdf -ooutput.pdf gestures.dot 3 // dot -Tpdf -ooutput.pdf gestures.dot
4 // 4 //
5 // If you alter this diagram, please update: 5 // If you alter this diagram, please update:
6 // sites.google.com/a/chromium.org/dev/developers/design-documents/aura/gesture- recognizer 6 // sites.google.com/a/chromium.org/dev/developers/design-documents/aura/gesture- recognizer
7 7
8 digraph G { 8 digraph G {
9 ratio = 1; 9 ratio = 1;
10 10
11 legend[label = "{ \ 11 legend[label = "{ \
12 M : Move \l\ 12 M : Move \l\
13 D : Down \l\ 13 D : Down \l\
14 S : Stationary \l\ 14 S : Stationary \l\
15 C : Cancel \l\ 15 C : Cancel \l\
16 R : Release \l}" 16 R : Release \l}"
17 shape = record] 17 shape = record]
18 18
19 subgraph none_pending { 19 subgraph none_pending {
20 GS_NO_GESTURE -> GS_PENDING_SYNTHETIC_CLICK [label= "D0"]; 20 GS_NO_GESTURE -> GS_PENDING_SYNTHETIC_CLICK [label= "D0"];
21 GS_PENDING_SYNTHETIC_CLICK -> GS_SCROLL [label= "M0\n S0"]; 21 GS_PENDING_SYNTHETIC_CLICK -> GS_SCROLL [label= "M0\n S0"];
22 GS_PENDING_SYNTHETIC_CLICK -> GS_PENDING_SYNTHETIC_CLICK [label= "M0\n S0"]; 22 GS_PENDING_SYNTHETIC_CLICK -> GS_PENDING_SYNTHETIC_CLICK [label= "M0\n S0"];
23 GS_PENDING_SYNTHETIC_CLICK -> GS_NO_GESTURE [label= "C0\n R0"]; 23 GS_PENDING_SYNTHETIC_CLICK -> GS_NO_GESTURE [label= "C0\n R0"];
24 } 24 }
25 25
26 GS_SCROLL -> GS_SCROLL [label= "M0\n M1"]; 26 GS_SCROLL -> GS_SCROLL [label= "M0"];
27 GS_SCROLL -> GS_NO_GESTURE [label= "C0\n R0\n C1\n R1"]; 27 GS_SCROLL -> GS_NO_GESTURE [label= "C0\n R0\n"];
28 GS_PENDING_SYNTHETIC_CLICK -> GS_PINCH [label= "D1"]; 28 GS_PENDING_SYNTHETIC_CLICK -> GS_PINCH [label= "D1"];
29 GS_SCROLL -> GS_PINCH [label= "D0\n D1"]; 29 GS_SCROLL -> GS_PINCH [label= "D1"];
30 GS_PINCH -> GS_PINCH [label= "M0\n M1"]; 30 GS_PINCH -> GS_PINCH [label= "M0\n M1"];
31 GS_PINCH -> GS_SCROLL [label= "C0\n R0\n C1\n R1"]; 31 GS_PINCH -> GS_SCROLL [label= "C0\n R0\n C1\n R1"];
32 } 32 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698