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

Unified Diff: ash/common/system/tray/system_tray.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: ash/common/system/tray/system_tray.cc
diff --git a/ash/common/system/tray/system_tray.cc b/ash/common/system/tray/system_tray.cc
index b30b65a83ba52b7fe0001085cd592fd10d6e31a3..7f371783a25952396fa85569262f5a96dc9e78bf 100644
--- a/ash/common/system/tray/system_tray.cc
+++ b/ash/common/system/tray/system_tray.cc
@@ -567,7 +567,9 @@ void SystemTray::ShowItems(const std::vector<SystemTrayItem*>& items,
bool persistent) {
// No system tray bubbles in kiosk mode.
if (WmShell::Get()->system_tray_delegate()->GetUserLoginStatus() ==
- LoginStatus::KIOSK_APP) {
+ LoginStatus::KIOSK_APP ||
+ WmShell::Get()->system_tray_delegate()->GetUserLoginStatus() ==
+ LoginStatus::ARC_KIOSK_APP) {
return;
}

Powered by Google App Engine
This is Rietveld 408576698