Index: chrome/browser/ui/cocoa/tabs/tab_controller.mm |
diff --git a/chrome/browser/ui/cocoa/tabs/tab_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_controller.mm |
index 50859545b01ea7742e54dcd73d9d0b3fbd5bbe1b..3e061910011c0bdd260756413107f56a842ce7c1 100644 |
--- a/chrome/browser/ui/cocoa/tabs/tab_controller.mm |
+++ b/chrome/browser/ui/cocoa/tabs/tab_controller.mm |
@@ -63,11 +63,12 @@ class MenuDelegate : public ui::SimpleMenuModel::Delegate { |
} // TabControllerInternal namespace |
-// The min widths match the windows values and are sums of left + right |
-// padding, of which we have no comparable constants (we draw using paths, not |
-// images). The selected tab width includes the close button width. |
-+ (CGFloat)minTabWidth { return 31; } |
-+ (CGFloat)minSelectedTabWidth { return 46; } |
+// The min widths is the smallest number at which the right edge of the right |
+// tab border image is not visibly clipped. It is a bit smaller than the sum |
+// of the two tab edge bitmaps because these bitmaps have a few transparent |
+// pixels on the side. The selected tab width includes the close button width. |
++ (CGFloat)minTabWidth { return 35; } |
++ (CGFloat)minSelectedTabWidth { return 52; } |
+ (CGFloat)maxTabWidth { return 214; } |
+ (CGFloat)miniTabWidth { return 58; } |
+ (CGFloat)appTabWidth { return 66; } |