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

Unified Diff: ui/aura/event_filter.h

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/demo/demo_main.cc ('k') | ui/aura/event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/event_filter.h
diff --git a/ui/aura/event_filter.h b/ui/aura/event_filter.h
index b7829057bcad4cd25ec4d509eb7c0d0f5c2ad79c..8ff0923730c9990d1922ae05b32c143eb5527f36 100644
--- a/ui/aura/event_filter.h
+++ b/ui/aura/event_filter.h
@@ -57,10 +57,10 @@ class AURA_EXPORT EventFilter : public ui::EventHandler {
virtual ui::TouchStatus PreHandleTouchEvent(Window* target,
ui::TouchEvent* event);
- // Returns a value other than ui::GESTURE_STATUS_UNKNOWN if the gesture is
+ // Returns a value other than ui::ER_UNHANDLED if the gesture is
// consumed.
- virtual ui::GestureStatus PreHandleGestureEvent(Window* target,
- ui::GestureEvent* event);
+ virtual ui::EventResult PreHandleGestureEvent(Window* target,
+ ui::GestureEvent* event);
virtual ui::EventResult OnKeyEvent(ui::EventTarget* target,
ui::KeyEvent* event) OVERRIDE;
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698