| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_LABEL_BUTTON_H_ | |
| 6 #define CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_LABEL_BUTTON_H_ | |
| 7 | |
| 8 #import <Cocoa/Cocoa.h> | |
| 9 | |
| 10 #import "base/mac/scoped_nsobject.h" | |
| 11 | |
| 12 @interface AvatarLabelButton : NSButton | |
| 13 @end | |
| 14 | |
| 15 // Draws the button cell for the avatar label. | |
| 16 @interface AvatarLabelButtonCell : NSButtonCell | |
| 17 | |
| 18 // Returns the size of the label text (including boundaries). | |
| 19 - (NSSize)labelTextSize; | |
| 20 | |
| 21 @end | |
| 22 | |
| 23 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_LABEL_BUTTON_H_ | |
| OLD | NEW |