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

Unified Diff: services/ui/view_manager/view_manager_app.cc

Issue 1949233002: Create a RegisterViewAssociate method in ViewManager (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Improved tests Created 4 years, 7 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: services/ui/view_manager/view_manager_app.cc
diff --git a/services/ui/view_manager/view_manager_app.cc b/services/ui/view_manager/view_manager_app.cc
index a77b49a347b7eb8e7c1bf03c5f640b3f5efcdbe8..d5c7d4fae00b16b3ea3430350de60b71c24d07f4 100644
--- a/services/ui/view_manager/view_manager_app.cc
+++ b/services/ui/view_manager/view_manager_app.cc
@@ -53,6 +53,7 @@ void ViewManagerApp::Initialize(mojo::ApplicationImpl* app_impl) {
// TODO(jeffbrown): Replace this hardcoded list.
associate_urls.push_back("mojo:input_manager_service");
}
+
registry_->ConnectAssociates(
app_impl_, associate_urls,
base::Bind(&ViewManagerApp::OnAssociateConnectionError,

Powered by Google App Engine
This is Rietveld 408576698