summaryrefslogtreecommitdiffstats
path: root/ui/aura/gestures/gesture_recognizer_unittest.cc
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-04 01:14:43 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-04 01:14:43 +0000
commit5b174e0a00bb70bd3f6a032cdeeee133d028ac95 (patch)
tree2e1f37aef5a47c6d812646e60d6feb838a3c025e /ui/aura/gestures/gesture_recognizer_unittest.cc
parentdf2ac9a2116238c9b4dda565ff8e5378110f09b1 (diff)
downloadchromium_src-5b174e0a00bb70bd3f6a032cdeeee133d028ac95.zip
chromium_src-5b174e0a00bb70bd3f6a032cdeeee133d028ac95.tar.gz
chromium_src-5b174e0a00bb70bd3f6a032cdeeee133d028ac95.tar.bz2
events: Get rid of GestureStatus in favour of EventResult.
BUG=none Review URL: https://chromiumcodereview.appspot.com/10912063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154721 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/gestures/gesture_recognizer_unittest.cc')
-rw-r--r--ui/aura/gestures/gesture_recognizer_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/aura/gestures/gesture_recognizer_unittest.cc b/ui/aura/gestures/gesture_recognizer_unittest.cc
index bf16f00..79d9536 100644
--- a/ui/aura/gestures/gesture_recognizer_unittest.cc
+++ b/ui/aura/gestures/gesture_recognizer_unittest.cc
@@ -132,7 +132,7 @@ class GestureEventConsumeDelegate : public TestWindowDelegate {
const gfx::Rect& bounding_box() const { return bounding_box_; }
int tap_count() const { return tap_count_; }
- virtual ui::GestureStatus OnGestureEvent(
+ virtual ui::EventResult OnGestureEvent(
ui::GestureEvent* gesture) OVERRIDE {
bounding_box_ = gesture->details().bounding_box();
switch (gesture->type()) {
@@ -201,7 +201,7 @@ class GestureEventConsumeDelegate : public TestWindowDelegate {
default:
NOTREACHED();
}
- return ui::GESTURE_STATUS_CONSUMED;
+ return ui::ER_CONSUMED;
}
private: