#ifndef UI_VIEWS_TEST_BUTTON_TEST_API_H_
#define UI_VIEWS_TEST_BUTTON_TEST_API_H_
#include "base/memory/raw_ptr.h"
namespace ui {
class Event;
}
namespace views {
class Button;
namespace test {
class ButtonTestApi {
public:
explicit ButtonTestApi(Button* button) : button_(button) {}
ButtonTestApi(const ButtonTestApi&) = delete;
ButtonTestApi& operator=(const ButtonTestApi&) = delete;
void NotifyClick(const ui::Event& event);
void NotifyDefaultMouseClick();
private:
const raw_ptr<Button, DanglingUntriaged> button_;
};
}
}
#endif