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

Unified Diff: ui/aura/demo/demo_main.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: ui/aura/demo/demo_main.cc
diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc
index 817ec7f79c8e33df4351815b6a1ecff22f1ea1b5..2902e0c181ba0f1e61508148da8a70f7f70c4509 100644
--- a/ui/aura/demo/demo_main.cc
+++ b/ui/aura/demo/demo_main.cc
@@ -53,6 +53,9 @@ class DemoWindowDelegate : public aura::WindowDelegate {
virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE {
return ui::TOUCH_STATUS_END;
}
+ virtual ui::GestureStatus OnGestureEvent(aura::GestureEvent* event) OVERRIDE {
+ return ui::GESTURE_STATUS_UNKNOWN;
+ }
virtual bool CanFocus() OVERRIDE { return true; }
virtual void OnCaptureLost() OVERRIDE {}
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698