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

Unified Diff: ash/wm/window_cycle_controller.cc

Issue 9221014: aura: Gesture event plumbing (skeleton). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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
Index: ash/wm/window_cycle_controller.cc
diff --git a/ash/wm/window_cycle_controller.cc b/ash/wm/window_cycle_controller.cc
index ab827b037e10a83aa7fb5acccafdc048dbaeaa62..e19810380d42351374d672c65527726fb89cb1a1 100644
--- a/ash/wm/window_cycle_controller.cc
+++ b/ash/wm/window_cycle_controller.cc
@@ -27,6 +27,8 @@ class WindowCycleEventFilter : public aura::EventFilter {
aura::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(aura::Window* target,
aura::TouchEvent* event) OVERRIDE;
+ virtual ui::GestureStatus PreHandleGestureEvent(aura::Window* target,
sky 2012/01/17 17:18:35 nit: put param on next line.
sadrul 2012/01/17 17:25:36 Done.
+ aura::GestureEvent* event) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(WindowCycleEventFilter);
};
@@ -63,6 +65,12 @@ ui::TouchStatus WindowCycleEventFilter::PreHandleTouchEvent(
return ui::TOUCH_STATUS_UNKNOWN; // Not handled.
}
+ui::GestureStatus WindowCycleEventFilter::PreHandleGestureEvent(
+ aura::Window* target,
+ aura::GestureEvent* event) {
+ return ui::GESTURE_STATUS_UNKNOWN; // Not handled.
+}
+
//////////////////////////////////////////////////////////////////////////////
// WindowCycleController, public:

Powered by Google App Engine
This is Rietveld 408576698