#ifndef ASH_SYSTEM_PHONEHUB_PHONE_HUB_RECENT_APP_BUTTON_H_
#define ASH_SYSTEM_PHONEHUB_PHONE_HUB_RECENT_APP_BUTTON_H_
#include "ash/ash_export.h"
#include "chromeos/ash/components/phonehub/recent_apps_interaction_handler.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/image/image.h"
#include "ui/views/controls/button/image_button.h"
namespace ash {
class ASH_EXPORT PhoneHubRecentAppButton : public views::ImageButton {
METADATA_HEADER(PhoneHubRecentAppButton, views::ImageButton)
public:
PhoneHubRecentAppButton(const gfx::Image& icon,
const std::u16string& visible_app_name,
PressedCallback callback);
~PhoneHubRecentAppButton() override;
PhoneHubRecentAppButton(PhoneHubRecentAppButton&) = delete;
PhoneHubRecentAppButton operator=(PhoneHubRecentAppButton&) = delete;
gfx::Size CalculatePreferredSize(
const views::SizeBounds& available_size) const override;
void PaintButtonContents(gfx::Canvas* canvas) override;
};
}
#endif