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

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

Issue 2549503002: Rename PlatformScreen to ScreenManager. (Closed)
Patch Set: Rebase. Created 4 years 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/display_manager.h ('k') | services/ui/ws/display_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 "services/ui/ws/display_manager.h" 5 #include "services/ui/ws/display_manager.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/trace_event/trace_event.h" 10 #include "base/trace_event/trace_event.h"
11 #include "services/ui/display/platform_screen.h"
12 #include "services/ui/ws/display.h" 11 #include "services/ui/ws/display.h"
13 #include "services/ui/ws/display_binding.h" 12 #include "services/ui/ws/display_binding.h"
14 #include "services/ui/ws/event_dispatcher.h" 13 #include "services/ui/ws/event_dispatcher.h"
15 #include "services/ui/ws/platform_display_init_params.h" 14 #include "services/ui/ws/platform_display_init_params.h"
16 #include "services/ui/ws/server_window.h" 15 #include "services/ui/ws/server_window.h"
17 #include "services/ui/ws/user_display_manager.h" 16 #include "services/ui/ws/user_display_manager.h"
18 #include "services/ui/ws/user_display_manager_delegate.h" 17 #include "services/ui/ws/user_display_manager_delegate.h"
19 #include "services/ui/ws/user_id_tracker.h" 18 #include "services/ui/ws/user_id_tracker.h"
20 #include "services/ui/ws/window_manager_state.h" 19 #include "services/ui/ws/window_manager_state.h"
21 #include "services/ui/ws/window_manager_window_tree_factory.h" 20 #include "services/ui/ws/window_manager_window_tree_factory.h"
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 void DisplayManager::OnPrimaryDisplayChanged(int64_t primary_display_id) { 218 void DisplayManager::OnPrimaryDisplayChanged(int64_t primary_display_id) {
220 // TODO(kylechar): Send IPCs to WM clients first. 219 // TODO(kylechar): Send IPCs to WM clients first.
221 220
222 // Send IPCs to any DisplayManagerObservers. 221 // Send IPCs to any DisplayManagerObservers.
223 for (const auto& pair : user_display_managers_) 222 for (const auto& pair : user_display_managers_)
224 pair.second->OnPrimaryDisplayChanged(primary_display_id); 223 pair.second->OnPrimaryDisplayChanged(primary_display_id);
225 } 224 }
226 225
227 } // namespace ws 226 } // namespace ws
228 } // namespace ui 227 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/ws/display_manager.h ('k') | services/ui/ws/display_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698