diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-19 02:42:16 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-19 02:42:16 +0000 |
commit | 3c16f0f0aa32ee0a975ae81795e099d1eb3ab857 (patch) | |
tree | 7e503d3e982c4fd6481d8c801ff8a39b23165df8 /mojo/examples/window_manager | |
parent | d1e7cd94392deb550da5dfb93c503d82e9ade970 (diff) | |
download | chromium_src-3c16f0f0aa32ee0a975ae81795e099d1eb3ab857.zip chromium_src-3c16f0f0aa32ee0a975ae81795e099d1eb3ab857.tar.gz chromium_src-3c16f0f0aa32ee0a975ae81795e099d1eb3ab857.tar.bz2 |
Eliminate Launchable. Use Navigator instead.
Adds URLResponse & body stream fields to NavigationDetails struct.
** not tested as part of the main chrome integration test suite **
R=aa@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/331323007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278243 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/examples/window_manager')
-rw-r--r-- | mojo/examples/window_manager/window_manager.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mojo/examples/window_manager/window_manager.cc b/mojo/examples/window_manager/window_manager.cc index a96bece..52189e1 100644 --- a/mojo/examples/window_manager/window_manager.cc +++ b/mojo/examples/window_manager/window_manager.cc @@ -137,7 +137,13 @@ class WindowManager : public Application, size_t index = node->children().size() - 1; details->url = base::StringPrintf( "%s/%x", kEmbeddedAppURL, kColors[index % arraysize(kColors)]); - navigator->Navigate(embedded->id(), details.Pass()); + + // TODO(beng): remove once nullable parameters land. + navigation::ResponseDetailsPtr response_details( + navigation::ResponseDetails::New()); + navigator->Navigate(embedded->id(), + details.Pass(), + response_details.Pass()); } } |