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..3b7ee1718810414ec39622d35463847b2582acdf 100644 |
--- a/remoting/host/event_executor_mac.h |
+++ b/remoting/host/event_executor_mac.h |
@@ -7,19 +7,33 @@ |
#include <vector> |
-#include "remoting/host/event_executor.h" |
+#include "base/ref_counted.h" |
awong
2010/11/12 01:40:10
ordering
|
+#include "base/basictypes.h" |
+#include "remoting/protocol/input_stub.h" |
+ |
+namespace base { |
+class MessageLoopProxy; |
+} // namespace base |
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(scoped_refptr<base::MessageLoopProxy> 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: |
+ scoped_refptr<base::MessageLoopProxy> message_loop_; |
+ Capturer* capturer_; |
+ |
DISALLOW_COPY_AND_ASSIGN(EventExecutorMac); |
}; |