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

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

Issue 2832903002: cros: Remove supervised user methods from SystemTrayDelegate (Closed)
Patch Set: rebase 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/hover_highlight_view.h ('k') | ash/system/tray/system_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/label_tray_view.h
diff --git a/ash/system/tray/label_tray_view.h b/ash/system/tray/label_tray_view.h
index 3955733d67b4ffafbe936aa397dfa426582e24db..cb8346e926e22a1085bc7759fc3db47ae34fd2f9 100644
--- a/ash/system/tray/label_tray_view.h
+++ b/ash/system/tray/label_tray_view.h
@@ -21,8 +21,12 @@ class ViewClickListener;
// is supported.
class LabelTrayView : public views::View {
public:
+ // If |click_listener| is null then no action is taken on click.
LabelTrayView(ViewClickListener* click_listener, const gfx::VectorIcon& icon);
~LabelTrayView() override;
+
+ const base::string16& message() { return message_; }
+
void SetMessage(const base::string16& message);
private:
« no previous file with comments | « ash/system/tray/hover_highlight_view.h ('k') | ash/system/tray/system_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698