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

Side by Side Diff: ui/events/event_handler.h

Issue 1536493002: Working proof of concept of select to speak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drag across multiple objects Created 5 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 unified diff | Download patch
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | ui/events/event_handler.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_EVENTS_EVENT_HANDLER_H_ 5 #ifndef UI_EVENTS_EVENT_HANDLER_H_
6 #define UI_EVENTS_EVENT_HANDLER_H_ 6 #define UI_EVENTS_EVENT_HANDLER_H_
7 7
8 #include <stack> 8 #include <stack>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void OnMouseEvent(MouseEvent* event); 42 virtual void OnMouseEvent(MouseEvent* event);
43 43
44 virtual void OnScrollEvent(ScrollEvent* event); 44 virtual void OnScrollEvent(ScrollEvent* event);
45 45
46 virtual void OnTouchEvent(TouchEvent* event); 46 virtual void OnTouchEvent(TouchEvent* event);
47 47
48 virtual void OnGestureEvent(GestureEvent* event); 48 virtual void OnGestureEvent(GestureEvent* event);
49 49
50 virtual void OnCancelMode(CancelModeEvent* event); 50 virtual void OnCancelMode(CancelModeEvent* event);
51 51
52 virtual void OnAccessibilityMouseEvent(MouseEvent* event);
53
52 private: 54 private:
53 friend class EventDispatcher; 55 friend class EventDispatcher;
54 56
55 // EventDispatcher pushes itself on the top of this stack while dispatching 57 // EventDispatcher pushes itself on the top of this stack while dispatching
56 // events to this then pops itself off when done. 58 // events to this then pops itself off when done.
57 std::stack<EventDispatcher*> dispatchers_; 59 std::stack<EventDispatcher*> dispatchers_;
58 60
59 DISALLOW_COPY_AND_ASSIGN(EventHandler); 61 DISALLOW_COPY_AND_ASSIGN(EventHandler);
60 }; 62 };
61 63
62 typedef std::vector<EventHandler*> EventHandlerList; 64 typedef std::vector<EventHandler*> EventHandlerList;
63 65
64 } // namespace ui 66 } // namespace ui
65 67
66 #endif // UI_EVENTS_EVENT_HANDLER_H_ 68 #endif // UI_EVENTS_EVENT_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | ui/events/event_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698