OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_SERVICES_WINDOW_MANAGER_VIEW_EVENT_DISPATCHER_H_ | 5 #ifndef SERVICES_WINDOW_MANAGER_VIEW_EVENT_DISPATCHER_H_ |
6 #define MOJO_SERVICES_WINDOW_MANAGER_VIEW_EVENT_DISPATCHER_H_ | 6 #define SERVICES_WINDOW_MANAGER_VIEW_EVENT_DISPATCHER_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "ui/events/event_processor.h" | 9 #include "ui/events/event_processor.h" |
10 #include "ui/events/event_target.h" | 10 #include "ui/events/event_target.h" |
11 | 11 |
12 namespace mojo { | 12 namespace mojo { |
13 | 13 |
14 class ViewTarget; | 14 class ViewTarget; |
15 | 15 |
16 class ViewEventDispatcher : public ui::EventProcessor { | 16 class ViewEventDispatcher : public ui::EventProcessor { |
(...skipping 20 matching lines...) Expand all Loading... |
37 ViewTarget* root_view_target_; | 37 ViewTarget* root_view_target_; |
38 | 38 |
39 ViewTarget* event_dispatch_target_; | 39 ViewTarget* event_dispatch_target_; |
40 ViewTarget* old_dispatch_target_; | 40 ViewTarget* old_dispatch_target_; |
41 | 41 |
42 DISALLOW_COPY_AND_ASSIGN(ViewEventDispatcher); | 42 DISALLOW_COPY_AND_ASSIGN(ViewEventDispatcher); |
43 }; | 43 }; |
44 | 44 |
45 } // namespace mojo | 45 } // namespace mojo |
46 | 46 |
47 #endif // MOJO_SERVICES_WINDOW_MANAGER_VIEW_EVENT_DISPATCHER_H_ | 47 #endif // SERVICES_WINDOW_MANAGER_VIEW_EVENT_DISPATCHER_H_ |
OLD | NEW |