Index: ui/app_list/cocoa/apps_search_box_controller.h |
diff --git a/ui/app_list/cocoa/apps_search_box_controller.h b/ui/app_list/cocoa/apps_search_box_controller.h |
index 8f048e8a56300a09c5b87cb5e6a6f40aecd92301..f373235b576d61cc37056ef6c6c1413b08d5f177 100644 |
--- a/ui/app_list/cocoa/apps_search_box_controller.h |
+++ b/ui/app_list/cocoa/apps_search_box_controller.h |
@@ -12,14 +12,19 @@ |
#include "ui/app_list/app_list_export.h" |
namespace app_list { |
+class AppListMenu; |
+class AppListViewDelegate; |
class SearchBoxModel; |
class SearchBoxModelObserverBridge; |
} |
+@class AppListMenuController; |
+@class HoverImageMenuButton; |
@class SearchTextField; |
@protocol AppsSearchBoxDelegate<NSTextFieldDelegate> |
+- (app_list::AppListViewDelegate*)appListDelegate; |
- (app_list::SearchBoxModel*)searchBoxModel; |
- (void)modelTextDidChange; |
@@ -31,7 +36,10 @@ APP_LIST_EXPORT |
@private |
scoped_nsobject<SearchTextField> searchTextField_; |
scoped_nsobject<NSImageView> searchImageView_; |
+ scoped_nsobject<HoverImageMenuButton> menuButton_; |
+ scoped_nsobject<AppListMenuController> menuController_; |
scoped_ptr<app_list::SearchBoxModelObserverBridge> bridge_; |
+ scoped_ptr<app_list::AppListMenu> appListMenu_; |
id<AppsSearchBoxDelegate> delegate_; // Weak. Owns us. |
} |
@@ -46,6 +54,8 @@ APP_LIST_EXPORT |
@interface AppsSearchBoxController (TestingAPI) |
- (NSTextField*)searchTextField; |
+- (NSPopUpButton*)menuControl; |
+- (app_list::AppListMenu*)appListMenu; |
@end |