| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/forwarding_window_manager.h" | 5 #include "components/mus/ws/forwarding_window_manager.h" |
| 6 | 6 |
| 7 #include "components/mus/ws/connection_manager.h" | 7 #include "components/mus/ws/connection_manager.h" |
| 8 #include "components/mus/ws/window_tree_host_impl.h" | 8 #include "components/mus/ws/window_tree_host_impl.h" |
| 9 | 9 |
| 10 namespace mus { | 10 namespace mus { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 return connection_manager_->GetActiveWindowTreeHost()->window_manager(); | 22 return connection_manager_->GetActiveWindowTreeHost()->window_manager(); |
| 23 } | 23 } |
| 24 | 24 |
| 25 void ForwardingWindowManager::OpenWindow( | 25 void ForwardingWindowManager::OpenWindow( |
| 26 mus::mojom::WindowTreeClientPtr client, | 26 mus::mojom::WindowTreeClientPtr client, |
| 27 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) { | 27 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) { |
| 28 GetActiveWindowManager()->OpenWindow(std::move(client), | 28 GetActiveWindowManager()->OpenWindow(std::move(client), |
| 29 std::move(properties)); | 29 std::move(properties)); |
| 30 } | 30 } |
| 31 | 31 |
| 32 void ForwardingWindowManager::GetConfig(const GetConfigCallback& callback) { | |
| 33 return GetActiveWindowManager()->GetConfig(callback); | |
| 34 } | |
| 35 | |
| 36 } // namespace ws | 32 } // namespace ws |
| 37 } // namespace mus | 33 } // namespace mus |
| OLD | NEW |