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

Unified Diff: ash/app_list/app_list_delegate_impl.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
Index: ash/app_list/app_list_delegate_impl.cc
diff --git a/ash/app_list/app_list_delegate_impl.cc b/ash/app_list/app_list_delegate_impl.cc
index 8f5c63b963670a0f31aecb8796317efd0d46d348..4013786bbeaeba1b9dbdbc039312c537e5c3f577 100644
--- a/ash/app_list/app_list_delegate_impl.cc
+++ b/ash/app_list/app_list_delegate_impl.cc
@@ -9,16 +9,17 @@
#include "ash/common/shelf/wm_shelf.h"
#include "ash/common/wm_shell.h"
#include "ash/root_window_controller.h"
+#include "ash/shell.h"
#include "ui/app_list/presenter/app_list.h"
namespace ash {
AppListDelegateImpl::AppListDelegateImpl() {
- WmShell::Get()->app_list()->set_delegate(this);
+ Shell::Get()->app_list()->set_delegate(this);
}
AppListDelegateImpl::~AppListDelegateImpl() {
- WmShell::Get()->app_list()->set_delegate(nullptr);
+ Shell::Get()->app_list()->set_delegate(nullptr);
}
void AppListDelegateImpl::OnAppListVisibilityChanged(bool visible,
« no previous file with comments | « ash/accelerators/accelerator_interactive_uitest_chromeos.cc ('k') | ash/common/accelerators/accelerator_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698