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

Unified Diff: chrome/browser/automation/automation_provider_observers.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/automation/automation_provider_observers.cc
===================================================================
--- chrome/browser/automation/automation_provider_observers.cc (revision 115228)
+++ chrome/browser/automation/automation_provider_observers.cc (working copy)
@@ -392,7 +392,7 @@
if (type == notification_) {
if (type == content::NOTIFICATION_TAB_PARENTED) {
ObserveTab(&(content::Source<TabContentsWrapper>(source).ptr()->
- tab_contents()->controller()));
+ tab_contents()->GetController()));
} else {
ObserveTab(content::Source<NavigationController>(source).ptr());
}
@@ -1079,7 +1079,7 @@
case IDC_FORWARD:
case IDC_RELOAD: {
new NavigationNotificationObserver(
- &browser->GetSelectedTabContents()->controller(),
+ &browser->GetSelectedTabContents()->GetController(),
automation, reply_message, 1, false, false);
break;
}
@@ -2751,7 +2751,7 @@
DCHECK_EQ(content::NOTIFICATION_TAB_PARENTED, type);
NavigationController* controller =
&(content::Source<TabContentsWrapper>(source).ptr()->
- tab_contents()->controller());
+ tab_contents()->GetController());
if (automation_) {
// TODO(phajdan.jr): Clean up this hack. We write the correct return type
// here, but don't send the message. NavigationNotificationObserver
« no previous file with comments | « chrome/browser/autofill/autofill_feedback_infobar_delegate.cc ('k') | chrome/browser/automation/automation_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698