Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: chrome/browser/ui/cocoa/browser/avatar_button_controller.h

Issue 8356028: Add shortcut to show avatar menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build error Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_AVATAR_BUTTON_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_BUTTON_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_BUTTON_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_BUTTON_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #import <AppKit/AppKit.h> 9 #import <AppKit/AppKit.h>
10 10
(...skipping 24 matching lines...) Expand all
35 // The view cast to a button. 35 // The view cast to a button.
36 @property (readonly, nonatomic) NSButton* buttonView; 36 @property (readonly, nonatomic) NSButton* buttonView;
37 37
38 // Designated initializer. 38 // Designated initializer.
39 - (id)initWithBrowser:(Browser*)browser; 39 - (id)initWithBrowser:(Browser*)browser;
40 40
41 // Sets the image to be used as the avatar. This will have a drop shadow applied 41 // Sets the image to be used as the avatar. This will have a drop shadow applied
42 // and will be resized to the frame of the button. 42 // and will be resized to the frame of the button.
43 - (void)setImage:(NSImage*)image; 43 - (void)setImage:(NSImage*)image;
44 44
45 // Shows the avatar bubble.
46 - (void)showAvatarBubble;
47
45 @end 48 @end
46 49
47 @interface AvatarButtonController (ExposedForTesting) 50 @interface AvatarButtonController (ExposedForTesting)
48 - (AvatarMenuBubbleController*)menuController; 51 - (AvatarMenuBubbleController*)menuController;
49 @end 52 @end
50 53
51 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_BUTTON_CONTROLLER_H_ 54 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_BUTTON_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser/avatar_button_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698