diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-19 00:48:01 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-19 00:48:01 +0000 |
commit | 912b6f3be7f1e31b4107ecb8b572245d9f65ff47 (patch) | |
tree | d43a9f10d01316cc817cd7619f1561e0ed279e04 /ui/views/view.h | |
parent | 7d692835b4257b2621f969037f52e1dca67d833e (diff) | |
download | chromium_src-912b6f3be7f1e31b4107ecb8b572245d9f65ff47.zip chromium_src-912b6f3be7f1e31b4107ecb8b572245d9f65ff47.tar.gz chromium_src-912b6f3be7f1e31b4107ecb8b572245d9f65ff47.tar.bz2 |
aura: Move GestureRecognizer from views into aura.
Remove deprecated GestureManager, and move the functional GestureRecognizer from views into aura.
BUG=110227
TEST=views_unittests:GestureEvent, aura_unittests:GestureRecognizerTest
Review URL: https://chromiumcodereview.appspot.com/9255019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/view.h')
-rw-r--r-- | ui/views/view.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/views/view.h b/ui/views/view.h index dfe1cc4..92cf372 100644 --- a/ui/views/view.h +++ b/ui/views/view.h @@ -582,7 +582,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, // does nothing. Override as needed. virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event); - // This method is invoked for each GestureEvent recognized from GestureManager + // This method is invoked for each GestureEvent created by GestureRecognizer. // Default implementation does nothing. Override as needed. virtual ui::GestureStatus OnGestureEvent(const GestureEvent& event); @@ -1257,12 +1257,12 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, bool ProcessMouseDragged(const MouseEvent& event, DragInfo* drop_info); void ProcessMouseReleased(const MouseEvent& event); - // RootView will invoke this with incoming TouchEvents. Returns the - // the result of OnTouchEvent. + // RootView will invoke this with incoming TouchEvents. Returns the result + // of OnTouchEvent. ui::TouchStatus ProcessTouchEvent(const TouchEvent& event); - // GestureManager will invoke this with incoming GestureEvents. Returns the - // the result of OnGestureEvent. + // RootView will invoke this with incoming GestureEvents. Returns the result + // of OnGestureEvent. ui::GestureStatus ProcessGestureEvent(const GestureEvent& event); // Accelerators -------------------------------------------------------------- |