OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #import "chrome/browser/ui/cocoa/tab_view.h" | 5 #import "chrome/browser/ui/cocoa/tab_view.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #import "base/mac_util.h" | 8 #import "base/mac_util.h" |
9 #include "base/mac/scoped_cftyperef.h" | 9 #include "base/mac/scoped_cftyperef.h" |
10 #include "base/nsimage_cache_mac.h" | |
11 #include "chrome/browser/accessibility/browser_accessibility_state.h" | 10 #include "chrome/browser/accessibility/browser_accessibility_state.h" |
12 #include "chrome/browser/themes/browser_theme_provider.h" | 11 #include "chrome/browser/themes/browser_theme_provider.h" |
13 #import "chrome/browser/ui/cocoa/tab_controller.h" | 12 #import "chrome/browser/ui/cocoa/tab_controller.h" |
14 #import "chrome/browser/ui/cocoa/tab_window_controller.h" | 13 #import "chrome/browser/ui/cocoa/tab_window_controller.h" |
15 #import "chrome/browser/ui/cocoa/themed_window.h" | 14 #import "chrome/browser/ui/cocoa/themed_window.h" |
16 #import "chrome/browser/ui/cocoa/view_id_util.h" | 15 #import "chrome/browser/ui/cocoa/view_id_util.h" |
17 #include "grit/theme_resources.h" | 16 #include "grit/theme_resources.h" |
18 | 17 |
19 namespace { | 18 namespace { |
20 | 19 |
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1048 controlPoint1:NSMakePoint(topRight.x + bottomControlPointInset, | 1047 controlPoint1:NSMakePoint(topRight.x + bottomControlPointInset, |
1049 topRight.y) | 1048 topRight.y) |
1050 controlPoint2:NSMakePoint(bottomRight.x - baseControlPointOutset, | 1049 controlPoint2:NSMakePoint(bottomRight.x - baseControlPointOutset, |
1051 bottomRight.y)]; | 1050 bottomRight.y)]; |
1052 [path lineToPoint:NSMakePoint(bottomRight.x + 1, bottomRight.y)]; | 1051 [path lineToPoint:NSMakePoint(bottomRight.x + 1, bottomRight.y)]; |
1053 [path lineToPoint:NSMakePoint(bottomRight.x + 1, bottomRight.y - 2)]; | 1052 [path lineToPoint:NSMakePoint(bottomRight.x + 1, bottomRight.y - 2)]; |
1054 return path; | 1053 return path; |
1055 } | 1054 } |
1056 | 1055 |
1057 @end // @implementation TabView(Private) | 1056 @end // @implementation TabView(Private) |
OLD | NEW |