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..35ee2df99381c3695ff9b4a13a932612cec42315 100644 |
--- a/ui/aura/demo/demo_main.cc |
+++ b/ui/aura/demo/demo_main.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -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 { |