#include "remoting/host/input_monitor/local_hotkey_input_monitor_x11.h"
#include <sys/select.h>
#include <unistd.h>
#include <utility>
#include "base/compiler_specific.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/location.h"
#include "base/logging.h"
#include "remoting/host/input_monitor/local_input_monitor_x11_common.h"
#include "ui/gfx/x/keysyms/keysyms.h"
#include "ui/gfx/x/xinput.h"
namespace remoting {
LocalHotkeyInputMonitorX11::LocalHotkeyInputMonitorX11(
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
base::OnceClosure disconnect_callback)
: … { … }
LocalHotkeyInputMonitorX11::~LocalHotkeyInputMonitorX11() { … }
LocalHotkeyInputMonitorX11::Core::Core(
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
base::OnceClosure disconnect_callback)
: … { … }
void LocalHotkeyInputMonitorX11::Core::Start() { … }
void LocalHotkeyInputMonitorX11::Core::Stop() { … }
LocalHotkeyInputMonitorX11::Core::~Core() = default;
void LocalHotkeyInputMonitorX11::Core::StartOnInputThread() { … }
void LocalHotkeyInputMonitorX11::Core::StopOnInputThread() { … }
void LocalHotkeyInputMonitorX11::Core::OnEvent(const x11::Event& event) { … }
}