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

Side by Side Diff: services/ui/ws/user_display_manager.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « services/ui/ws/user_display_manager.h ('k') | services/ui/ws/user_display_manager_unittest.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "components/mus/ws/user_display_manager.h" 5 #include "services/ui/ws/user_display_manager.h"
6 6
7 #include "components/mus/ws/display.h" 7 #include "services/ui/ws/display.h"
8 #include "components/mus/ws/display_manager.h" 8 #include "services/ui/ws/display_manager.h"
9 #include "components/mus/ws/display_manager_delegate.h" 9 #include "services/ui/ws/display_manager_delegate.h"
10 10
11 namespace mus { 11 namespace mus {
12 namespace ws { 12 namespace ws {
13 13
14 UserDisplayManager::UserDisplayManager(ws::DisplayManager* display_manager, 14 UserDisplayManager::UserDisplayManager(ws::DisplayManager* display_manager,
15 DisplayManagerDelegate* delegate, 15 DisplayManagerDelegate* delegate,
16 const UserId& user_id) 16 const UserId& user_id)
17 : display_manager_(display_manager), 17 : display_manager_(display_manager),
18 delegate_(delegate), 18 delegate_(delegate),
19 user_id_(user_id), 19 user_id_(user_id),
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 void UserDisplayManager::AddObserver( 143 void UserDisplayManager::AddObserver(
144 mojom::DisplayManagerObserverPtr observer) { 144 mojom::DisplayManagerObserverPtr observer) {
145 mojom::DisplayManagerObserver* observer_impl = observer.get(); 145 mojom::DisplayManagerObserver* observer_impl = observer.get();
146 display_manager_observers_.AddPtr(std::move(observer)); 146 display_manager_observers_.AddPtr(std::move(observer));
147 OnObserverAdded(observer_impl); 147 OnObserverAdded(observer_impl);
148 } 148 }
149 149
150 } // namespace ws 150 } // namespace ws
151 } // namespace mus 151 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/ws/user_display_manager.h ('k') | services/ui/ws/user_display_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698