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

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

Issue 11280290: events: Change gesture-event handler in EventHandler to not return any values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/app_list/contents_view.cc ('k') | ui/aura/gestures/gesture_recognizer_unittest.cc » ('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 b1ab577f7de88b09cc5911de4d1da36350fddd25..64614b90e099f2b9e9ba019a74a85ddc7ad2b132 100644
--- a/ui/aura/demo/demo_main.cc
+++ b/ui/aura/demo/demo_main.cc
@@ -73,20 +73,6 @@ class DemoWindowDelegate : public aura::WindowDelegate {
return scoped_refptr<ui::Texture>();
}
- // Overridden from ui::EventHandler:
- virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE {
- return ui::ER_UNHANDLED;
- }
- virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE {
- return ui::ER_HANDLED;
- }
- virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE {
- return ui::ER_UNHANDLED;
- }
- virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE {
- return ui::ER_UNHANDLED;
- }
-
private:
SkColor color_;
« no previous file with comments | « ui/app_list/contents_view.cc ('k') | ui/aura/gestures/gesture_recognizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698