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

Unified Diff: ash/common/shelf/app_list_shelf_item_delegate.cc

Issue 2750483005: Moves app_list() and related functions from Shell to WmShell (Closed)
Patch Set: dont explicitly delete Created 3 years, 9 months 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
« no previous file with comments | « ash/common/shelf/app_list_button.cc ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/app_list_shelf_item_delegate.cc
diff --git a/ash/common/shelf/app_list_shelf_item_delegate.cc b/ash/common/shelf/app_list_shelf_item_delegate.cc
index bc9b724f56e3494511f10c28b5184561c5a3bf9b..42bf94d7f0f489b616705dc62d64e1ba31c42e1f 100644
--- a/ash/common/shelf/app_list_shelf_item_delegate.cc
+++ b/ash/common/shelf/app_list_shelf_item_delegate.cc
@@ -5,7 +5,7 @@
#include "ash/common/shelf/app_list_shelf_item_delegate.h"
#include "ash/common/shelf/shelf_model.h"
-#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
#include "ash/strings/grit/ash_strings.h"
#include "base/memory/ptr_util.h"
#include "ui/app_list/app_list_switches.h"
@@ -37,7 +37,7 @@ void AppListShelfItemDelegate::ItemSelected(
int64_t display_id,
ShelfLaunchSource source,
const ItemSelectedCallback& callback) {
- WmShell::Get()->ToggleAppList();
+ Shell::Get()->ToggleAppList();
callback.Run(SHELF_ACTION_APP_LIST_SHOWN, base::nullopt);
}
« no previous file with comments | « ash/common/shelf/app_list_button.cc ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698