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

Unified Diff: chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.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/sync/tab_contents_wrapper_synced_tab_delegate.cc
===================================================================
--- chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc (revision 115228)
+++ chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc (working copy)
@@ -46,28 +46,29 @@
}
int TabContentsWrapperSyncedTabDelegate::GetCurrentEntryIndex() const {
- return tab_contents_wrapper_->tab_contents()->controller().
+ return tab_contents_wrapper_->tab_contents()->GetController().
GetCurrentEntryIndex();
}
int TabContentsWrapperSyncedTabDelegate::GetEntryCount() const {
- return tab_contents_wrapper_->tab_contents()->controller().entry_count();
+ return tab_contents_wrapper_->tab_contents()->GetController().entry_count();
}
int TabContentsWrapperSyncedTabDelegate::GetPendingEntryIndex() const {
- return tab_contents_wrapper_->tab_contents()->controller().
+ return tab_contents_wrapper_->tab_contents()->GetController().
pending_entry_index();
}
NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetPendingEntry() const {
- return tab_contents_wrapper_->tab_contents()->controller().pending_entry();
+ return tab_contents_wrapper_->tab_contents()->GetController().pending_entry();
}
NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetEntryAtIndex(int i)
const {
- return tab_contents_wrapper_->tab_contents()->controller().GetEntryAtIndex(i);
+ return
+ tab_contents_wrapper_->tab_contents()->GetController().GetEntryAtIndex(i);
}
NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetActiveEntry() const {
- return tab_contents_wrapper_->tab_contents()->controller().GetActiveEntry();
+ return tab_contents_wrapper_->tab_contents()->GetController().GetActiveEntry();
}
« no previous file with comments | « chrome/browser/ui/search_engines/search_engine_tab_helper.cc ('k') | chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698