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

Unified Diff: chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc

Issue 8892011: Clean up TCW, make it solely a hub for 1:1 observer/helper objects. (Closed) Base URL: svn://svn.chromium.org/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/browser/ui/prefs/prefs_tab_helper.cc ('k') | chrome/browser/ui/tab_contents/core_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc
diff --git a/chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc b/chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc
index d4aa99318939ba6c8bb29e76fdebdced4eaea5de..65d66a5b656370525ab7039031ac66c8ee9c2b7e 100644
--- a/chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc
+++ b/chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc
@@ -46,26 +46,28 @@ const std::string& TabContentsWrapperSyncedTabDelegate::GetExtensionAppId()
}
int TabContentsWrapperSyncedTabDelegate::GetCurrentEntryIndex() const {
- return tab_contents_wrapper_->controller().GetCurrentEntryIndex();
+ return tab_contents_wrapper_->tab_contents()->controller().
+ GetCurrentEntryIndex();
}
int TabContentsWrapperSyncedTabDelegate::GetEntryCount() const {
- return tab_contents_wrapper_->controller().entry_count();
+ return tab_contents_wrapper_->tab_contents()->controller().entry_count();
}
int TabContentsWrapperSyncedTabDelegate::GetPendingEntryIndex() const {
- return tab_contents_wrapper_->controller().pending_entry_index();
+ return tab_contents_wrapper_->tab_contents()->controller().
+ pending_entry_index();
}
NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetPendingEntry() const {
- return tab_contents_wrapper_->controller().pending_entry();
+ return tab_contents_wrapper_->tab_contents()->controller().pending_entry();
}
NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetEntryAtIndex(int i)
const {
- return tab_contents_wrapper_->controller().GetEntryAtIndex(i);
+ return tab_contents_wrapper_->tab_contents()->controller().GetEntryAtIndex(i);
}
NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetActiveEntry() const {
- return tab_contents_wrapper_->controller().GetActiveEntry();
+ return tab_contents_wrapper_->tab_contents()->controller().GetActiveEntry();
}
« no previous file with comments | « chrome/browser/ui/prefs/prefs_tab_helper.cc ('k') | chrome/browser/ui/tab_contents/core_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698