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

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

Issue 10910005: Makes the tabstrip center the active tab when transitioning from (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « chrome/browser/ui/views/tabs/tab_strip.cc ('k') | chrome/browser/ui/views/tabs/touch_tab_strip_layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/touch_tab_strip_layout.h
diff --git a/chrome/browser/ui/views/tabs/touch_tab_strip_layout.h b/chrome/browser/ui/views/tabs/touch_tab_strip_layout.h
index 232b27cca3d4004b235bbb34fa3427f7acd650bd..dd956d366fd7bc09ed3a42866f0b3f8f0f69114e 100644
--- a/chrome/browser/ui/views/tabs/touch_tab_strip_layout.h
+++ b/chrome/browser/ui/views/tabs/touch_tab_strip_layout.h
@@ -81,6 +81,9 @@ class TouchTabStripLayout {
// Returns true if the tab at index is stacked.
bool IsStacked(int index) const;
+ // Sets the location of the active tab as close to |x| as possible.
+ void SetActiveTabLocation(int x);
+
#if !defined(NDEBUG)
std::string BoundsString() const;
#endif
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_strip.cc ('k') | chrome/browser/ui/views/tabs/touch_tab_strip_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698