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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.cc

Issue 1644773004: Renames some WindowManager classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup 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 c20441c3c8720971b5b59eee7020ed473b0ebe58..3ba759b249c617d7027e36ed13f2cc220f5427c9 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.cc
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.cc
@@ -502,8 +502,8 @@ void WindowTreeClientImpl::OnEmbed(ConnectionSpecificId connection_id,
tree_ptr_.set_connection_error_handler([this]() { delete this; });
if (window_manager_delegate_) {
- tree_ptr_->GetWindowManagerInternalClient(GetProxy(
- &window_manager_internal_client_, tree_ptr_.associated_group()));
+ tree_ptr_->GetWindowManagerClient(GetProxy(&window_manager_internal_client_,
+ tree_ptr_.associated_group()));
}
OnEmbedImpl(tree_ptr_.get(), connection_id, std::move(root_data),
@@ -795,11 +795,11 @@ void WindowTreeClientImpl::OnChangeCompleted(uint32_t change_id, bool success) {
}
}
-void WindowTreeClientImpl::GetWindowManagerInternal(
- mojo::AssociatedInterfaceRequest<WindowManagerInternal> internal) {
+void WindowTreeClientImpl::GetWindowManager(
+ mojo::AssociatedInterfaceRequest<WindowManager> internal) {
window_manager_internal_.reset(
- new mojo::AssociatedBinding<mojom::WindowManagerInternal>(
- this, std::move(internal)));
+ new mojo::AssociatedBinding<mojom::WindowManager>(this,
+ std::move(internal)));
}
void WindowTreeClientImpl::RequestClose(uint32_t window_id) {
« no previous file with comments | « components/mus/public/cpp/lib/window_tree_client_impl.h ('k') | components/mus/public/cpp/lib/window_tree_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698