| OLD | NEW |
| 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/window_manager_window_tree_factory.h" | 5 #include "services/ui/ws/window_manager_window_tree_factory.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "components/mus/ws/window_manager_window_tree_factory_set.h" | 8 #include "services/ui/ws/window_manager_window_tree_factory_set.h" |
| 9 #include "components/mus/ws/window_server.h" | 9 #include "services/ui/ws/window_server.h" |
| 10 #include "components/mus/ws/window_tree.h" | 10 #include "services/ui/ws/window_tree.h" |
| 11 | 11 |
| 12 namespace mus { | 12 namespace mus { |
| 13 namespace ws { | 13 namespace ws { |
| 14 | 14 |
| 15 WindowManagerWindowTreeFactory::WindowManagerWindowTreeFactory( | 15 WindowManagerWindowTreeFactory::WindowManagerWindowTreeFactory( |
| 16 WindowManagerWindowTreeFactorySet* window_manager_window_tree_factory_set, | 16 WindowManagerWindowTreeFactorySet* window_manager_window_tree_factory_set, |
| 17 const UserId& user_id, | 17 const UserId& user_id, |
| 18 mojo::InterfaceRequest<mojom::WindowManagerWindowTreeFactory> request) | 18 mojo::InterfaceRequest<mojom::WindowManagerWindowTreeFactory> request) |
| 19 : window_manager_window_tree_factory_set_( | 19 : window_manager_window_tree_factory_set_( |
| 20 window_manager_window_tree_factory_set), | 20 window_manager_window_tree_factory_set), |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 void WindowManagerWindowTreeFactory::SetWindowTree(WindowTree* window_tree) { | 55 void WindowManagerWindowTreeFactory::SetWindowTree(WindowTree* window_tree) { |
| 56 DCHECK(!window_tree_); | 56 DCHECK(!window_tree_); |
| 57 window_tree_ = window_tree; | 57 window_tree_ = window_tree; |
| 58 | 58 |
| 59 window_manager_window_tree_factory_set_ | 59 window_manager_window_tree_factory_set_ |
| 60 ->OnWindowManagerWindowTreeFactoryReady(this); | 60 ->OnWindowManagerWindowTreeFactoryReady(this); |
| 61 } | 61 } |
| 62 | 62 |
| 63 } // namespace ws | 63 } // namespace ws |
| 64 } // namespace mus | 64 } // namespace mus |
| OLD | NEW |