summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_delegate.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-17 17:46:04 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-17 17:46:04 +0000
commit538f956734244278d1d82e959bfd2a54a5537cd5 (patch)
tree2bfaaa4aa666e696af9ebab5b4871e8b55004480 /ui/aura/window_delegate.h
parent04bdebfa5c0a7aee88220c20b3b8d483f79a3d12 (diff)
downloadchromium_src-538f956734244278d1d82e959bfd2a54a5537cd5.zip
chromium_src-538f956734244278d1d82e959bfd2a54a5537cd5.tar.gz
chromium_src-538f956734244278d1d82e959bfd2a54a5537cd5.tar.bz2
aura: Gesture event plumbing (skeleton).
Add gesture event plumbing through aura. This is not functional just yet. Subsequent CLs will move the gesture-recognizer from views into aura, which will then generate and deliver aura gesture events. BUG=11024 TEST=no functional changes yet. Tests will be added when GR is moved into aura. Review URL: https://chromiumcodereview.appspot.com/9221014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117911 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window_delegate.h')
-rw-r--r--ui/aura/window_delegate.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h
index 25070c2..e8a3bb3 100644
--- a/ui/aura/window_delegate.h
+++ b/ui/aura/window_delegate.h
@@ -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.
@@ -20,6 +20,7 @@ class Size;
namespace aura {
class Event;
+class GestureEvent;
class KeyEvent;
class MouseEvent;
class TouchEvent;
@@ -52,6 +53,8 @@ class AURA_EXPORT WindowDelegate {
virtual ui::TouchStatus OnTouchEvent(TouchEvent* event) = 0;
+ virtual ui::GestureStatus OnGestureEvent(GestureEvent* event) = 0;
+
// Returns true of the window can be focused.
virtual bool CanFocus() = 0;