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

Side by Side Diff: ui/aura/event_filter.h

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, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/event_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_AURA_EVENT_FILTER_H_ 5 #ifndef UI_AURA_EVENT_FILTER_H_
6 #define UI_AURA_EVENT_FILTER_H_ 6 #define UI_AURA_EVENT_FILTER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/aura/aura_export.h" 10 #include "ui/aura/aura_export.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // Returns a value other than ui::ER_UNHANDLED if the gesture is 60 // Returns a value other than ui::ER_UNHANDLED if the gesture is
61 // consumed. 61 // consumed.
62 virtual ui::EventResult PreHandleGestureEvent(Window* target, 62 virtual ui::EventResult PreHandleGestureEvent(Window* target,
63 ui::GestureEvent* event); 63 ui::GestureEvent* event);
64 64
65 // Overridden from ui::EventHandler. 65 // Overridden from ui::EventHandler.
66 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 66 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
67 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 67 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
68 virtual ui::EventResult OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; 68 virtual ui::EventResult OnScrollEvent(ui::ScrollEvent* event) OVERRIDE;
69 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 69 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
70 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* e) OVERRIDE; 70 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* e) OVERRIDE;
71 }; 71 };
72 72
73 } // namespace aura 73 } // namespace aura
74 74
75 #endif // UI_AURA_EVENT_FILTER_H_ 75 #endif // UI_AURA_EVENT_FILTER_H_
OLDNEW
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698