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

Unified Diff: ui/base/events/event_constants.h

Issue 11364062: ui: Remove TouchStatus in favour of EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: ui/base/events/event_constants.h
diff --git a/ui/base/events/event_constants.h b/ui/base/events/event_constants.h
index a18d507dc5d821baf7f62891c8f56185c1586a75..8ee434fd2c47ca4dc90867e3f528f79e80836a57 100644
--- a/ui/base/events/event_constants.h
+++ b/ui/base/events/event_constants.h
@@ -116,26 +116,6 @@ enum EventPhase {
EP_POSTDISPATCH
};
-enum TouchStatus {
- TOUCH_STATUS_UNKNOWN = 0, // Unknown touch status. This is used to indicate
- // that the touch event was not handled.
- TOUCH_STATUS_START, // The touch event initiated a touch sequence.
- 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_QUEUED, // The touch event has not been processed yet, but
- // may be processed asynchronously later. This also
- // places a lock on touch-events (i.e. all
- // subsequent touch-events should be sent to the
- // current handler).
- TOUCH_STATUS_QUEUED_END, // Similar to TOUCH_STATUS_QUEUED, except that
- // subsequent touch-events can be sent to any
- // handler.
-};
-
-// Returns an equivalent EventResult from a TouchStatus.
-UI_EXPORT EventResult EventResultFromTouchStatus(TouchStatus status);
-
// Updates the list of devices for cached properties.
UI_EXPORT void UpdateDeviceList();

Powered by Google App Engine
This is Rietveld 408576698