Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / profiles / avatar_button.h
blob444110d5c23aba0d8034864e5b78bc701267e4ab
1 // Copyright 2015 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_BUTTON_H_
6 #define CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BUTTON_H_
8 #import <Cocoa/Cocoa.h>
10 #import "ui/base/cocoa/hover_image_button.h"
12 // A subclass of HoverImageButton that sends a target-action on right click.
13 @interface AvatarButton : HoverImageButton {
14 @private
15 SEL rightAction_;
18 // Sets the action that will be called when this button is right clicked.
19 - (void)setRightAction:(SEL)selector;
21 @end
23 #endif //CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BUTTON_H_