#include "remoting/protocol/input_event_tracker.h"
#include "base/check.h"
#include "base/containers/contains.h"
#include "remoting/proto/event.pb.h"
namespace remoting::protocol {
InputEventTracker::InputEventTracker() = default;
InputEventTracker::InputEventTracker(InputStub* input_stub)
: … { … }
InputEventTracker::~InputEventTracker() = default;
bool InputEventTracker::IsKeyPressed(ui::DomCode usb_keycode) const { … }
int InputEventTracker::PressedKeyCount() const { … }
void InputEventTracker::ReleaseAll() { … }
void InputEventTracker::ReleaseAllIfModifiersStuck(bool alt_expected,
bool ctrl_expected,
bool os_expected,
bool shift_expected) { … }
void InputEventTracker::InjectKeyEvent(const KeyEvent& event) { … }
void InputEventTracker::InjectTextEvent(const TextEvent& event) { … }
void InputEventTracker::InjectMouseEvent(const MouseEvent& event) { … }
void InputEventTracker::InjectTouchEvent(const TouchEvent& event) { … }
}