Index: ui/app_list/cocoa/app_list_menu_cocoa.h |
diff --git a/ui/app_list/cocoa/app_list_menu_cocoa.h b/ui/app_list/cocoa/app_list_menu_cocoa.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0ffbd62ea1d596ca21c922d5da8abf41ffebe900 |
--- /dev/null |
+++ b/ui/app_list/cocoa/app_list_menu_cocoa.h |
@@ -0,0 +1,28 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_APP_LIST_COCOA_APP_LIST_MENU_COCOA_H_ |
+#define UI_APP_LIST_COCOA_APP_LIST_MENU_COCOA_H_ |
+ |
+#import <Cocoa/Cocoa.h> |
+ |
+#import "ui/base/cocoa/tracking_area.h" |
+ |
+namespace app_list { |
+class AppListViewDelegate; |
+} |
+ |
+// Encapsulates the views for the drop-down menu in the right of the app list |
+// search box. |
+@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
|
+ @private |
+ ui::ScopedCrTrackingArea trackingArea_; |
+} |
+ |
+// Creates the custom in-menu view representing the currently signed-in user. |
++ (NSView*)makeCurrentUserView:(app_list::AppListViewDelegate*)delegate; |
+ |
+@end |
+ |
+#endif // UI_APP_LIST_COCOA_APP_LIST_MENU_COCOA_H_ |