| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_ | 5 #ifndef SERVICES_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_ |
| 6 #define SERVICES_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_ | 6 #define SERVICES_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "mojo/common/strong_binding_set.h" | 11 #include "mojo/common/strong_binding_set.h" |
| 12 #include "mojo/common/tracing_impl.h" | 12 #include "mojo/common/tracing_impl.h" |
| 13 #include "mojo/public/cpp/application/application_delegate.h" | 13 #include "mojo/public/cpp/application/application_delegate.h" |
| 14 #include "mojo/public/cpp/application/interface_factory.h" |
| 14 #include "mojo/services/ui/views/interfaces/view_associates.mojom.h" | 15 #include "mojo/services/ui/views/interfaces/view_associates.mojom.h" |
| 15 | 16 |
| 16 namespace input_manager { | 17 namespace input_manager { |
| 17 | 18 |
| 18 // Input manager application entry point. | 19 // Input manager application entry point. |
| 19 class InputManagerApp : public mojo::ApplicationDelegate, | 20 class InputManagerApp : public mojo::ApplicationDelegate, |
| 20 public mojo::InterfaceFactory<mojo::ui::ViewAssociate> { | 21 public mojo::InterfaceFactory<mojo::ui::ViewAssociate> { |
| 21 public: | 22 public: |
| 22 InputManagerApp(); | 23 InputManagerApp(); |
| 23 ~InputManagerApp() override; | 24 ~InputManagerApp() override; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 36 mojo::TracingImpl tracing_; | 37 mojo::TracingImpl tracing_; |
| 37 | 38 |
| 38 mojo::StrongBindingSet<mojo::ui::ViewAssociate> input_associates; | 39 mojo::StrongBindingSet<mojo::ui::ViewAssociate> input_associates; |
| 39 | 40 |
| 40 DISALLOW_COPY_AND_ASSIGN(InputManagerApp); | 41 DISALLOW_COPY_AND_ASSIGN(InputManagerApp); |
| 41 }; | 42 }; |
| 42 | 43 |
| 43 } // namespace input_manager | 44 } // namespace input_manager |
| 44 | 45 |
| 45 #endif // SERVICES_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_ | 46 #endif // SERVICES_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_ |
| OLD | NEW |