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

Unified Diff: ash/system/tray/tray_popup_utils.h

Issue 2821363002: cros: Disable system tray help/lock buttons during supervised user creation (Closed)
Patch Set: fix browser test Created 3 years, 8 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
« no previous file with comments | « ash/system/tray/tray_details_view.cc ('k') | ash/system/tray/tray_popup_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_popup_utils.h
diff --git a/ash/system/tray/tray_popup_utils.h b/ash/system/tray/tray_popup_utils.h
index 83dd125b58210f0c7f4aeccedeb232674671f7a1..a8390617346abd5b25921cf8d6c5338143c7e852 100644
--- a/ash/system/tray/tray_popup_utils.h
+++ b/ash/system/tray/tray_popup_utils.h
@@ -200,9 +200,9 @@ class TrayPopupUtils {
static views::Separator* CreateListSubHeaderSeparator();
// Returns true if it is possible to open WebUI settings in a browser window,
- // i.e., the user is logged in, not on the lock screen, and not in a secondary
- // account flow.
- static bool CanOpenWebUISettings(LoginStatus status);
+ // i.e. the user is logged in, not on the lock screen, not adding a secondary
+ // user, and not in the supervised user creation flow.
+ static bool CanOpenWebUISettings();
// Initializes a row in the system menu as checkable and update the check mark
// status of this row.
« no previous file with comments | « ash/system/tray/tray_details_view.cc ('k') | ash/system/tray/tray_popup_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698