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

Unified Diff: services/ui/view_manager/view_registry.h

Issue 1949233002: Create a RegisterViewAssociate method in ViewManager (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: one more compile fix 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_registry.h
diff --git a/services/ui/view_manager/view_registry.h b/services/ui/view_manager/view_registry.h
index 9550e2953279887c9e9033cd00397a450249c57e..1b1e17cc32f6872a13bb7e8d2800f6696570ef4c 100644
--- a/services/ui/view_manager/view_registry.h
+++ b/services/ui/view_manager/view_registry.h
@@ -31,14 +31,6 @@ class ViewRegistry : public mojo::ui::ViewInspector {
explicit ViewRegistry(mojo::gfx::composition::CompositorPtr compositor);
~ViewRegistry() override;
- // Begins connecting to the view associates.
- // Invokes |connection_error_callback| if an associate connection fails
- // and provides the associate's url.
- void ConnectAssociates(
- mojo::ApplicationImpl* app_impl,
- const std::vector<std::string>& urls,
- const AssociateConnectionErrorCallback& connection_error_callback);
-
// VIEW MANAGER REQUESTS
// Creates a view and returns its ViewToken.
@@ -54,6 +46,14 @@ class ViewRegistry : public mojo::ui::ViewInspector {
mojo::ui::ViewTreeListenerPtr view_tree_listener,
const mojo::String& label);
+ void RegisterViewAssociate(
+ mojo::ui::ViewInspector* view_inspector,
+ mojo::ui::ViewAssociatePtr view_associate,
+ mojo::InterfaceRequest<mojo::ui::ViewAssociateOwner> view_associate_owner,
+ const mojo::String& label);
+
+ void FinishedRegisteringViewAssociates();
+
// VIEW STUB REQUESTS
void OnViewResolved(ViewStub* view_stub, mojo::ui::ViewTokenPtr view_token);

Powered by Google App Engine
This is Rietveld 408576698