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

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

Issue 2498613003: Add ARC++ kiosk menu items and ability to start kiosk session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 1 month 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 96f7ad8c785dcd671193f528481026100f707216..9fd2bb755073c46dc979373d9170726e86acd824 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -441,7 +441,7 @@ ui::MenuModel* ChromeShellDelegate::CreateContextMenu(
const ash::ShelfItem* item) {
DCHECK(shelf_delegate_);
// Don't show context menu for exclusive app runtime mode.
- if (chrome::IsRunningInAppMode())
+ if (chrome::IsRunningInAppMode() || chrome::IsRunningInAndroidAppMode())
return nullptr;
return LauncherContextMenu::Create(shelf_delegate_, item, wm_shelf);

Powered by Google App Engine
This is Rietveld 408576698