Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_APP_LIST_COCOA_APP_LIST_MENU_COCOA_H_ | |
| 6 #define UI_APP_LIST_COCOA_APP_LIST_MENU_COCOA_H_ | |
| 7 | |
| 8 #import <Cocoa/Cocoa.h> | |
| 9 | |
| 10 #import "ui/base/cocoa/tracking_area.h" | |
| 11 | |
| 12 namespace app_list { | |
| 13 class AppListViewDelegate; | |
| 14 } | |
| 15 | |
| 16 // Encapsulates the views for the drop-down menu in the right of the app list | |
| 17 // search box. | |
| 18 @interface AppListMenuCocoa : NSPopUpButton { | |
|
sail
2013/05/31 01:20:16
How about AppListMenuButton instead?
tapted
2013/05/31 06:05:13
Yep - I think that makes more sense. I chose this
| |
| 19 @private | |
| 20 ui::ScopedCrTrackingArea trackingArea_; | |
| 21 } | |
| 22 | |
| 23 // Creates the custom in-menu view representing the currently signed-in user. | |
| 24 + (NSView*)makeCurrentUserView:(app_list::AppListViewDelegate*)delegate; | |
| 25 | |
| 26 @end | |
| 27 | |
| 28 #endif // UI_APP_LIST_COCOA_APP_LIST_MENU_COCOA_H_ | |
| OLD | NEW |