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

Unified Diff: chrome/browser/ui/auto_login_prompter.cc

Issue 8956050: Rename TabContents::controller() to GetController and put it into the WebContents interface. (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
Index: chrome/browser/ui/auto_login_prompter.cc
===================================================================
--- chrome/browser/ui/auto_login_prompter.cc (revision 115228)
+++ chrome/browser/ui/auto_login_prompter.cc (working copy)
@@ -227,7 +227,7 @@
args_(args) {
registrar_.Add(this, content::NOTIFICATION_LOAD_STOP,
content::Source<NavigationController>(
- &tab_contents_->controller()));
+ &tab_contents_->GetController()));
registrar_.Add(this, content::NOTIFICATION_TAB_CONTENTS_DESTROYED,
content::Source<TabContents>(tab_contents_));
}
@@ -333,7 +333,7 @@
InfoBarTabHelper* infobar_helper = wrapper->infobar_tab_helper();
Profile* profile = wrapper->profile();
infobar_helper->AddInfoBar(new AutoLoginInfoBarDelegate(
- infobar_helper, &tab_contents_->controller(),
+ infobar_helper, &tab_contents_->GetController(),
profile->GetTokenService(), profile->GetPrefs(),
username_, args_));
}
« no previous file with comments | « chrome/browser/translate/translate_tab_helper.cc ('k') | chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698