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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate.cc

Issue 1838263002: Arc app integration in shelf launcher context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
index c7490a4da4676f1fa3c756bdfb2038f756af9eb3..8ac946715a097d2729d7ff58c33512427a74041d 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -143,7 +143,8 @@ ui::MenuModel* ChromeShellDelegate::CreateContextMenu(
if (chrome::IsRunningInAppMode())
return nullptr;
- return new LauncherContextMenu(shelf_delegate_, item, shelf);
+ return LauncherContextMenu::CreateLauncherContextMenu(shelf_delegate_, item,
+ shelf);
}
ash::GPUSupport* ChromeShellDelegate::CreateGPUSupport() {

Powered by Google App Engine
This is Rietveld 408576698