Index: remoting/host/event_executor_mac.h |
diff --git a/remoting/host/event_executor_mac.h b/remoting/host/event_executor_mac.h |
index f8934b1411d455e932234104138063ee57ddd7fd..052ca487e5292254ad930cf96a78e66d36f616cc 100644 |
--- a/remoting/host/event_executor_mac.h |
+++ b/remoting/host/event_executor_mac.h |
@@ -7,19 +7,29 @@ |
#include <vector> |
-#include "remoting/host/event_executor.h" |
+#include "base/basictypes.h" |
+#include "remoting/protocol/input_stub.h" |
+ |
+class MessageLoop; |
namespace remoting { |
+class Capturer; |
+class ChromotingClientMessage; |
+ |
// A class to generate events on Mac. |
-class EventExecutorMac : public EventExecutor { |
+class EventExecutorMac : public protocol::InputStub { |
public: |
- EventExecutorMac(Capturer* capturer); |
+ EventExecutorMac(MessageLoop* message_loop, Capturer* capturer); |
virtual ~EventExecutorMac(); |
- virtual void HandleInputEvent(ChromotingClientMessage* message); |
+ virtual void InjectKeyEvent(const KeyEvent* event, Task* done); |
+ virtual void InjectMouseEvent(const MouseEvent* event, Task* done); |
private: |
+ MessageLoop* message_loop_; |
+ Capturer* capturer_; |
+ |
DISALLOW_COPY_AND_ASSIGN(EventExecutorMac); |
}; |