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

Unified Diff: ui/aura/demo/demo_main.cc

Issue 10964051: events: Clean up dispatching code for touch-events. (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 | « content/browser/web_contents/web_contents_view_aura.cc ('k') | ui/aura/event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/demo/demo_main.cc
diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc
index b3475ed9fe1df61a4999a34647e785dad7b3791f..6a6d43b5b6bd327efd65a03c2fa43eb04549841c 100644
--- a/ui/aura/demo/demo_main.cc
+++ b/ui/aura/demo/demo_main.cc
@@ -77,8 +77,8 @@ class DemoWindowDelegate : public aura::WindowDelegate {
virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE {
return ui::ER_HANDLED;
}
- virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE {
- return ui::TOUCH_STATUS_END;
+ virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE {
+ return ui::ER_UNHANDLED;
}
virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE {
return ui::ER_UNHANDLED;
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | ui/aura/event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698