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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.cc

Issue 10699057: Move application creation and extension install prompt showing off Browser and onto ExtensionTabHel… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
Index: chrome/browser/ui/webui/ntp/app_launcher_handler.cc
===================================================================
--- chrome/browser/ui/webui/ntp/app_launcher_handler.cc (revision 145357)
+++ chrome/browser/ui/webui/ntp/app_launcher_handler.cc (working copy)
@@ -989,7 +989,8 @@
if (!extension_install_ui_.get()) {
Browser* browser = browser::FindBrowserWithWebContents(
web_ui()->GetWebContents());
- extension_install_ui_.reset(new ExtensionInstallPrompt(browser));
+ extension_install_ui_.reset(
+ chrome::CreateExtensionInstallPromptWithBrowser(browser));
}
return extension_install_ui_.get();
}
« no previous file with comments | « chrome/browser/ui/webui/extensions/install_extension_handler.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698