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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.cc

Issue 10082029: Ash: Fix hit testing for the bottom pixels of tabs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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.h ('k') | chrome/browser/ui/views/toolbar_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_strip.cc
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc
index 0e04f7bf9389ecf8ddd44d11916d44b16fdcf4c8..497269ffebb6bf558023ef711cec80fd0bee82d9 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc
@@ -378,6 +378,9 @@ void TabStrip::RemoveTabDelegate::HighlightCloseButton() {
// TabStrip, public:
// static
+const char TabStrip::kViewClassName[] = "TabStrip";
+
+// static
const int TabStrip::kMiniToNonMiniGap = 3;
TabStrip::TabStrip(TabStripController* controller)
@@ -913,6 +916,10 @@ void TabStrip::PaintClosingTabs(gfx::Canvas* canvas, int index) {
}
}
+std::string TabStrip::GetClassName() const {
+ return kViewClassName;
+}
+
gfx::Size TabStrip::GetPreferredSize() {
// Report the minimum width as the size required for a single selected tab
// plus the new tab button. Don't base it on the actual number of tabs because
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_strip.h ('k') | chrome/browser/ui/views/toolbar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698