#include "remoting/host/remote_input_filter.h"
#include <stdint.h>
#include "base/logging.h"
#include "remoting/proto/event.pb.h"
namespace {
const unsigned int kNumRemoteMousePositions = …;
const unsigned int kNumRemoteKeyPresses = …;
const int64_t kRemoteBlockTimeoutMillis = …;
}
namespace remoting {
RemoteInputFilter::RemoteInputFilter(protocol::InputEventTracker* event_tracker)
: … { … }
RemoteInputFilter::~RemoteInputFilter() = default;
bool RemoteInputFilter::LocalPointerMoved(const webrtc::DesktopVector& pos,
ui::EventType type) { … }
bool RemoteInputFilter::LocalKeyPressed(uint32_t usb_keycode) { … }
void RemoteInputFilter::LocalInputDetected() { … }
void RemoteInputFilter::SetExpectLocalEcho(bool expect_local_echo) { … }
void RemoteInputFilter::InjectKeyEvent(const protocol::KeyEvent& event) { … }
void RemoteInputFilter::InjectTextEvent(const protocol::TextEvent& event) { … }
void RemoteInputFilter::InjectMouseEvent(const protocol::MouseEvent& event) { … }
void RemoteInputFilter::InjectTouchEvent(const protocol::TouchEvent& event) { … }
bool RemoteInputFilter::ShouldIgnoreInput() const { … }
}