Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(874)

Unified Diff: remoting/host/event_executor_linux.h

Issue 4726003: Implement InputStub in the host side for chromoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/event_executor_linux.h
diff --git a/remoting/host/event_executor_linux.h b/remoting/host/event_executor_linux.h
index bdb3e73b8e1ec69cdd72a75cef0ee978e323a3cb..ca68bb9ff2d471fe69cab11f7827729f752aaadd 100644
--- a/remoting/host/event_executor_linux.h
+++ b/remoting/host/event_executor_linux.h
@@ -7,19 +7,26 @@
#include <vector>
-#include "remoting/host/event_executor.h"
+#include "base/basictypes.h"
+#include "remoting/protocol/input_stub.h"
namespace remoting {
+class Capturer;
+class ChromotingClientMessage;
+
// A class to generate events on Linux.
-class EventExecutorLinux : public EventExecutor {
+class EventExecutorLinux : public protocol::InputStub {
public:
EventExecutorLinux(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:
+ Capturer* capturer_;
+
DISALLOW_COPY_AND_ASSIGN(EventExecutorLinux);
};

Powered by Google App Engine
This is Rietveld 408576698