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

Unified Diff: chrome/test/base/browser_with_test_window_test.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
« no previous file with comments | « chrome/test/base/browser_with_test_window_test.h ('k') | chrome/test/base/test_html_dialog_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/browser_with_test_window_test.cc
===================================================================
--- chrome/test/base/browser_with_test_window_test.cc (revision 115228)
+++ chrome/test/base/browser_with_test_window_test.cc (working copy)
@@ -66,7 +66,7 @@
params.tabstrip_index = 0;
params.disposition = NEW_FOREGROUND_TAB;
browser::Navigate(&params);
- CommitPendingLoad(&params.target_contents->tab_contents()->controller());
+ CommitPendingLoad(&params.target_contents->tab_contents()->GetController());
}
void BrowserWithTestWindowTest::CommitPendingLoad(
@@ -121,7 +121,7 @@
}
void BrowserWithTestWindowTest::NavigateAndCommitActiveTab(const GURL& url) {
- NavigateAndCommit(&browser()->GetSelectedTabContents()->controller(), url);
+ NavigateAndCommit(&browser()->GetSelectedTabContents()->GetController(), url);
}
void BrowserWithTestWindowTest::DestroyBrowser() {
« no previous file with comments | « chrome/test/base/browser_with_test_window_test.h ('k') | chrome/test/base/test_html_dialog_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698