OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_COCOA_AVATAR_LABEL_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_LABEL_BUTTON_H_ |
6 #define CHROME_BROWSER_UI_COCOA_AVATAR_LABEL_BUTTON_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_LABEL_BUTTON_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #import "base/mac/scoped_nsobject.h" | 10 #import "base/mac/scoped_nsobject.h" |
11 | 11 |
12 @interface AvatarLabelButton : NSButton | 12 @interface AvatarLabelButton : NSButton |
13 @end | 13 @end |
14 | 14 |
15 // Draws the button cell for the avatar label. | 15 // Draws the button cell for the avatar label. |
16 @interface AvatarLabelButtonCell : NSButtonCell | 16 @interface AvatarLabelButtonCell : NSButtonCell |
17 | 17 |
18 // Returns the size of the label text (including boundaries). | 18 // Returns the size of the label text (including boundaries). |
19 - (NSSize)labelTextSize; | 19 - (NSSize)labelTextSize; |
20 | 20 |
21 @end | 21 @end |
22 | 22 |
23 #endif // CHROME_BROWSER_UI_COCOA_AVATAR_LABEL_BUTTON_H_ | 23 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_LABEL_BUTTON_H_ |
OLD | NEW |