Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: ui/aura/window_delegate.cc

Issue 10912063: events: Get rid of GestureStatus in favour of EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/window_delegate.h ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_delegate.cc
diff --git a/ui/aura/window_delegate.cc b/ui/aura/window_delegate.cc
index 62c0f7a31a438c4d776aa7c3578bb2c0fc89ee26..b5f73875401d89fbd0420f6e7d5f9cd7e5a91727 100644
--- a/ui/aura/window_delegate.cc
+++ b/ui/aura/window_delegate.cc
@@ -28,8 +28,7 @@ ui::TouchStatus WindowDelegate::OnTouchEvent(ui::EventTarget* target,
ui::EventResult WindowDelegate::OnGestureEvent(ui::EventTarget* target,
ui::GestureEvent* event) {
- return OnGestureEvent(event) == ui::GESTURE_STATUS_CONSUMED ?
- ui::ER_CONSUMED : ui::ER_UNHANDLED;
+ return OnGestureEvent(event);
}
} // namespace aura
« no previous file with comments | « ui/aura/window_delegate.h ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698