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

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: Merge IsRunningInForcedAndroidAppMode() method with IsRunningInForcedAppMode() 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 a530f0b62738bdf32f983228740d522d92acd94c..e8285ff72d44c48dab54d32e9204f2c97909ee54 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() ==
oshima 2016/11/16 19:52:35 nit: please get the pointer to system tray delegat
Sergey Poromov 2016/11/17 12:33:13 Done.
- 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