| Index: remoting/host/event_executor_linux.h
|
| diff --git a/remoting/host/event_executor_linux.h b/remoting/host/event_executor_linux.h
|
| index cda6476539b40609b197873de134178662e0ab07..65ef7156b2fd85a6e41bb8dec5c8e00498b32cfb 100644
|
| --- a/remoting/host/event_executor_linux.h
|
| +++ b/remoting/host/event_executor_linux.h
|
| @@ -5,22 +5,36 @@
|
| #ifndef REMOTING_HOST_EVENT_EXECUTOR_LINUX_H_
|
| #define REMOTING_HOST_EVENT_EXECUTOR_LINUX_H_
|
|
|
| +#include <vector>
|
| +
|
| +#include "base/ref_counted.h"
|
| +#include "base/basictypes.h"
|
| #include "base/scoped_ptr.h"
|
| -#include "remoting/host/event_executor.h"
|
| +#include "remoting/protocol/input_stub.h"
|
| +
|
| +namespace base {
|
| +class MessageLoopProxy;
|
| +} // namespace base
|
|
|
| namespace remoting {
|
|
|
| +class Capturer;
|
| +class ChromotingClientMessage;
|
| class EventExecutorLinuxPimpl;
|
|
|
| // A class to generate events on Linux.
|
| -class EventExecutorLinux : public EventExecutor {
|
| +class EventExecutorLinux : public protocol::InputStub {
|
| public:
|
| - EventExecutorLinux(Capturer* capturer);
|
| + EventExecutorLinux(scoped_refptr<base::MessageLoopProxy> message_loop,
|
| + Capturer* capturer);
|
| virtual ~EventExecutorLinux();
|
|
|
| - virtual void HandleInputEvent(ChromotingClientMessage* message);
|
| + virtual void InjectKeyEvent(const KeyEvent* event, Task* done);
|
| + virtual void InjectMouseEvent(const MouseEvent* event, Task* done);
|
|
|
| private:
|
| + scoped_refptr<base::MessageLoopProxy> message_loop_;
|
| + Capturer* capturer_;
|
| scoped_ptr<EventExecutorLinuxPimpl> pimpl_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(EventExecutorLinux);
|
|
|