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

Unified Diff: chrome/browser/ui/webui/web_dialog_web_contents_delegate.cc

Issue 10698068: chrome: Put browser_navigator.h into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: already in chrome namespace Created 8 years, 6 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 | « chrome/browser/ui/webui/set_as_default_browser_ui.cc ('k') | chrome/browser/ui/webui/web_ui_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/web_dialog_web_contents_delegate.cc
diff --git a/chrome/browser/ui/webui/web_dialog_web_contents_delegate.cc b/chrome/browser/ui/webui/web_dialog_web_contents_delegate.cc
index 116497b12ba868c28f3592912a62c1724db3df4d..815e2bebe3cf1dc817710ad4ca020c82e774eeb4 100644
--- a/chrome/browser/ui/webui/web_dialog_web_contents_delegate.cc
+++ b/chrome/browser/ui/webui/web_dialog_web_contents_delegate.cc
@@ -51,7 +51,7 @@ Browser* WebDialogWebContentsDelegate::StaticOpenURLFromTab(
// Specify a NULL browser for navigation. This will cause Navigate()
// to find a browser matching params.profile or create a new one.
Browser* browser = NULL;
- browser::NavigateParams nav_params(browser, params.url, params.transition);
+ chrome::NavigateParams nav_params(browser, params.url, params.transition);
nav_params.profile = profile;
nav_params.referrer = params.referrer;
if (source && source->IsCrashed() &&
@@ -61,9 +61,9 @@ Browser* WebDialogWebContentsDelegate::StaticOpenURLFromTab(
} else {
nav_params.disposition = params.disposition;
}
- nav_params.window_action = browser::NavigateParams::SHOW_WINDOW;
+ nav_params.window_action = chrome::NavigateParams::SHOW_WINDOW;
nav_params.user_gesture = true;
- browser::Navigate(&nav_params);
+ chrome::Navigate(&nav_params);
*out_new_contents = nav_params.target_contents ?
nav_params.target_contents->web_contents() : NULL;
return nav_params.browser;
@@ -93,15 +93,15 @@ Browser* WebDialogWebContentsDelegate::StaticAddNewContents(
Browser* browser = NULL;
TabContents* tab_contents = new TabContents(new_contents);
- browser::NavigateParams params(browser, tab_contents);
+ chrome::NavigateParams params(browser, tab_contents);
params.profile = profile;
// TODO(pinkerton): no way to get a TabContents for this.
// params.source_contents = source;
params.disposition = disposition;
params.window_bounds = initial_pos;
- params.window_action = browser::NavigateParams::SHOW_WINDOW;
+ params.window_action = chrome::NavigateParams::SHOW_WINDOW;
params.user_gesture = true;
- browser::Navigate(&params);
+ chrome::Navigate(&params);
return params.browser;
}
« no previous file with comments | « chrome/browser/ui/webui/set_as_default_browser_ui.cc ('k') | chrome/browser/ui/webui/web_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698