chromium/remoting/host/remote_input_filter.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/host/remote_input_filter.h"

#include <stdint.h>

#include "base/logging.h"
#include "remoting/proto/event.pb.h"

namespace {

// The number of remote mouse events to record for the purpose of eliminating
// "echoes" detected by the local input detector. The value should be large
// enough to cope with the fact that multiple events might be injected before
// any echoes are detected.
const unsigned int kNumRemoteMousePositions =;

// The number of remote keypress events to record for the purpose of eliminating
// "echoes" detected by the local input detector. The value should be large
// enough to cope with the fact that multiple events might be injected before
// any echoes are detected.
const unsigned int kNumRemoteKeyPresses =;

// The number of milliseconds for which to block remote input when local input
// is received.
const int64_t kRemoteBlockTimeoutMillis =;

}  // namespace

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 {}

}  // namespace remoting