Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Unified Diff: ui/app_list/cocoa/apps_search_box_controller.mm

Issue 63283003: Move AppListModel::Users to AppListViewDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac fixes Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/app_list/cocoa/apps_search_box_controller.mm
diff --git a/ui/app_list/cocoa/apps_search_box_controller.mm b/ui/app_list/cocoa/apps_search_box_controller.mm
index 3d545bcaeecf2c6dd334ca68405b9a3921621755..bbdeac1cce55e0d194d30b8776b46cab23c5cc54 100644
--- a/ui/app_list/cocoa/apps_search_box_controller.mm
+++ b/ui/app_list/cocoa/apps_search_box_controller.mm
@@ -160,9 +160,7 @@ void SearchBoxModelObserverBridge::TextChanged() {
return;
menuController_.reset();
- appListMenu_.reset(
- new app_list::AppListMenu([delegate_ appListDelegate],
- [delegate_ appListModel]->users()));
+ appListMenu_.reset(new app_list::AppListMenu([delegate_ appListDelegate]));
menuController_.reset([[AppListMenuController alloc]
initWithSearchBoxController:self]);
[menuButton_ setMenu:[menuController_ menu]]; // Menu will populate here.

Powered by Google App Engine
This is Rietveld 408576698