OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_MENU_BUBBLE_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_MENU_BUBBLE_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_MENU_BUBBLE_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_MENU_BUBBLE_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/mac/cocoa_protocols.h" | |
11 #include "base/memory/scoped_nsobject.h" | 10 #include "base/memory/scoped_nsobject.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" | 12 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
14 #import "chrome/browser/ui/cocoa/tracking_area.h" | 13 #import "chrome/browser/ui/cocoa/tracking_area.h" |
15 | 14 |
16 class AvatarMenuModel; | 15 class AvatarMenuModel; |
17 class Browser; | 16 class Browser; |
18 @class HoverImageButton; | 17 @class HoverImageButton; |
19 | 18 |
20 // This window controller manages the bubble that displays a "menu" of profiles. | 19 // This window controller manages the bubble that displays a "menu" of profiles. |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 anchoredAt:(NSPoint)point; | 126 anchoredAt:(NSPoint)point; |
128 - (void)performLayout; | 127 - (void)performLayout; |
129 - (NSMutableArray*)items; | 128 - (NSMutableArray*)items; |
130 @end | 129 @end |
131 | 130 |
132 @interface AvatarMenuItemController (ExposedForTesting) | 131 @interface AvatarMenuItemController (ExposedForTesting) |
133 - (void)willStartAnimation:(NSAnimation*)animation; | 132 - (void)willStartAnimation:(NSAnimation*)animation; |
134 @end | 133 @end |
135 | 134 |
136 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_MENU_BUBBLE_CONTROLLER_H_ | 135 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_MENU_BUBBLE_CONTROLLER_H_ |
OLD | NEW |