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

Unified Diff: views/view.h

Issue 6981007: Add a status-type for a mouse-event triggered by a touch event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « no previous file | views/widget/root_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/view.h
diff --git a/views/view.h b/views/view.h
index 6c0b95032912ac35024a5e3d61c3ce77f41f5873..529d2b50d36f599d550b9eb419661d5cac05381a 100644
--- a/views/view.h
+++ b/views/view.h
@@ -150,8 +150,11 @@ class View : public AcceleratorTarget {
TOUCH_STATUS_CONTINUE, // The touch event is part of a previously
// started touch sequence.
TOUCH_STATUS_END, // The touch event ended the touch sequence.
- TOUCH_STATUS_CANCEL // The touch event was cancelled, but didn't
+ TOUCH_STATUS_CANCEL, // The touch event was cancelled, but didn't
// terminate the touch sequence.
+ TOUCH_STATUS_SYNTH_MOUSE // The touch event was not processed, but a
+ // synthetic mouse event generated from the
+ // unused touch event was handled.
};
#endif
« no previous file with comments | « no previous file | views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698