Index: remoting/host/event_executor_mac.cc |
diff --git a/remoting/host/event_executor_mac.cc b/remoting/host/event_executor_mac.cc |
index 7e6432487e564d999e85905d9ff093ec885cd06d..d344b0d0ac02b34c4128b4c3db69664494c508b1 100644 |
--- a/remoting/host/event_executor_mac.cc |
+++ b/remoting/host/event_executor_mac.cc |
@@ -4,20 +4,27 @@ |
#include "remoting/host/event_executor_mac.h" |
+#include "base/task.h" |
#include "remoting/proto/internal.pb.h" |
#include "remoting/protocol/message_decoder.h" |
namespace remoting { |
EventExecutorMac::EventExecutorMac(Capturer* capturer) |
- : EventExecutor(capturer) { |
+ : capturer_(capturer) { |
} |
EventExecutorMac::~EventExecutorMac() { |
} |
-void EventExecutorMac::HandleInputEvent(ChromotingClientMessage* message) { |
- delete message; |
+void EventExecutorMac::InjectKeyEvent(const KeyEvent* event, Task* done) { |
+ done->Run(); |
+ delete done; |
+} |
+ |
+void EventExecutorMac::InjectMouseEvent(const MouseEvent* event, Task* done) { |
+ done->Run(); |
+ delete done; |
} |
} // namespace remoting |