#ifndef UI_OZONE_PUBLIC_PLATFORM_KEYBOARD_HOOK_H_
#define UI_OZONE_PUBLIC_PLATFORM_KEYBOARD_HOOK_H_
#include "base/component_export.h"
#include "base/functional/callback.h"
namespace ui {
enum class DomCode : uint32_t;
class KeyEvent;
enum class PlatformKeyboardHookTypes { kModifier, kMedia };
class COMPONENT_EXPORT(OZONE_BASE) PlatformKeyboardHook {
public:
using KeyEventCallback = base::RepeatingCallback<void(KeyEvent* event)>;
PlatformKeyboardHook();
PlatformKeyboardHook(const PlatformKeyboardHook&) = delete;
PlatformKeyboardHook& operator=(const PlatformKeyboardHook&) = delete;
virtual ~PlatformKeyboardHook();
virtual bool IsKeyLocked(DomCode dom_code) const = 0;
};
}
#endif