| 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 @property(readonly, nonatomic) NSButton* buttonView; | 37 @property(readonly, nonatomic) NSButton* buttonView; |
| 38 | 38 |
| 39 // Designated initializer. | 39 // Designated initializer. |
| 40 - (id)initWithBrowser:(Browser*)browser; | 40 - (id)initWithBrowser:(Browser*)browser; |
| 41 | 41 |
| 42 // Shows the avatar bubble in the given mode. | 42 // Shows the avatar bubble in the given mode. |
| 43 - (void)showAvatarBubbleAnchoredAt:(NSView*)anchor | 43 - (void)showAvatarBubbleAnchoredAt:(NSView*)anchor |
| 44 withMode:(BrowserWindow::AvatarBubbleMode)mode | 44 withMode:(BrowserWindow::AvatarBubbleMode)mode |
| 45 withServiceType:(signin::GAIAServiceType)serviceType; | 45 withServiceType:(signin::GAIAServiceType)serviceType; |
| 46 | 46 |
| 47 - (void)closeAvatarBubble; | |
| 48 @end | 47 @end |
| 49 | 48 |
| 50 @interface AvatarBaseController (ExposedForTesting) | 49 @interface AvatarBaseController (ExposedForTesting) |
| 51 - (BaseBubbleController*)menuController; | 50 - (BaseBubbleController*)menuController; |
| 52 @end | 51 @end |
| 53 | 52 |
| 54 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BASE_CONTROLLER_H_ | 53 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BASE_CONTROLLER_H_ |
| OLD | NEW |