diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-11 15:40:15 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-11 15:40:15 +0000 |
commit | 59c343b1afa7ef8628459cf598885fa9db94b103 (patch) | |
tree | 0c9f94b809e051f0ea90db78bafd888f009b42d9 /mojo/examples/aura_demo | |
parent | 2ec2827f278d2a05309ad1616ccd1923fb7676d5 (diff) | |
download | chromium_src-59c343b1afa7ef8628459cf598885fa9db94b103.zip chromium_src-59c343b1afa7ef8628459cf598885fa9db94b103.tar.gz chromium_src-59c343b1afa7ef8628459cf598885fa9db94b103.tar.bz2 |
Renames view manager Connect methods to Embed
Specifically:
IViewManagerInit::Connect->EmbedRoot
IViewManager::Connect->Embed
R=ben@chromium.org
Review URL: https://codereview.chromium.org/328873002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276411 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/examples/aura_demo')
-rw-r--r-- | mojo/examples/aura_demo/view_manager_init.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mojo/examples/aura_demo/view_manager_init.cc b/mojo/examples/aura_demo/view_manager_init.cc index fd90e1c..4c168f9 100644 --- a/mojo/examples/aura_demo/view_manager_init.cc +++ b/mojo/examples/aura_demo/view_manager_init.cc @@ -19,9 +19,9 @@ class ViewManagerInit : public Application { virtual void Initialize() OVERRIDE { ConnectTo("mojo:mojo_view_manager", &view_manager_init_); - view_manager_init_->Connect("mojo:mojo_aura_demo", - base::Bind(&ViewManagerInit::DidConnect, - base::Unretained(this))); + view_manager_init_->EmbedRoot("mojo:mojo_aura_demo", + base::Bind(&ViewManagerInit::DidConnect, + base::Unretained(this))); } private: |