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 SERVICES_WINDOW_MANAGER_NATIVE_VIEWPORT_EVENT_DISPATCHER_IMPL_H_ | 5 #ifndef SERVICES_WINDOW_MANAGER_NATIVE_VIEWPORT_EVENT_DISPATCHER_IMPL_H_ |
6 #define SERVICES_WINDOW_MANAGER_NATIVE_VIEWPORT_EVENT_DISPATCHER_IMPL_H_ | 6 #define SERVICES_WINDOW_MANAGER_NATIVE_VIEWPORT_EVENT_DISPATCHER_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "mojo/public/cpp/bindings/strong_binding.h" | 9 #include "mojo/public/cpp/bindings/strong_binding.h" |
10 #include "mojo/services/native_viewport/public/interfaces/native_viewport.mojom.
h" | 10 #include "mojo/services/native_viewport/interfaces/native_viewport.mojom.h" |
11 #include "ui/events/event_source.h" | 11 #include "ui/events/event_source.h" |
12 | 12 |
13 namespace window_manager { | 13 namespace window_manager { |
14 | 14 |
15 class WindowManagerRoot; | 15 class WindowManagerRoot; |
16 | 16 |
17 class NativeViewportEventDispatcherImpl | 17 class NativeViewportEventDispatcherImpl |
18 : public ui::EventSource, | 18 : public ui::EventSource, |
19 public mojo::NativeViewportEventDispatcher { | 19 public mojo::NativeViewportEventDispatcher { |
20 public: | 20 public: |
(...skipping 12 matching lines...) Expand all Loading... |
33 | 33 |
34 WindowManagerRoot* root_; | 34 WindowManagerRoot* root_; |
35 | 35 |
36 mojo::StrongBinding<mojo::NativeViewportEventDispatcher> binding_; | 36 mojo::StrongBinding<mojo::NativeViewportEventDispatcher> binding_; |
37 DISALLOW_COPY_AND_ASSIGN(NativeViewportEventDispatcherImpl); | 37 DISALLOW_COPY_AND_ASSIGN(NativeViewportEventDispatcherImpl); |
38 }; | 38 }; |
39 | 39 |
40 } // namespace window_manager | 40 } // namespace window_manager |
41 | 41 |
42 #endif // SERVICES_WINDOW_MANAGER_NATIVE_VIEWPORT_EVENT_DISPATCHER_IMPL_H_ | 42 #endif // SERVICES_WINDOW_MANAGER_NATIVE_VIEWPORT_EVENT_DISPATCHER_IMPL_H_ |
OLD | NEW |