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

Side by Side Diff: components/mus/ws/forwarding_window_manager.cc

Issue 1639563003: Renames WindowManagerConfig to FrameDecorationValues and moves to Display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 10 months 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
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698