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 "components/mus/ws/window_tree_binding.h" | 5 #include "services/ui/ws/window_tree_binding.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "components/mus/ws/window_server.h" | 8 #include "services/ui/ws/window_server.h" |
9 #include "components/mus/ws/window_tree.h" | 9 #include "services/ui/ws/window_tree.h" |
10 | 10 |
11 namespace mus { | 11 namespace mus { |
12 namespace ws { | 12 namespace ws { |
13 | 13 |
14 WindowTreeBinding::WindowTreeBinding(mojom::WindowTreeClient* client) | 14 WindowTreeBinding::WindowTreeBinding(mojom::WindowTreeClient* client) |
15 : client_(client) {} | 15 : client_(client) {} |
16 | 16 |
17 WindowTreeBinding::~WindowTreeBinding() {} | 17 WindowTreeBinding::~WindowTreeBinding() {} |
18 | 18 |
19 DefaultWindowTreeBinding::DefaultWindowTreeBinding( | 19 DefaultWindowTreeBinding::DefaultWindowTreeBinding( |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 } | 53 } |
54 | 54 |
55 mojom::WindowManager* DefaultWindowTreeBinding::GetWindowManager() { | 55 mojom::WindowManager* DefaultWindowTreeBinding::GetWindowManager() { |
56 client_->GetWindowManager( | 56 client_->GetWindowManager( |
57 GetProxy(&window_manager_internal_, client_.associated_group())); | 57 GetProxy(&window_manager_internal_, client_.associated_group())); |
58 return window_manager_internal_.get(); | 58 return window_manager_internal_.get(); |
59 } | 59 } |
60 | 60 |
61 } // namespace ws | 61 } // namespace ws |
62 } // namespace mus | 62 } // namespace mus |
OLD | NEW |