Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / profiles / avatar_label_button.h
blob23cc33aa1c07292097fc58c671adc2cb57040011
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.
5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_LABEL_BUTTON_H_
6 #define CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_LABEL_BUTTON_H_
8 #import <Cocoa/Cocoa.h>
10 #import "base/mac/scoped_nsobject.h"
12 @interface AvatarLabelButton : NSButton
13 @end
15 // Draws the button cell for the avatar label.
16 @interface AvatarLabelButtonCell : NSButtonCell
18 // Returns the size of the label text (including boundaries).
19 - (NSSize)labelTextSize;
21 @end
23 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_LABEL_BUTTON_H_