| 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_NATIVE_VIEWPORT_EVENT_DISPATCHER_IMPL_H_ | 5 #ifndef SERVICES_WINDOW_MANAGER_NATIVE_VIEWPORT_EVENT_DISPATCHER_IMPL_H_ |
| 6 #define MOJO_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/services/public/interfaces/native_viewport/native_viewport.mojom.
h" | 9 #include "mojo/services/public/interfaces/native_viewport/native_viewport.mojom.
h" |
| 10 #include "ui/events/event_source.h" | 10 #include "ui/events/event_source.h" |
| 11 | 11 |
| 12 namespace mojo { | 12 namespace mojo { |
| 13 | 13 |
| 14 class WindowManagerApp; | 14 class WindowManagerApp; |
| 15 | 15 |
| 16 class NativeViewportEventDispatcherImpl | 16 class NativeViewportEventDispatcherImpl |
| (...skipping 11 matching lines...) Expand all Loading... |
| 28 void OnEvent(mojo::EventPtr event, | 28 void OnEvent(mojo::EventPtr event, |
| 29 const mojo::Callback<void()>& callback) override; | 29 const mojo::Callback<void()>& callback) override; |
| 30 | 30 |
| 31 WindowManagerApp* app_; | 31 WindowManagerApp* app_; |
| 32 | 32 |
| 33 DISALLOW_COPY_AND_ASSIGN(NativeViewportEventDispatcherImpl); | 33 DISALLOW_COPY_AND_ASSIGN(NativeViewportEventDispatcherImpl); |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 } // namespace mojo | 36 } // namespace mojo |
| 37 | 37 |
| 38 #endif // MOJO_SERVICES_WINDOW_MANAGER_NATIVE_VIEWPORT_EVENT_DISPATCHER_IMPL_H_ | 38 #endif // SERVICES_WINDOW_MANAGER_NATIVE_VIEWPORT_EVENT_DISPATCHER_IMPL_H_ |
| OLD | NEW |