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

Unified Diff: ui/aura/shared/compound_event_filter_unittest.cc

Issue 10912063: events: Get rid of GestureStatus in favour of EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 | « ui/aura/shared/compound_event_filter.cc ('k') | ui/aura/shared/input_method_event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/shared/compound_event_filter_unittest.cc
diff --git a/ui/aura/shared/compound_event_filter_unittest.cc b/ui/aura/shared/compound_event_filter_unittest.cc
index bc981ae9f6ea494ec109304ed698382923739b19..478ef2e32d7b0adcc56cb8f98f25ea6114842f3b 100644
--- a/ui/aura/shared/compound_event_filter_unittest.cc
+++ b/ui/aura/shared/compound_event_filter_unittest.cc
@@ -70,10 +70,10 @@ class ConsumeGestureEventFilter : public EventFilter {
return ui::TOUCH_STATUS_UNKNOWN;
}
- virtual ui::GestureStatus PreHandleGestureEvent(
+ virtual ui::EventResult PreHandleGestureEvent(
Window* target,
ui::GestureEvent* event) OVERRIDE {
- return ui::GESTURE_STATUS_CONSUMED;
+ return ui::ER_CONSUMED;
}
DISALLOW_COPY_AND_ASSIGN(ConsumeGestureEventFilter);
« no previous file with comments | « ui/aura/shared/compound_event_filter.cc ('k') | ui/aura/shared/input_method_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698