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_strip_view.h" | 5 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/mac/mac_util.h" | 8 #include "base/mac/mac_util.h" |
9 #include "chrome/browser/themes/browser_theme_provider.h" | 9 #include "chrome/browser/themes/browser_theme_provider.h" |
10 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | 10 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
11 #import "chrome/browser/ui/cocoa/tab_strip_controller.h" | 11 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" |
12 #import "chrome/browser/ui/cocoa/view_id_util.h" | 12 #import "chrome/browser/ui/cocoa/view_id_util.h" |
13 | 13 |
14 @implementation TabStripView | 14 @implementation TabStripView |
15 | 15 |
16 @synthesize newTabButton = newTabButton_; | 16 @synthesize newTabButton = newTabButton_; |
17 @synthesize dropArrowShown = dropArrowShown_; | 17 @synthesize dropArrowShown = dropArrowShown_; |
18 @synthesize dropArrowPosition = dropArrowPosition_; | 18 @synthesize dropArrowPosition = dropArrowPosition_; |
19 | 19 |
20 - (id)initWithFrame:(NSRect)frame { | 20 - (id)initWithFrame:(NSRect)frame { |
21 self = [super initWithFrame:frame]; | 21 self = [super initWithFrame:frame]; |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 return NSAccessibilityGroupRole; | 202 return NSAccessibilityGroupRole; |
203 | 203 |
204 return [super accessibilityAttributeValue:attribute]; | 204 return [super accessibilityAttributeValue:attribute]; |
205 } | 205 } |
206 | 206 |
207 - (ViewID)viewID { | 207 - (ViewID)viewID { |
208 return VIEW_ID_TAB_STRIP; | 208 return VIEW_ID_TAB_STRIP; |
209 } | 209 } |
210 | 210 |
211 @end | 211 @end |
OLD | NEW |