summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs
diff options
context:
space:
mode:
authorskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-11 19:23:37 +0000
committerskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-11 19:23:37 +0000
commite3acb7c982749406952040173ffd729491c25577 (patch)
treeccb8d186c79f7e95576ec9afce57e5e0a79c999c /chrome/browser/tabs
parente4afd59066bb43990b2f5142262f7a31fd5e17e4 (diff)
downloadchromium_src-e3acb7c982749406952040173ffd729491c25577.zip
chromium_src-e3acb7c982749406952040173ffd729491c25577.tar.gz
chromium_src-e3acb7c982749406952040173ffd729491c25577.tar.bz2
Move the refocus check so that the ntp code path hits it.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2042006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46950 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tabs')
-rw-r--r--chrome/browser/tabs/tab_strip_model.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tabs/tab_strip_model.h b/chrome/browser/tabs/tab_strip_model.h
index 2b8f183..71c0cbb 100644
--- a/chrome/browser/tabs/tab_strip_model.h
+++ b/chrome/browser/tabs/tab_strip_model.h
@@ -409,8 +409,8 @@ class TabStripModel : public NotificationObserver {
// Returns the TabContents at the specified index, or NULL if there is none.
TabContents* GetTabContentsAt(int index) const;
- // Returns the index of the specified TabContents, or -1 if the TabContents
- // is not in this TabStripModel.
+ // Returns the index of the specified TabContents, or TabContents::kNoTab if
+ // the TabContents is not in this TabStripModel.
int GetIndexOfTabContents(const TabContents* contents) const;
// Returns the index of the specified NavigationController, or -1 if it is