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

Unified Diff: services/view_manager/connection_manager.cc

Issue 954273002: Routes WindowManager functionality through the view manager (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: comments Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/view_manager/connection_manager.h ('k') | services/view_manager/view_manager_client_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/view_manager/connection_manager.cc
diff --git a/services/view_manager/connection_manager.cc b/services/view_manager/connection_manager.cc
index 8e06304b8d77d774ad017aa616cbcaa066b229d5..190c061aedf21f06ddf5a438d4ed1b8d58a8cc31 100644
--- a/services/view_manager/connection_manager.cc
+++ b/services/view_manager/connection_manager.cc
@@ -242,6 +242,12 @@ void ConnectionManager::SetWindowManagerClientConnection(
window_manager_client_connection_->client(), nullptr, nullptr, nullptr);
}
+mojo::ViewManagerClient*
+ConnectionManager::GetWindowManagerViewManagerClient() {
+ CHECK(window_manager_client_connection_);
+ return window_manager_client_connection_->client();
+}
+
bool ConnectionManager::CloneAndAnimate(const ViewId& view_id) {
ServerView* view = GetView(view_id);
if (!view || !view->IsDrawn(root_.get()) || view == root_.get())
« no previous file with comments | « services/view_manager/connection_manager.h ('k') | services/view_manager/view_manager_client_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698