diff options
author | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-10 23:04:56 +0000 |
---|---|---|
committer | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-10 23:04:56 +0000 |
commit | f36252e1be07e80903b15b6ed7d9dfdee37daf78 (patch) | |
tree | bb82069a6d74df004d33d0d194452fab623da7d2 /views/touchui | |
parent | bb780a1aaef1c9117bee611f732871ab362e219b (diff) | |
download | chromium_src-f36252e1be07e80903b15b6ed7d9dfdee37daf78.zip chromium_src-f36252e1be07e80903b15b6ed7d9dfdee37daf78.tar.gz chromium_src-f36252e1be07e80903b15b6ed7d9dfdee37daf78.tar.bz2 |
Refactor TOUCH_UI to match other refactor.
A few files were missed in a previous refactor (http://codereview.chromium.org/6480001/).
BUG=72040
TEST=none
Review URL: http://codereview.chromium.org/6488006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74518 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/touchui')
-rw-r--r-- | views/touchui/gesture_manager.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/views/touchui/gesture_manager.cc b/views/touchui/gesture_manager.cc index bc4fdd5..2d6c7d0 100644 --- a/views/touchui/gesture_manager.cc +++ b/views/touchui/gesture_manager.cc @@ -30,26 +30,26 @@ bool GestureManager::ProcessTouchEventForGesture(const TouchEvent& event, // appear in a subsequent CL. This interim version permits verifying that the // event distribution code works by turning all touch inputs into // mouse approximations. - if (event.GetType() == ui::ET_TOUCH_PRESSED) { + if (event.type() == ui::ET_TOUCH_PRESSED) { DVLOG(1) << "GestureManager::ProcessTouchEventForGesture: TouchPressed"; MouseEvent mouse_event(ui::ET_MOUSE_PRESSED, event.x(), event.y(), - event.GetFlags()); + event.flags()); source->OnMousePressed(mouse_event); return true; } - if (event.GetType() == ui::ET_TOUCH_RELEASED) { + if (event.type() == ui::ET_TOUCH_RELEASED) { DVLOG(1) << "GestureManager::ProcessTouchEventForGesture: TouchReleased"; MouseEvent mouse_event(ui::ET_MOUSE_RELEASED, event.x(), event.y(), - event.GetFlags()); + event.flags()); source->OnMouseReleased(mouse_event, false); return true; } - if (event.GetType() == ui::ET_TOUCH_MOVED) { + if (event.type() == ui::ET_TOUCH_MOVED) { DVLOG(1) << "GestureManager::ProcessTouchEventForGesture: TouchMotion"; MouseEvent mouse_event(ui::ET_MOUSE_DRAGGED, event.x(), event.y(), - event.GetFlags()); + event.flags()); source->OnMouseDragged(mouse_event); return true; } |