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

Unified Diff: ash/wm/window_cycle_controller.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 | « ash/wm/user_activity_detector.cc ('k') | ash/wm/window_modality_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_cycle_controller.cc
diff --git a/ash/wm/window_cycle_controller.cc b/ash/wm/window_cycle_controller.cc
index 9f12a134722fe5a6818ee0b5bbf17ce5bd48f1d7..aabf939d5d05e354399d3a16e8a040ef829974fe 100644
--- a/ash/wm/window_cycle_controller.cc
+++ b/ash/wm/window_cycle_controller.cc
@@ -41,7 +41,7 @@ class WindowCycleEventFilter : public aura::EventFilter {
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
ui::TouchEvent* event) OVERRIDE;
- virtual ui::GestureStatus PreHandleGestureEvent(
+ virtual ui::EventResult PreHandleGestureEvent(
aura::Window* target,
ui::GestureEvent* event) OVERRIDE;
private:
@@ -79,10 +79,10 @@ ui::TouchStatus WindowCycleEventFilter::PreHandleTouchEvent(
return ui::TOUCH_STATUS_UNKNOWN; // Not handled.
}
-ui::GestureStatus WindowCycleEventFilter::PreHandleGestureEvent(
+ui::EventResult WindowCycleEventFilter::PreHandleGestureEvent(
aura::Window* target,
ui::GestureEvent* event) {
- return ui::GESTURE_STATUS_UNKNOWN; // Not handled.
+ return ui::ER_UNHANDLED; // Not handled.
}
// Adds all the children of |window| to |windows|.
« no previous file with comments | « ash/wm/user_activity_detector.cc ('k') | ash/wm/window_modality_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698