OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/window_server.h" | 5 #include "services/ui/ws/window_server.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
12 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
13 #include "services/shell/public/cpp/connection.h" | 13 #include "services/service_manager/public/cpp/connection.h" |
14 #include "services/ui/ws/display.h" | 14 #include "services/ui/ws/display.h" |
15 #include "services/ui/ws/display_binding.h" | 15 #include "services/ui/ws/display_binding.h" |
16 #include "services/ui/ws/display_manager.h" | 16 #include "services/ui/ws/display_manager.h" |
17 #include "services/ui/ws/gpu_service_proxy.h" | 17 #include "services/ui/ws/gpu_service_proxy.h" |
18 #include "services/ui/ws/operation.h" | 18 #include "services/ui/ws/operation.h" |
19 #include "services/ui/ws/server_window.h" | 19 #include "services/ui/ws/server_window.h" |
20 #include "services/ui/ws/user_activity_monitor.h" | 20 #include "services/ui/ws/user_activity_monitor.h" |
21 #include "services/ui/ws/window_coordinate_conversions.h" | 21 #include "services/ui/ws/window_coordinate_conversions.h" |
22 #include "services/ui/ws/window_manager_access_policy.h" | 22 #include "services/ui/ws/window_manager_access_policy.h" |
23 #include "services/ui/ws/window_manager_display_root.h" | 23 #include "services/ui/ws/window_manager_display_root.h" |
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 void WindowServer::OnUserIdAdded(const UserId& id) { | 835 void WindowServer::OnUserIdAdded(const UserId& id) { |
836 activity_monitor_map_[id] = base::MakeUnique<UserActivityMonitor>(nullptr); | 836 activity_monitor_map_[id] = base::MakeUnique<UserActivityMonitor>(nullptr); |
837 } | 837 } |
838 | 838 |
839 void WindowServer::OnUserIdRemoved(const UserId& id) { | 839 void WindowServer::OnUserIdRemoved(const UserId& id) { |
840 activity_monitor_map_.erase(id); | 840 activity_monitor_map_.erase(id); |
841 } | 841 } |
842 | 842 |
843 } // namespace ws | 843 } // namespace ws |
844 } // namespace ui | 844 } // namespace ui |
OLD | NEW |