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

Unified Diff: ash/shell/app_list.cc

Issue 2750483005: Moves app_list() and related functions from Shell to WmShell (Closed)
Patch Set: 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/shell/app_list.cc
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc
index cd7b010b8853735a5c0f3cd1e4f4f3c997364c30..91094212545e8b8211034b2ecc66ec9b3e54d349 100644
--- a/ash/shell/app_list.cc
+++ b/ash/shell/app_list.cc
@@ -9,6 +9,7 @@
#include "ash/common/session/session_state_delegate.h"
#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
#include "ash/shell/example_factory.h"
#include "ash/shell/toplevel_window.h"
#include "base/callback.h"
@@ -282,7 +283,7 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate {
void Dismiss() override {
DCHECK(WmShell::HasInstance());
- WmShell::Get()->DismissAppList();
+ Shell::Get()->DismissAppList();
}
void ViewClosing() override {

Powered by Google App Engine
This is Rietveld 408576698