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

Unified Diff: components/mus/ws/window_tree_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
« no previous file with comments | « components/mus/ws/window_tree_impl.h ('k') | components/mus/ws/window_tree_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_impl.cc
diff --git a/components/mus/ws/window_tree_impl.cc b/components/mus/ws/window_tree_impl.cc
index 7cfa5e3228421f97e00119d721f4e676387c71b7..3cdb88cf19897663b2a7a29fb11b56b442147dfb 100644
--- a/components/mus/ws/window_tree_impl.cc
+++ b/components/mus/ws/window_tree_impl.cc
@@ -1172,18 +1172,16 @@ void WindowTreeImpl::SetPredefinedCursor(uint32_t change_id,
client_->OnChangeCompleted(change_id, success);
}
-void WindowTreeImpl::GetWindowManagerInternalClient(
- mojo::AssociatedInterfaceRequest<mojom::WindowManagerInternalClient>
- internal) {
- if (!access_policy_->CanSetWindowManagerInternal() ||
- window_manager_internal_)
+void WindowTreeImpl::GetWindowManagerClient(
+ mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {
+ if (!access_policy_->CanSetWindowManager() || window_manager_internal_)
return;
window_manager_internal_client_binding_.reset(
- new mojo::AssociatedBinding<mojom::WindowManagerInternalClient>(
+ new mojo::AssociatedBinding<mojom::WindowManagerClient>(
this, std::move(internal)));
- window_manager_internal_ = connection_manager_->GetClientConnection(this)
- ->GetWindowManagerInternal();
+ window_manager_internal_ =
+ connection_manager_->GetClientConnection(this)->GetWindowManager();
}
void WindowTreeImpl::WmResponse(uint32_t change_id, bool response) {
« no previous file with comments | « components/mus/ws/window_tree_impl.h ('k') | components/mus/ws/window_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698