diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-21 05:09:04 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-21 05:09:04 +0000 |
commit | 69cda6547de3c2bc25e6476607e7550ba548cac9 (patch) | |
tree | e54f39838f04e0e61921cd7457711019be8b545f /chrome/browser/ui/sync | |
parent | c691a593ac199d774a43f239342cd85c80ca1a2a (diff) | |
download | chromium_src-69cda6547de3c2bc25e6476607e7550ba548cac9.zip chromium_src-69cda6547de3c2bc25e6476607e7550ba548cac9.tar.gz chromium_src-69cda6547de3c2bc25e6476607e7550ba548cac9.tar.bz2 |
Rename TabContents::controller() to GetController and put it into the WebContents namespace.
BUG=98716
TBR=dpranke
Review URL: http://codereview.chromium.org/8956050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115276 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/sync')
-rw-r--r-- | chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc | 13 |
1 files changed, 7 insertions, 6 deletions
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 65d66a5..4e9cee3 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,28 +46,29 @@ const std::string& TabContentsWrapperSyncedTabDelegate::GetExtensionAppId() } 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(); } |