#ifndef ASH_PUBLIC_CPP_ACCESSIBILITY_EVENT_REWRITER_DELEGATE_H_
#define ASH_PUBLIC_CPP_ACCESSIBILITY_EVENT_REWRITER_DELEGATE_H_
#include <memory>
#include "ash/public/cpp/ash_public_export.h"
#include "ui/gfx/geometry/point_f.h"
namespace ui {
class Event;
}
namespace ash {
enum class SwitchAccessCommand;
enum class MagnifierCommand;
class ASH_PUBLIC_EXPORT AccessibilityEventRewriterDelegate {
public:
virtual void DispatchKeyEventToChromeVox(std::unique_ptr<ui::Event> event,
bool capture) = 0;
virtual void DispatchKeyEventToChromeVoxMv3(
unsigned int id,
std::unique_ptr<ui::Event> event) = 0;
virtual void DispatchMouseEvent(std::unique_ptr<ui::Event> event) = 0;
virtual void SendSwitchAccessCommand(SwitchAccessCommand command) = 0;
virtual void SendPointScanPoint(const gfx::PointF& point) = 0;
virtual void SendMagnifierCommand(MagnifierCommand command) = 0;
protected:
virtual ~AccessibilityEventRewriterDelegate() {}
};
}
#endif