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

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

Issue 413353002: Remove extraneous namespaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review nits and merge 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
« no previous file with comments | « no previous file | mojo/examples/embedded_app/embedded_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/browser/browser.cc
diff --git a/mojo/examples/browser/browser.cc b/mojo/examples/browser/browser.cc
index dce11ad977083d3b841adbb6bbdfbb535a152806..719f8f2af905e706e7e162f46c04766193957cd5 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);
« no previous file with comments | « no previous file | mojo/examples/embedded_app/embedded_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698