| 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 COMPONENTS_KIOSK_WM_KIOSK_WM_H_ | 5 #ifndef COMPONENTS_KIOSK_WM_KIOSK_WM_H_ |
| 6 #define COMPONENTS_KIOSK_WM_KIOSK_WM_H_ | 6 #define COMPONENTS_KIOSK_WM_KIOSK_WM_H_ |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "components/kiosk_wm/navigator_host_impl.h" | 9 #include "components/kiosk_wm/navigator_host_impl.h" |
| 10 #include "components/view_manager/public/cpp/view_manager.h" | 10 #include "components/view_manager/public/cpp/view_manager.h" |
| 11 #include "components/view_manager/public/cpp/view_manager_delegate.h" | 11 #include "components/view_manager/public/cpp/view_manager_delegate.h" |
| 12 #include "components/view_manager/public/cpp/view_observer.h" | 12 #include "components/view_manager/public/cpp/view_observer.h" |
| 13 #include "components/window_manager/window_manager_app.h" | 13 #include "components/window_manager/window_manager_app.h" |
| 14 #include "components/window_manager/window_manager_delegate.h" | 14 #include "components/window_manager/window_manager_delegate.h" |
| 15 #include "mandoline/services/navigation/public/interfaces/navigation.mojom.h" |
| 15 #include "third_party/mojo/src/mojo/public/cpp/application/application_delegate.
h" | 16 #include "third_party/mojo/src/mojo/public/cpp/application/application_delegate.
h" |
| 16 #include "third_party/mojo/src/mojo/public/cpp/application/application_impl.h" | 17 #include "third_party/mojo/src/mojo/public/cpp/application/application_impl.h" |
| 17 #include "third_party/mojo/src/mojo/public/cpp/application/connect.h" | 18 #include "third_party/mojo/src/mojo/public/cpp/application/connect.h" |
| 18 #include "third_party/mojo/src/mojo/public/cpp/application/service_provider_impl
.h" | 19 #include "third_party/mojo/src/mojo/public/cpp/application/service_provider_impl
.h" |
| 19 #include "third_party/mojo_services/src/navigation/public/interfaces/navigation.
mojom.h" | |
| 20 #include "ui/mojo/events/input_events.mojom.h" | 20 #include "ui/mojo/events/input_events.mojom.h" |
| 21 | 21 |
| 22 namespace kiosk_wm { | 22 namespace kiosk_wm { |
| 23 | 23 |
| 24 class MergedServiceProvider; | 24 class MergedServiceProvider; |
| 25 | 25 |
| 26 class KioskWM : public mojo::ApplicationDelegate, | 26 class KioskWM : public mojo::ApplicationDelegate, |
| 27 public mojo::ViewManagerDelegate, | 27 public mojo::ViewManagerDelegate, |
| 28 public mojo::ViewObserver, | 28 public mojo::ViewObserver, |
| 29 public window_manager::WindowManagerDelegate, | 29 public window_manager::WindowManagerDelegate, |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 NavigatorHostImpl navigator_host_; | 83 NavigatorHostImpl navigator_host_; |
| 84 | 84 |
| 85 base::WeakPtrFactory<KioskWM> weak_factory_; | 85 base::WeakPtrFactory<KioskWM> weak_factory_; |
| 86 | 86 |
| 87 DISALLOW_COPY_AND_ASSIGN(KioskWM); | 87 DISALLOW_COPY_AND_ASSIGN(KioskWM); |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 } // namespace kiosk_wm | 90 } // namespace kiosk_wm |
| 91 | 91 |
| 92 #endif // COMPONENTS_KIOSK_WM_KIOSK_WM_H_ | 92 #endif // COMPONENTS_KIOSK_WM_KIOSK_WM_H_ |
| OLD | NEW |