Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: ash/mus/window_manager_application.h

Issue 2644093002: aura: Some change to how the client-lib is set up. (Closed)
Patch Set: . Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ash/mus/window_manager_application.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/wallpaper.mojom.h" 13 #include "ash/public/interfaces/wallpaper.mojom.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "mojo/public/cpp/bindings/binding.h" 16 #include "mojo/public/cpp/bindings/binding.h"
17 #include "services/service_manager/public/cpp/service.h" 17 #include "services/service_manager/public/cpp/service.h"
18 #include "services/tracing/public/cpp/provider.h" 18 #include "services/tracing/public/cpp/provider.h"
19 #include "services/ui/common/types.h" 19 #include "services/ui/common/types.h"
20 20
21 namespace aura { 21 namespace aura {
22 class MusContextFactory;
23 class WindowTreeClient; 22 class WindowTreeClient;
24 } 23 }
25 24
26 namespace base { 25 namespace base {
27 class SequencedWorkerPool; 26 class SequencedWorkerPool;
28 } 27 }
29 28
30 namespace chromeos { 29 namespace chromeos {
31 namespace system { 30 namespace system {
32 class ScopedFakeStatisticsProvider; 31 class ScopedFakeStatisticsProvider;
33 } 32 }
34 } 33 }
35 34
36 namespace views { 35 namespace views {
37 class AuraInit; 36 class AuraInit;
38 } 37 }
39 38
40 namespace ui {
41 class Gpu;
42 }
43
44 namespace ash { 39 namespace ash {
45 namespace mus { 40 namespace mus {
46 41
47 class NetworkConnectDelegateMus; 42 class NetworkConnectDelegateMus;
48 class WindowManager; 43 class WindowManager;
49 44
50 // Hosts the window manager and the ash system user interface for mash. 45 // Hosts the window manager and the ash system user interface for mash.
51 class WindowManagerApplication : public service_manager::Service { 46 class WindowManagerApplication : public service_manager::Service {
52 public: 47 public:
53 WindowManagerApplication(); 48 WindowManagerApplication();
(...skipping 15 matching lines...) Expand all
69 64
70 // service_manager::Service: 65 // service_manager::Service:
71 void OnStart() override; 66 void OnStart() override;
72 bool OnConnect(const service_manager::ServiceInfo& remote_info, 67 bool OnConnect(const service_manager::ServiceInfo& remote_info,
73 service_manager::InterfaceRegistry* registry) override; 68 service_manager::InterfaceRegistry* registry) override;
74 69
75 tracing::Provider tracing_; 70 tracing::Provider tracing_;
76 71
77 std::unique_ptr<views::AuraInit> aura_init_; 72 std::unique_ptr<views::AuraInit> aura_init_;
78 73
79 std::unique_ptr<ui::Gpu> gpu_;
80 std::unique_ptr<aura::MusContextFactory> compositor_context_factory_;
81 std::unique_ptr<WindowManager> window_manager_; 74 std::unique_ptr<WindowManager> window_manager_;
82 75
83 // A blocking pool used by the WindowManager's shell; not used in tests. 76 // A blocking pool used by the WindowManager's shell; not used in tests.
84 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 77 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
85 78
86 std::unique_ptr<NetworkConnectDelegateMus> network_connect_delegate_; 79 std::unique_ptr<NetworkConnectDelegateMus> network_connect_delegate_;
87 std::unique_ptr<chromeos::system::ScopedFakeStatisticsProvider> 80 std::unique_ptr<chromeos::system::ScopedFakeStatisticsProvider>
88 statistics_provider_; 81 statistics_provider_;
89 82
90 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); 83 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication);
91 }; 84 };
92 85
93 } // namespace mus 86 } // namespace mus
94 } // namespace ash 87 } // namespace ash
95 88
96 #endif // ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ 89 #endif // ASH_MUS_WINDOW_MANAGER_APPLICATION_H_
OLDNEW
« no previous file with comments | « no previous file | ash/mus/window_manager_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698