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

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

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.cc
diff --git a/ui/base/events/event_constants.cc b/ui/base/events/event_constants.cc
index e4c0b26a09e2d51438172a21e1b3c76593862a2d..9b18f38c6580a997af5fab3ba1894c1297ee9039 100644
--- a/ui/base/events/event_constants.cc
+++ b/ui/base/events/event_constants.cc
@@ -8,21 +8,4 @@
namespace ui {
tfarina 2012/11/03 12:46:13 Can you remove this file now?
sadrul 2012/11/04 05:34:17 Done.
-EventResult EventResultFromTouchStatus(TouchStatus status) {
- switch (status) {
- case TOUCH_STATUS_UNKNOWN:
- return ER_UNHANDLED;
-
- case TOUCH_STATUS_START:
- case TOUCH_STATUS_CONTINUE:
- case TOUCH_STATUS_END:
- case TOUCH_STATUS_QUEUED:
- case TOUCH_STATUS_QUEUED_END:
- return ER_CONSUMED;
- }
-
- NOTREACHED();
- return ER_UNHANDLED;
-}
-
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698