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 ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ | 5 #ifndef ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ |
6 #define ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ | 6 #define ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <set> | 11 #include <set> |
12 | 12 |
13 #include "ash/public/interfaces/shelf.mojom.h" | 13 #include "ash/public/interfaces/shelf.mojom.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "mash/session/public/interfaces/session.mojom.h" | 15 #include "mash/session/public/interfaces/session.mojom.h" |
16 #include "mojo/public/cpp/bindings/binding.h" | 16 #include "mojo/public/cpp/bindings/binding.h" |
17 #include "mojo/public/cpp/bindings/binding_set.h" | 17 #include "mojo/public/cpp/bindings/binding_set.h" |
18 #include "services/shell/public/cpp/service.h" | 18 #include "services/shell/public/cpp/service.h" |
19 #include "services/tracing/public/cpp/provider.h" | 19 #include "services/tracing/public/cpp/provider.h" |
20 #include "services/ui/common/types.h" | 20 #include "services/ui/common/types.h" |
21 #include "services/ui/public/interfaces/accelerator_registrar.mojom.h" | 21 #include "services/ui/public/interfaces/accelerator_registrar.mojom.h" |
22 | 22 |
| 23 namespace chromeos { |
| 24 namespace system { |
| 25 class ScopedFakeStatisticsProvider; |
| 26 } |
| 27 } |
| 28 |
23 namespace views { | 29 namespace views { |
24 class AuraInit; | 30 class AuraInit; |
25 class SurfaceContextFactory; | 31 class SurfaceContextFactory; |
26 } | 32 } |
27 | 33 |
28 namespace ui { | 34 namespace ui { |
29 class Event; | 35 class Event; |
30 class GpuService; | 36 class GpuService; |
31 class WindowTreeClient; | 37 class WindowTreeClient; |
32 } | 38 } |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 94 |
89 mojo::BindingSet<ash::mojom::ShelfController> shelf_controller_bindings_; | 95 mojo::BindingSet<ash::mojom::ShelfController> shelf_controller_bindings_; |
90 | 96 |
91 std::set<AcceleratorRegistrarImpl*> accelerator_registrars_; | 97 std::set<AcceleratorRegistrarImpl*> accelerator_registrars_; |
92 | 98 |
93 mash::session::mojom::SessionPtr session_; | 99 mash::session::mojom::SessionPtr session_; |
94 | 100 |
95 mojo::Binding<mash::session::mojom::ScreenlockStateListener> | 101 mojo::Binding<mash::session::mojom::ScreenlockStateListener> |
96 screenlock_state_listener_binding_; | 102 screenlock_state_listener_binding_; |
97 | 103 |
| 104 #if defined(OS_CHROMEOS) |
| 105 std::unique_ptr<chromeos::system::ScopedFakeStatisticsProvider> |
| 106 statistics_provider_; |
| 107 #endif |
| 108 |
98 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); | 109 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); |
99 }; | 110 }; |
100 | 111 |
101 } // namespace mus | 112 } // namespace mus |
102 } // namespace ash | 113 } // namespace ash |
103 | 114 |
104 #endif // ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ | 115 #endif // ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ |
OLD | NEW |