Index: chrome/browser/ui/cocoa/tabs/tab_view.mm |
diff --git a/chrome/browser/ui/cocoa/tabs/tab_view.mm b/chrome/browser/ui/cocoa/tabs/tab_view.mm |
index 5677d640d7b2c9bb173f81ed66136645f5986a57..b77e9b4599f847938c01ce3b843fccf4d52330fd 100644 |
--- a/chrome/browser/ui/cocoa/tabs/tab_view.mm |
+++ b/chrome/browser/ui/cocoa/tabs/tab_view.mm |
@@ -5,6 +5,7 @@ |
#import "chrome/browser/ui/cocoa/tabs/tab_view.h" |
#include "base/logging.h" |
+#include "base/mac/sdk_forward_declarations.h" |
#include "chrome/browser/themes/theme_service.h" |
#import "chrome/browser/ui/cocoa/nsview_additions.h" |
#import "chrome/browser/ui/cocoa/tabs/tab_controller.h" |
@@ -17,17 +18,10 @@ |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h" |
-#if !defined(MAC_OS_X_VERSION_10_7) || \ |
- MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 |
-@interface NSWindow (LionAPI) |
-- (CGFloat)backingScaleFactor; |
-@end |
-#endif |
const int kMaskHeight = 29; // Height of the mask bitmap. |
const int kFillHeight = 25; // Height of the "mask on" part of the mask bitmap. |
- |
// Constants for inset and control points for tab shape. |
const CGFloat kInsetMultiplier = 2.0/3.0; |
const CGFloat kControlPoint1Multiplier = 1.0/3.0; |