#ifndef ASH_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_
#define ASH_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_
#include "ash/ash_export.h"
#include "ash/system/user/login_status.h"
#include "base/macros.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/view.h"
namespace ash {
namespace tray {
class DateView;
}
class TrayPopupHeaderButton;
class ASH_EXPORT DateDefaultView : public views::View,
public views::ButtonListener {
public:
explicit DateDefaultView(ash::user::LoginStatus login);
virtual ~DateDefaultView();
views::View* GetHelpButtonView();
tray::DateView* GetDateView();
const tray::DateView* GetDateView() const;
private:
virtual void ButtonPressed(views::Button* sender,
const ui::Event& event) OVERRIDE;
TrayPopupHeaderButton* help_;
TrayPopupHeaderButton* shutdown_;
TrayPopupHeaderButton* lock_;
tray::DateView* date_view_;
DISALLOW_COPY_AND_ASSIGN(DateDefaultView);
};
}
#endif