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

Unified Diff: mojo/examples/keyboard/keyboard.cc

Issue 433513005: Pass ServiceProvider thru ViewManagerService::Embed() allowing embedder & embeddee to expose servic… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: mojo/examples/keyboard/keyboard.cc
diff --git a/mojo/examples/keyboard/keyboard.cc b/mojo/examples/keyboard/keyboard.cc
index 53a7204d846079c95ab8ee4fa8bb16784f1c1a97..3aa06ebc835723aa01eecdf4f027e8c3c6a84992 100644
--- a/mojo/examples/keyboard/keyboard.cc
+++ b/mojo/examples/keyboard/keyboard.cc
@@ -91,7 +91,10 @@ class Keyboard : public ApplicationDelegate,
}
// ViewManagerDelegate:
- virtual void OnEmbed(ViewManager* view_manager, Node* root) OVERRIDE {
+ virtual void OnEmbed(ViewManager* view_manager,
+ Node* root,
+ ExportedServiceRegistry* exported_services,
+ scoped_ptr<ServiceProvider> imported_services) OVERRIDE {
// TODO: deal with OnEmbed() being invoked multiple times.
view_manager_ = view_manager;
root->SetActiveView(View::Create(view_manager));

Powered by Google App Engine
This is Rietveld 408576698