| Index: remoting/host/event_executor.h
|
| ===================================================================
|
| --- remoting/host/event_executor.h (revision 57860)
|
| +++ remoting/host/event_executor.h (working copy)
|
| @@ -11,13 +11,17 @@
|
|
|
| namespace remoting {
|
|
|
| +class Capturer;
|
| +
|
| // An interface that defines the behavior of an event executor object.
|
| // An event executor is to perform actions on the host machine. For example
|
| // moving the mouse cursor, generating keyboard events and manipulating
|
| // clipboards.
|
| class EventExecutor {
|
| public:
|
| - EventExecutor() {}
|
| + EventExecutor(Capturer* capturer)
|
| + : capturer_(capturer) {
|
| + }
|
| virtual ~EventExecutor() {}
|
|
|
| // Handles input events from ClientMessageList and removes them from the
|
| @@ -25,6 +29,9 @@
|
| virtual void HandleInputEvents(ClientMessageList* messages) = 0;
|
| // TODO(hclam): Define actions for clipboards.
|
|
|
| + protected:
|
| + Capturer* capturer_;
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(EventExecutor);
|
| };
|
|
|