| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_PROFILES_AVATAR_BASE_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BASE_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BASE_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BASE_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <AppKit/AppKit.h> | 8 #import <AppKit/AppKit.h> |
| 9 | 9 |
| 10 #import "base/mac/scoped_nsobject.h" | 10 #import "base/mac/scoped_nsobject.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 // The avatar button view. | 38 // The avatar button view. |
| 39 @property(readonly, nonatomic) NSButton* buttonView; | 39 @property(readonly, nonatomic) NSButton* buttonView; |
| 40 | 40 |
| 41 // Designated initializer. | 41 // Designated initializer. |
| 42 - (id)initWithBrowser:(Browser*)browser; | 42 - (id)initWithBrowser:(Browser*)browser; |
| 43 | 43 |
| 44 // Shows the avatar bubble in the given mode. | 44 // Shows the avatar bubble in the given mode. |
| 45 - (void)showAvatarBubbleAnchoredAt:(NSView*)anchor | 45 - (void)showAvatarBubbleAnchoredAt:(NSView*)anchor |
| 46 withMode:(BrowserWindow::AvatarBubbleMode)mode | 46 withMode:(BrowserWindow::AvatarBubbleMode)mode |
| 47 withServiceType:(signin::GAIAServiceType)serviceType; | 47 withServiceType:(signin::GAIAServiceType)serviceType |
| 48 fromAccessPoint:(signin_metrics::AccessPoint)accessPoint; |
| 48 | 49 |
| 49 @end | 50 @end |
| 50 | 51 |
| 51 @interface AvatarBaseController (ExposedForTesting) | 52 @interface AvatarBaseController (ExposedForTesting) |
| 52 - (BaseBubbleController*)menuController; | 53 - (BaseBubbleController*)menuController; |
| 53 | 54 |
| 54 - (BOOL)isCtrlPressed; | 55 - (BOOL)isCtrlPressed; |
| 55 @end | 56 @end |
| 56 | 57 |
| 57 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BASE_CONTROLLER_H_ | 58 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BASE_CONTROLLER_H_ |
| OLD | NEW |