#ifndef ASH_SYSTEM_TRAY_TRAY_INFO_LABEL_H_
#define ASH_SYSTEM_TRAY_TRAY_INFO_LABEL_H_
#include "ash/ash_export.h"
#include "base/memory/raw_ptr.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/views/controls/label.h"
#include "ui/views/view.h"
namespace ash {
class ASH_EXPORT TrayInfoLabel : public views::View {
METADATA_HEADER(TrayInfoLabel, views::View)
public:
explicit TrayInfoLabel(int message_id);
TrayInfoLabel(const TrayInfoLabel&) = delete;
TrayInfoLabel& operator=(const TrayInfoLabel&) = delete;
~TrayInfoLabel() override;
void Update(int message_id);
const views::Label* label() { return label_; }
private:
const raw_ptr<views::Label> label_;
};
}
#endif