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

Unified Diff: ash/system/enterprise/tray_enterprise.h

Issue 2839043004: chromeos: Refactor ash SystemTrayDelegate enterprise methods to mojo (Closed)
Patch Set: review comments 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/public/interfaces/system_tray.mojom ('k') | ash/system/enterprise/tray_enterprise.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/enterprise/tray_enterprise.h
diff --git a/ash/system/enterprise/tray_enterprise.h b/ash/system/enterprise/tray_enterprise.h
index 72f044039f2a1010dddfe406b6fcef4fabfa50ef..b00ef685c2f42c893b79be1aa7f894d1ea4e5b95 100644
--- a/ash/system/enterprise/tray_enterprise.h
+++ b/ash/system/enterprise/tray_enterprise.h
@@ -14,6 +14,8 @@ namespace ash {
class LabelTrayView;
class SystemTray;
+// System tray item that shows a message ("This device managed by example.com")
+// in the tray menu for enterprise enrolled devices.
class TrayEnterprise : public SystemTrayItem,
public ViewClickListener,
public EnterpriseDomainObserver {
@@ -35,6 +37,8 @@ class TrayEnterprise : public SystemTrayItem,
// Overridden from ViewClickListener.
void OnViewClicked(views::View* sender) override;
+ LabelTrayView* tray_view() { return tray_view_; }
+
private:
LabelTrayView* tray_view_;
« no previous file with comments | « ash/public/interfaces/system_tray.mojom ('k') | ash/system/enterprise/tray_enterprise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698