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

Unified Diff: chrome/browser/ui/views/tab_contents/tab_contents_container.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/views/tab_contents/tab_contents_container.cc
===================================================================
--- chrome/browser/ui/views/tab_contents/tab_contents_container.cc (revision 115228)
+++ chrome/browser/ui/views/tab_contents/tab_contents_container.cc (working copy)
@@ -133,10 +133,10 @@
}
switch (button) {
case 8:
- tab_contents_->controller().GoBack();
+ tab_contents_->GetController().GoBack();
return true;
case 9:
- tab_contents_->controller().GoForward();
+ tab_contents_->GetController().GoForward();
return true;
}
@@ -163,7 +163,7 @@
registrar_.Add(
this,
content::NOTIFICATION_RENDER_VIEW_HOST_CHANGED,
- content::Source<NavigationController>(&tab_contents_->controller()));
+ content::Source<NavigationController>(&tab_contents_->GetController()));
registrar_.Add(
this,
« no previous file with comments | « chrome/browser/ui/views/sad_tab_view.cc ('k') | chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698