summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs/tab_strip_model.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-06 08:50:23 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-06 08:50:23 +0000
commit5bf053ef488c81f6ec822de35cab79188c74f9dd (patch)
tree0cef89cb7594a5805fd67633fe60b6bf3d675417 /chrome/browser/tabs/tab_strip_model.h
parentdb6f5f898d9513d94efb1b066e972715e8d38e83 (diff)
downloadchromium_src-5bf053ef488c81f6ec822de35cab79188c74f9dd.zip
chromium_src-5bf053ef488c81f6ec822de35cab79188c74f9dd.tar.gz
chromium_src-5bf053ef488c81f6ec822de35cab79188c74f9dd.tar.bz2
Change Browser::GetIndexOfController to GetIndexOfTabContents. Now that we
don't have tab contents switching, identifying tabs by their controller is weird, so we should gradually move to only using TabContents*. Review URL: http://codereview.chromium.org/115018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15399 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tabs/tab_strip_model.h')
-rw-r--r--chrome/browser/tabs/tab_strip_model.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/tabs/tab_strip_model.h b/chrome/browser/tabs/tab_strip_model.h
index 7f496c8..266860c 100644
--- a/chrome/browser/tabs/tab_strip_model.h
+++ b/chrome/browser/tabs/tab_strip_model.h
@@ -306,10 +306,6 @@ class TabStripModel : public NotificationObserver {
// is not in this TabStripModel.
int GetIndexOfTabContents(const TabContents* contents) const;
- // Returns the index of the specified NavigationController, or -1 if it is
- // not in this TabStripModel.
- int GetIndexOfController(const NavigationController* controller) const;
-
// Notify any observers that the TabContents at the specified index has
// changed in some way. Loading only specifies whether only the loading state
// has changed.