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

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

Issue 10267023: Gets tab dragging to work in touch mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 8 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 | « 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 4516bb253463a1f98c94f33fe70baba5c56d465b..9500d0f92246ff7771c35c7e5e725b7522744477 100644
--- a/chrome/browser/ui/views/tabs/touch_tab_strip_layout.h
+++ b/chrome/browser/ui/views/tabs/touch_tab_strip_layout.h
@@ -77,6 +77,11 @@ class TouchTabStripLayout {
return active_index_ < mini_tab_count_ ? mini_tab_count_ : active_index_;
}
+ int mini_tab_count() const { return mini_tab_count_; }
+
+ // Returns true if the tab at index is stacked.
+ bool IsStacked(int index) const;
+
private:
friend class TouchTabStripLayoutTest;
« 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