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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.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, 11 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 side-by-side diff with in-line comments
Download patch
Index: components/mus/public/cpp/lib/window_tree_client_impl.cc
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.cc b/components/mus/public/cpp/lib/window_tree_client_impl.cc
index 5b02c733c197593674ac07f5efc0008ba8b244c4..c20441c3c8720971b5b59eee7020ed473b0ebe58 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.cc
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.cc
@@ -123,6 +123,8 @@ WindowTreeClientImpl::WindowTreeClientImpl(
// Allow for a null request in tests.
if (request.is_pending())
binding_.Bind(std::move(request));
+ if (window_manager_delegate)
+ window_manager_delegate->SetWindowManagerClient(this);
}
WindowTreeClientImpl::~WindowTreeClientImpl() {
@@ -862,4 +864,10 @@ void WindowTreeClientImpl::WmCreateTopLevelWindow(
window->id());
}
+void WindowTreeClientImpl::SetFrameDecorationValues(
+ mojom::FrameDecorationValuesPtr values) {
+ window_manager_internal_client_->WmSetFrameDecorationValues(
+ std::move(values));
+}
+
} // namespace mus

Powered by Google App Engine
This is Rietveld 408576698