#ifndef ASH_APP_MENU_NOTIFICATION_MENU_HEADER_VIEW_H_
#define ASH_APP_MENU_NOTIFICATION_MENU_HEADER_VIEW_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/view.h"
namespace views {
class Label;
}
namespace ash {
class NotificationMenuHeaderView : public views::View {
public:
NotificationMenuHeaderView();
NotificationMenuHeaderView(const NotificationMenuHeaderView&) = delete;
NotificationMenuHeaderView& operator=(const NotificationMenuHeaderView&) =
delete;
~NotificationMenuHeaderView() override;
void UpdateCounter(int number_of_notifications);
gfx::Size CalculatePreferredSize() const override;
void Layout() override;
private:
friend class NotificationMenuViewTestAPI;
int number_of_notifications_ = 0;
raw_ptr<views::Label, ExperimentalAsh> notification_title_ = nullptr;
raw_ptr<views::Label, ExperimentalAsh> counter_ = nullptr;
};
}
#endif