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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_controller_ash.cc

Issue 2761373002: Move yet more from WmShell to Shell (Closed)
Patch Set: merge 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: chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
index aa17dcef271d44c93ab775d410ab85c8fdd5977f..bf7c8e3e3d75815f7a4c3e399b76df130dd72726 100644
--- a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
@@ -39,21 +39,21 @@ gfx::Rect AppListControllerDelegateAsh::GetAppListBounds() {
}
bool AppListControllerDelegateAsh::IsAppPinned(const std::string& app_id) {
- return ash::WmShell::Get()->shelf_delegate()->IsAppPinned(app_id);
+ return ash::Shell::Get()->shelf_delegate()->IsAppPinned(app_id);
}
bool AppListControllerDelegateAsh::IsAppOpen(const std::string& app_id) const {
ash::ShelfID id =
- ash::WmShell::Get()->shelf_delegate()->GetShelfIDForAppID(app_id);
+ ash::Shell::Get()->shelf_delegate()->GetShelfIDForAppID(app_id);
return id && ChromeLauncherController::instance()->IsOpen(id);
}
void AppListControllerDelegateAsh::PinApp(const std::string& app_id) {
- ash::WmShell::Get()->shelf_delegate()->PinAppWithID(app_id);
+ ash::Shell::Get()->shelf_delegate()->PinAppWithID(app_id);
}
void AppListControllerDelegateAsh::UnpinApp(const std::string& app_id) {
- ash::WmShell::Get()->shelf_delegate()->UnpinAppWithID(app_id);
+ ash::Shell::Get()->shelf_delegate()->UnpinAppWithID(app_id);
}
AppListControllerDelegate::Pinnable AppListControllerDelegateAsh::GetPinnable(
« no previous file with comments | « chrome/browser/extensions/bookmark_app_helper.cc ('k') | chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698