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

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

Issue 2435153004: Change Service contract to pass ServiceInfo instead of Identity (Closed)
Patch Set: . Created 4 years, 1 month 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 | « ash/autoclick/mus/autoclick_application.cc ('k') | 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>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 void InitWindowManager( 71 void InitWindowManager(
72 std::unique_ptr<ui::WindowTreeClient> window_tree_client, 72 std::unique_ptr<ui::WindowTreeClient> window_tree_client,
73 const scoped_refptr<base::SequencedWorkerPool>& blocking_pool); 73 const scoped_refptr<base::SequencedWorkerPool>& blocking_pool);
74 74
75 // Initializes lower-level OS-specific components (e.g. D-Bus services). 75 // Initializes lower-level OS-specific components (e.g. D-Bus services).
76 void InitializeComponents(); 76 void InitializeComponents();
77 void ShutdownComponents(); 77 void ShutdownComponents();
78 78
79 // service_manager::Service: 79 // service_manager::Service:
80 void OnStart(const service_manager::Identity& identity) override; 80 void OnStart(const service_manager::ServiceInfo& info) override;
81 bool OnConnect(const service_manager::Identity& remote_identity, 81 bool OnConnect(const service_manager::ServiceInfo& remote_info,
82 service_manager::InterfaceRegistry* registry) override; 82 service_manager::InterfaceRegistry* registry) override;
83 83
84 // service_manager::InterfaceFactory<ui::mojom::AcceleratorRegistrar>: 84 // service_manager::InterfaceFactory<ui::mojom::AcceleratorRegistrar>:
85 void Create(const service_manager::Identity& remote_identity, 85 void Create(const service_manager::Identity& remote_identity,
86 ui::mojom::AcceleratorRegistrarRequest request) override; 86 ui::mojom::AcceleratorRegistrarRequest request) override;
87 87
88 // session::mojom::ScreenlockStateListener: 88 // session::mojom::ScreenlockStateListener:
89 void ScreenlockStateChanged(bool locked) override; 89 void ScreenlockStateChanged(bool locked) override;
90 90
91 tracing::Provider tracing_; 91 tracing::Provider tracing_;
(...skipping 21 matching lines...) Expand all
113 statistics_provider_; 113 statistics_provider_;
114 #endif 114 #endif
115 115
116 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); 116 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication);
117 }; 117 };
118 118
119 } // namespace mus 119 } // namespace mus
120 } // namespace ash 120 } // namespace ash
121 121
122 #endif // ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ 122 #endif // ASH_MUS_WINDOW_MANAGER_APPLICATION_H_
OLDNEW
« no previous file with comments | « ash/autoclick/mus/autoclick_application.cc ('k') | ash/mus/window_manager_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698