| OLD | NEW |
| 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_PROFILE_MENU_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILE_MENU_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_PROFILE_MENU_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PROFILE_MENU_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/memory/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 | 12 |
| 13 class AvatarMenuModel; | 13 class AvatarMenuModel; |
| 14 class Browser; | 14 class Browser; |
| 15 | 15 |
| 16 namespace ProfileMenuControllerInternal { | 16 namespace ProfileMenuControllerInternal { |
| 17 class Observer; | 17 class Observer; |
| 18 } | 18 } |
| 19 | 19 |
| 20 // This controller manages the title and submenu of the Profiles item in the | 20 // This controller manages the title and submenu of the Profiles item in the |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 @end | 52 @end |
| 53 | 53 |
| 54 @interface ProfileMenuController (PrivateExposedForTesting) | 54 @interface ProfileMenuController (PrivateExposedForTesting) |
| 55 - (NSMenu*)menu; | 55 - (NSMenu*)menu; |
| 56 - (void)rebuildMenu; | 56 - (void)rebuildMenu; |
| 57 - (NSMenuItem*)createItemWithTitle:(NSString*)title action:(SEL)sel; | 57 - (NSMenuItem*)createItemWithTitle:(NSString*)title action:(SEL)sel; |
| 58 - (void)activeBrowserChangedTo:(Browser*)browser; | 58 - (void)activeBrowserChangedTo:(Browser*)browser; |
| 59 @end | 59 @end |
| 60 | 60 |
| 61 #endif // CHROME_BROWSER_UI_COCOA_PROFILE_MENU_CONTROLLER_H_ | 61 #endif // CHROME_BROWSER_UI_COCOA_PROFILE_MENU_CONTROLLER_H_ |
| OLD | NEW |