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

Unified Diff: chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc

Issue 2169533002: mash: Migrate shelf app list button to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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/launcher/extension_launcher_context_menu.cc
diff --git a/chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc b/chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc
index a68146726f4aa965ac211a1ff4c8aa8c7d0657cf..e7d4f16b76b3f9d9ddfd3603254e99eb2c5e2de1 100644
--- a/chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc
+++ b/chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc
@@ -5,7 +5,7 @@
#include "chrome/browser/ui/ash/launcher/extension_launcher_context_menu.h"
#include "ash/common/shelf/shelf_item_delegate.h"
-#include "ash/shell.h"
+#include "ash/common/wm_shell.h"
#include "base/bind.h"
#include "chrome/browser/extensions/context_menu_matcher.h"
#include "chrome/browser/extensions/extension_util.h"
@@ -82,7 +82,7 @@ void ExtensionLauncherContextMenu::Init() {
IDS_APP_LIST_NEW_INCOGNITO_WINDOW);
}
if (!BrowserShortcutLauncherItemController(
- controller(), ash::Shell::GetInstance()->shelf_model())
+ controller(), ash::WmShell::Get()->shelf_model())
.IsListOfActiveBrowserEmpty()) {
AddItem(MENU_CLOSE,
l10n_util::GetStringUTF16(IDS_LAUNCHER_CONTEXT_MENU_CLOSE));

Powered by Google App Engine
This is Rietveld 408576698