| Index: mojo/services/window_manager/native_viewport_event_dispatcher_impl.h
|
| diff --git a/mojo/services/window_manager/native_viewport_event_dispatcher_impl.h b/mojo/services/window_manager/native_viewport_event_dispatcher_impl.h
|
| index 2ef0f746f7be798018e136f5adba2d1e42557002..1bcf20d0f67ac8cf5e198c5bcc054afa966c75c7 100644
|
| --- a/mojo/services/window_manager/native_viewport_event_dispatcher_impl.h
|
| +++ b/mojo/services/window_manager/native_viewport_event_dispatcher_impl.h
|
| @@ -7,18 +7,23 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "mojo/services/public/interfaces/native_viewport/native_viewport.mojom.h"
|
| +#include "ui/events/event_source.h"
|
|
|
| namespace mojo {
|
|
|
| class WindowManagerApp;
|
|
|
| class NativeViewportEventDispatcherImpl
|
| - : public InterfaceImpl<NativeViewportEventDispatcher> {
|
| + : public ui::EventSource,
|
| + public InterfaceImpl<NativeViewportEventDispatcher> {
|
| public:
|
| explicit NativeViewportEventDispatcherImpl(WindowManagerApp* app);
|
| ~NativeViewportEventDispatcherImpl() override;
|
|
|
| private:
|
| + // ui::EventSource:
|
| + ui::EventProcessor* GetEventProcessor() override;
|
| +
|
| // NativeViewportEventDispatcher:
|
| void OnEvent(mojo::EventPtr event,
|
| const mojo::Callback<void()>& callback) override;
|
|
|