summaryrefslogtreecommitdiffstats
path: root/mojo/examples/browser
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-26 18:24:06 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-26 18:24:06 +0000
commit9e77141f7b44164938dc3dafcf82c3bc90ef01cd (patch)
tree22dad00dd24a143a651d29ea0c7dcb2e4e568eaa /mojo/examples/browser
parent02089256b85fe7fe83d9088a372944e86ed59774 (diff)
downloadchromium_src-9e77141f7b44164938dc3dafcf82c3bc90ef01cd.zip
chromium_src-9e77141f7b44164938dc3dafcf82c3bc90ef01cd.tar.gz
chromium_src-9e77141f7b44164938dc3dafcf82c3bc90ef01cd.tar.bz2
Remove extraneous namespaces
BUG= Review URL: https://codereview.chromium.org/413353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285771 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/examples/browser')
-rw-r--r--mojo/examples/browser/browser.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/mojo/examples/browser/browser.cc b/mojo/examples/browser/browser.cc
index dce11ad..719f8f2 100644
--- a/mojo/examples/browser/browser.cc
+++ b/mojo/examples/browser/browser.cc
@@ -225,11 +225,10 @@ class Browser : public ApplicationDelegate,
if (key_event.key_code() == ui::VKEY_RETURN) {
GURL url(sender->text());
printf("User entered this URL: %s\n", url.spec().c_str());
- navigation::NavigationDetailsPtr nav_details(
- navigation::NavigationDetails::New());
+ NavigationDetailsPtr nav_details(NavigationDetails::New());
nav_details->url = String::From(url);
navigator_host_->RequestNavigate(view_manager_->GetRoots().front()->id(),
- navigation::TARGET_NEW_NODE,
+ TARGET_NEW_NODE,
nav_details.Pass());
}
return false;
@@ -257,7 +256,7 @@ class Browser : public ApplicationDelegate,
ViewManagerClientFactory view_manager_client_factory_;
Node* root_;
views::Widget* widget_;
- navigation::NavigatorHostPtr navigator_host_;
+ NavigatorHostPtr navigator_host_;
IWindowManagerPtr window_manager_;
DISALLOW_COPY_AND_ASSIGN(Browser);