#ifndef ASH_SYSTEM_TRAY_TRAY_POPUP_HEADER_BUTTON_H_
#define ASH_SYSTEM_TRAY_TRAY_POPUP_HEADER_BUTTON_H_
#include "ash/ash_export.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "ui/views/controls/button/image_button.h"
namespace ash {
class ASH_EXPORT TrayPopupHeaderButton : public views::ToggleImageButton {
public:
static const char kViewClassName[];
TrayPopupHeaderButton(views::ButtonListener* listener,
int enabled_resource_id,
int disabled_resource_id,
int enabled_resource_id_hover,
int disabled_resource_id_hover,
int accessible_name_id);
virtual ~TrayPopupHeaderButton();
private:
virtual const char* GetClassName() const OVERRIDE;
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual void OnPaintBorder(gfx::Canvas* canvas) OVERRIDE;
virtual void StateChanged() OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(TrayPopupHeaderButton);
};
}
#endif