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

Unified Diff: chrome/browser/chromeos/compact_location_bar_host.h

Issue 2124003: More TabStrip refactoring. (Closed)
Patch Set: Merge with trunk Created 10 years, 7 months 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 | « no previous file | chrome/browser/chromeos/compact_location_bar_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/compact_location_bar_host.h
diff --git a/chrome/browser/chromeos/compact_location_bar_host.h b/chrome/browser/chromeos/compact_location_bar_host.h
index b1f4d838c3fd24678b3a4b81eac9ec64f0bd5cb4..5e399a806361c2f8d90123a37bdf6aa30bcfbd0f 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_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/compact_location_bar_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698