#include "remoting/protocol/client_event_dispatcher.h"
#include "base/time/time.h"
#include "net/socket/stream_socket.h"
#include "remoting/base/compound_buffer.h"
#include "remoting/base/constants.h"
#include "remoting/proto/event.pb.h"
#include "remoting/proto/internal.pb.h"
#include "remoting/protocol/message_pipe.h"
namespace remoting::protocol {
ClientEventDispatcher::ClientEventDispatcher()
: … { … }
ClientEventDispatcher::~ClientEventDispatcher() = default;
void ClientEventDispatcher::InjectKeyEvent(const KeyEvent& event) { … }
void ClientEventDispatcher::InjectTextEvent(const TextEvent& event) { … }
void ClientEventDispatcher::InjectMouseEvent(const MouseEvent& event) { … }
void ClientEventDispatcher::InjectTouchEvent(const TouchEvent& event) { … }
void ClientEventDispatcher::OnIncomingMessage(
std::unique_ptr<CompoundBuffer> message) { … }
}