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

Unified Diff: chrome/browser/extensions/extension_install_ui.cc

Issue 9003014: Replace WebUI::tab_contents() with web_contents() and switch all users to use web_contents.h inst... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/chromeos/login/screen_locker_tester.cc ('k') | chrome/browser/extensions/extension_web_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_install_ui.cc
===================================================================
--- chrome/browser/extensions/extension_install_ui.cc (revision 116011)
+++ chrome/browser/extensions/extension_install_ui.cc (working copy)
@@ -41,6 +41,8 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
+using content::WebContents;
+
static const int kTitleIds[ExtensionInstallUI::NUM_PROMPT_TYPES] = {
0,
IDS_EXTENSION_INLINE_INSTALL_PROMPT_TITLE,
@@ -360,7 +362,7 @@
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_APP_INSTALLED_TO_NTP,
- content::Source<TabContents>(params.target_contents->tab_contents()),
+ content::Source<WebContents>(params.target_contents->web_contents()),
content::Details<const std::string>(&app_id));
}
« no previous file with comments | « chrome/browser/chromeos/login/screen_locker_tester.cc ('k') | chrome/browser/extensions/extension_web_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698