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

Unified Diff: ash/system/tray/default_system_tray_delegate.cc

Issue 2822033002: cros: Use SessionController to enable system tray settings / notifications tray (Closed)
Patch Set: 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
Index: ash/system/tray/default_system_tray_delegate.cc
diff --git a/ash/system/tray/default_system_tray_delegate.cc b/ash/system/tray/default_system_tray_delegate.cc
index da18b14acbf360573e296b22992f48cb3d1050ca..fa8bfd968701875bfa3bf63e31267a88fc3aa783 100644
--- a/ash/system/tray/default_system_tray_delegate.cc
+++ b/ash/system/tray/default_system_tray_delegate.cc
@@ -26,12 +26,4 @@ bool DefaultSystemTrayDelegate::IsUserSupervised() const {
return GetUserLoginStatus() == LoginStatus::SUPERVISED;
}
-bool DefaultSystemTrayDelegate::ShouldShowSettings() const {
- return true;
-}
-
-bool DefaultSystemTrayDelegate::ShouldShowNotificationTray() const {
- return true;
-}
-
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698