summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/compact_location_bar_host.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-16 22:13:22 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-16 22:13:22 +0000
commitec348507c86c875b051f561bdb5cde1162534d97 (patch)
tree8a6381fac4ad3f4610307b6c48ce99cdd81bb953 /chrome/browser/chromeos/compact_location_bar_host.h
parent2152600d98b5c802fec1caba84ae9d0cb16af235 (diff)
downloadchromium_src-ec348507c86c875b051f561bdb5cde1162534d97.zip
chromium_src-ec348507c86c875b051f561bdb5cde1162534d97.tar.gz
chromium_src-ec348507c86c875b051f561bdb5cde1162534d97.tar.bz2
More TabStrip refactoring.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2124003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/compact_location_bar_host.h')
-rw-r--r--chrome/browser/chromeos/compact_location_bar_host.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/browser/chromeos/compact_location_bar_host.h b/chrome/browser/chromeos/compact_location_bar_host.h
index b1f4d83..5e399a8 100644
--- a/chrome/browser/chromeos/compact_location_bar_host.h
+++ b/chrome/browser/chromeos/compact_location_bar_host.h
@@ -43,13 +43,13 @@ class CompactLocationBarHost : public DropdownBarHost,
virtual ~CompactLocationBarHost();
// Returns the bounds to locale the compact location bar under the tab.
- gfx::Rect GetBoundsUnderTab(int tab_index) const;
+ gfx::Rect GetBoundsUnderTab(int model_index) const;
// Updates the content and the position of the compact location bar.
- // |index| is the index of the tab the compact location bar
+ // |model_index| is the index of the tab the compact location bar
// will be attached to and |animate| specifies if the location bar
// should animate when shown.
- void Update(int index, bool animate, bool select_all);
+ void Update(int model_index, bool animate, bool select_all);
// (Re)Starts the popup timer that hides the popup after X seconds.
void StartAutoHideTimer();
@@ -99,8 +99,9 @@ class CompactLocationBarHost : public DropdownBarHost,
bool IsCurrentTabIndex(int index);
- // The index of the tab that the compact location bar is attached to.
- int current_tab_index_;
+ // The index of the tab, in terms of the model, that the compact location bar
+ // is attached to.
+ int current_tab_model_index_;
scoped_ptr<base::OneShotTimer<CompactLocationBarHost> > auto_hide_timer_;