| Index: remoting/host/local_input_monitor_thread_linux.h
|
| diff --git a/remoting/host/local_input_monitor_thread_linux.h b/remoting/host/local_input_monitor_thread_linux.h
|
| index bc4eb9b8c059f702e7c437e466319dc69a754696..73359b17347cad5da715833f8a86e484628dd6d7 100644
|
| --- a/remoting/host/local_input_monitor_thread_linux.h
|
| +++ b/remoting/host/local_input_monitor_thread_linux.h
|
| @@ -5,20 +5,25 @@
|
| #ifndef LOCAL_INPUT_MONITOR_THREAD_LINUX_H_
|
| #define LOCAL_INPUT_MONITOR_THREAD_LINUX_H_
|
|
|
| +#include "base/callback.h"
|
| #include "base/compiler_specific.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/threading/simple_thread.h"
|
| -#include "third_party/skia/include/core/SkPoint.h"
|
| +#include "remoting/host/local_input_monitor.h"
|
|
|
| typedef struct _XDisplay Display;
|
|
|
| +struct SkIPoint;
|
| +
|
| namespace remoting {
|
|
|
| -class ChromotingHost;
|
| +class MouseMoveObserver;
|
|
|
| class LocalInputMonitorThread : public base::SimpleThread {
|
| public:
|
| - explicit LocalInputMonitorThread(ChromotingHost* host);
|
| + LocalInputMonitorThread(
|
| + MouseMoveObserver* mouse_move_observer,
|
| + const base::Closure& disconnect_callback);
|
| virtual ~LocalInputMonitorThread();
|
|
|
| void Stop();
|
| @@ -28,7 +33,8 @@ class LocalInputMonitorThread : public base::SimpleThread {
|
| void LocalKeyPressed(int key_code, bool down);
|
|
|
| private:
|
| - scoped_refptr<ChromotingHost> host_;
|
| + MouseMoveObserver* mouse_move_observer_;
|
| + base::Closure disconnect_callback_;
|
| int wakeup_pipe_[2];
|
| Display* display_;
|
| bool alt_pressed_;
|
|
|