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

Unified Diff: chrome/browser/extensions/extension_browsertests_misc.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/extensions/extension_browsertests_misc.cc
===================================================================
--- chrome/browser/extensions/extension_browsertests_misc.cc (revision 115228)
+++ chrome/browser/extensions/extension_browsertests_misc.cc (working copy)
@@ -702,7 +702,7 @@
GURL expected_url = start_url.Resolve(newtab_url);
observer.Wait();
EXPECT_EQ(expected_url,
- newtab->controller().GetLastCommittedEntry()->url());
+ newtab->GetController().GetLastCommittedEntry()->url());
if (newtab_result)
*newtab_result = newtab;
}
@@ -806,7 +806,7 @@
content::NOTIFICATION_LOAD_STOP,
content::Source<NavigationController>(
&browser()->GetSelectedTabContentsWrapper()->tab_contents()->
- controller()));
+ GetController()));
browser()->Reload(CURRENT_TAB);
observer.Wait();
}
@@ -833,7 +833,7 @@
content::NOTIFICATION_LOAD_STOP,
content::Source<NavigationController>(
&browser()->GetSelectedTabContentsWrapper()->tab_contents()->
- controller()));
+ GetController()));
browser()->Reload(CURRENT_TAB);
observer.Wait();
}

Powered by Google App Engine
This is Rietveld 408576698