| Index: services/ui/view_manager/view_registry.cc
|
| diff --git a/services/ui/view_manager/view_registry.cc b/services/ui/view_manager/view_registry.cc
|
| index aee3a466f8af2e4d34c76db26fa1c66fc8244d83..4d23266f106f742c89481bd9e382083dd95763bc 100644
|
| --- a/services/ui/view_manager/view_registry.cc
|
| +++ b/services/ui/view_manager/view_registry.cc
|
| @@ -67,6 +67,18 @@ void ViewRegistry::ConnectAssociates(
|
| connection_error_callback);
|
| }
|
|
|
| +// REGISTERING ASSOCIATES
|
| +
|
| +void ViewRegistry::RegisterViewAssociate(
|
| + mojo::ui::ViewInspector* view_inspector,
|
| + mojo::ui::ViewAssociatePtr view_associate,
|
| + const std::string& url,
|
| + const AssociateConnectionErrorCallback& connection_error_callback) {
|
| + associate_table_.RegisterViewAssociate(
|
| + view_inspector, // q: is this the right place to get the view inspector??
|
| + view_associate.Pass());
|
| +}
|
| +
|
| // CREATE / DESTROY VIEWS
|
|
|
| void ViewRegistry::CreateView(
|
|
|