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

Unified Diff: chrome/browser/ui/views/tabs/base_tab_strip.h

Issue 6822006: Adds scroll buttons to side tabs so that you can get to all the tabs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 9 years, 8 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/ui/views/tabs/base_tab_strip.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/base_tab_strip.h
diff --git a/chrome/browser/ui/views/tabs/base_tab_strip.h b/chrome/browser/ui/views/tabs/base_tab_strip.h
index 210080ccc59e6d5f8c3f0cc66f9bef16f9990614..14254cbf4a371abcec5dba2bde233b869bf34749 100644
--- a/chrome/browser/ui/views/tabs/base_tab_strip.h
+++ b/chrome/browser/ui/views/tabs/base_tab_strip.h
@@ -33,10 +33,6 @@ class BaseTabStrip : public AbstractTabStripView,
Type type() const { return type_; }
- // Returns true if Tabs in this TabStrip are currently changing size or
- // position.
- virtual bool IsAnimating() const;
-
// Starts highlighting the tab at the specified index.
virtual void StartHighlight(int model_index) = 0;
@@ -87,7 +83,7 @@ class BaseTabStrip : public AbstractTabStripView,
// Returns the index of the specified tab in the model coordiate system, or
// -1 if tab is closing or not valid.
- virtual int GetModelIndexOfBaseTab(const BaseTab* tab) const;
+ int GetModelIndexOfBaseTab(const BaseTab* tab) const;
// Gets the number of Tabs in the tab strip.
// WARNING: this is the number of tabs displayed by the tabstrip, which if
@@ -246,6 +242,10 @@ class BaseTabStrip : public AbstractTabStripView,
// Invoked from Layout if the size changes or layout is really needed.
virtual void DoLayout();
+ // Returns true if Tabs in this TabStrip are currently changing size or
+ // position.
+ bool IsAnimating() const;
+
// Get tab at a point in local view coordinates.
BaseTab* GetTabAtLocal(const gfx::Point& local_point);
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/base_tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698