Chromium Code Reviews| 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..bd6a4fa751d22034c63433a248cb5af87c8eccd5 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); |
| + explicit LocalInputMonitorThread( |
|
Wez
2012/05/25 23:32:18
No need to be so explicit here.
Sergey Ulanov
2012/05/26 01:06:15
Done.
|
| + 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_; |