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

Unified Diff: chrome/browser/extensions/extension_install_ui_default.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/extensions/extension_host.cc ('k') | chrome/browser/history/android/visit_sql_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_install_ui_default.cc
diff --git a/chrome/browser/extensions/extension_install_ui_default.cc b/chrome/browser/extensions/extension_install_ui_default.cc
index e40ef1708e6262a2dc77c2b9020e7c7c4dbcb4b1..ff386fe8f6555afbd360fae9444a200fc0ca268b 100644
--- a/chrome/browser/extensions/extension_install_ui_default.cc
+++ b/chrome/browser/extensions/extension_install_ui_default.cc
@@ -72,12 +72,12 @@ class ErrorInfobarDelegate : public ConfirmInfoBarDelegate {
}
virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE {
- browser::NavigateParams params(
+ chrome::NavigateParams params(
browser_,
GURL("http://support.google.com/chrome_webstore/?p=crx_warning"),
content::PAGE_TRANSITION_LINK);
params.disposition = NEW_FOREGROUND_TAB;
- browser::Navigate(&params);
+ chrome::Navigate(&params);
return false;
}
@@ -234,9 +234,9 @@ ExtensionInstallUI* ExtensionInstallUI::Create(Browser* browser) {
void ExtensionInstallUI::OpenAppInstalledUI(Browser* browser,
const std::string& app_id) {
if (NewTabUI::ShouldShowApps()) {
- browser::NavigateParams params = chrome::GetSingletonTabNavigateParams(
- browser, GURL(chrome::kChromeUINewTabURL));
- browser::Navigate(&params);
+ chrome::NavigateParams params(chrome::GetSingletonTabNavigateParams(
+ browser, GURL(chrome::kChromeUINewTabURL)));
+ chrome::Navigate(&params);
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_APP_INSTALLED_TO_NTP,
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/history/android/visit_sql_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698