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

Unified Diff: ash/system/date/system_info_default_view.cc

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/date/system_info_default_view.h ('k') | ash/system/date/tray_system_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/date/system_info_default_view.cc
diff --git a/ash/system/date/system_info_default_view.cc b/ash/system/date/system_info_default_view.cc
index 2866a7f2e53821f9ee01651fd6ebc55c4cd2340a..9b11ab8e83249fa254e1c71d323301d06d52bb9a 100644
--- a/ash/system/date/system_info_default_view.cc
+++ b/ash/system/date/system_info_default_view.cc
@@ -25,8 +25,7 @@ const int kMinNumTileWidths = 2;
// horizontally.
const int kMaxNumTileWidths = 3;
-SystemInfoDefaultView::SystemInfoDefaultView(SystemTrayItem* owner,
- LoginStatus login)
+SystemInfoDefaultView::SystemInfoDefaultView(SystemTrayItem* owner)
: date_view_(nullptr),
tri_view_(TrayPopupUtils::CreateMultiTargetRowView()) {
tri_view_->SetMinHeight(kTrayPopupSystemInfoRowHeight);
@@ -54,7 +53,7 @@ SystemInfoDefaultView::SystemInfoDefaultView(SystemTrayItem* owner,
}
tri_view_->SetContainerVisible(TriView::Container::END, false);
- if (TrayPopupUtils::CanOpenWebUISettings(login))
+ if (TrayPopupUtils::CanOpenWebUISettings())
date_view_->SetAction(tray::DateView::DateAction::SHOW_DATE_SETTINGS);
}
« no previous file with comments | « ash/system/date/system_info_default_view.h ('k') | ash/system/date/tray_system_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698