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

Unified Diff: chrome/browser/repost_form_warning_controller.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/repost_form_warning_controller.cc
===================================================================
--- chrome/browser/repost_form_warning_controller.cc (revision 115228)
+++ chrome/browser/repost_form_warning_controller.cc (working copy)
@@ -20,7 +20,7 @@
RepostFormWarningController::RepostFormWarningController(
TabContents* tab_contents)
: TabModalConfirmDialogDelegate(tab_contents),
- navigation_controller_(&tab_contents->controller()) {
+ navigation_controller_(&tab_contents->GetController()) {
registrar_.Add(this, content::NOTIFICATION_REPOST_WARNING_SHOWN,
content::Source<NavigationController>(navigation_controller_));
}
« no previous file with comments | « chrome/browser/printing/print_preview_tab_controller.cc ('k') | chrome/browser/safe_browsing/browser_feature_extractor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698