diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-10 21:53:40 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-10 21:53:40 +0000 |
commit | dd87b6eadc850d21a19c9e8bffd742074f638b83 (patch) | |
tree | 30dbc7794655c7ae3f302fa02c9e393769c17972 /views/touchui | |
parent | 2c57915bb705f2b45d525b56b103d930603441de (diff) | |
download | chromium_src-dd87b6eadc850d21a19c9e8bffd742074f638b83.zip chromium_src-dd87b6eadc850d21a19c9e8bffd742074f638b83.tar.gz chromium_src-dd87b6eadc850d21a19c9e8bffd742074f638b83.tar.bz2 |
touchui: Gesture manager should ignore already handled touch events.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6184002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/touchui')
-rw-r--r-- | views/touchui/gesture_manager.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/touchui/gesture_manager.cc b/views/touchui/gesture_manager.cc index 5f0cbd5..05e0ced 100644 --- a/views/touchui/gesture_manager.cc +++ b/views/touchui/gesture_manager.cc @@ -23,6 +23,9 @@ GestureManager* GestureManager::GetInstance() { bool GestureManager::ProcessTouchEventForGesture(const TouchEvent& event, View* source, bool previouslyHandled) { + if (previouslyHandled) + return false; + // TODO(rjkroege): A realistic version of the GestureManager will // appear in a subsequent CL. This interim version permits verifying that the // event distribution code works by turning all touch inputs into |