diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-08 20:24:50 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-08 20:24:50 +0000 |
commit | d84b3653b42653caebc7a8bd48584659bf5d63c8 (patch) | |
tree | 03ebed3c2ea74c03eac762f01e9aa8f6e77bd63a /remoting/host/event_executor_linux.h | |
parent | 677b264168cf3285c4c20d839f2ac252577fe0e9 (diff) | |
download | chromium_src-d84b3653b42653caebc7a8bd48584659bf5d63c8.zip chromium_src-d84b3653b42653caebc7a8bd48584659bf5d63c8.tar.gz chromium_src-d84b3653b42653caebc7a8bd48584659bf5d63c8.tar.bz2 |
Use the XTest extension to execute mouse and keyboard events.
Not all keyboard codes are current supported.
The key events still don't register all the time on the remote end. I think it's an input focus problem. Will need further debugging.
Also, when used with CapturerLinux, this double opens the X display. This needs to be factored out.
BUG=none
TEST=connects, and key presses transmit.
Review URL: http://codereview.chromium.org/4058002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65413 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/event_executor_linux.h')
-rw-r--r-- | remoting/host/event_executor_linux.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/remoting/host/event_executor_linux.h b/remoting/host/event_executor_linux.h index bdb3e73..cda6476 100644 --- a/remoting/host/event_executor_linux.h +++ b/remoting/host/event_executor_linux.h @@ -5,12 +5,13 @@ #ifndef REMOTING_HOST_EVENT_EXECUTOR_LINUX_H_ #define REMOTING_HOST_EVENT_EXECUTOR_LINUX_H_ -#include <vector> - +#include "base/scoped_ptr.h" #include "remoting/host/event_executor.h" namespace remoting { +class EventExecutorLinuxPimpl; + // A class to generate events on Linux. class EventExecutorLinux : public EventExecutor { public: @@ -20,6 +21,8 @@ class EventExecutorLinux : public EventExecutor { virtual void HandleInputEvent(ChromotingClientMessage* message); private: + scoped_ptr<EventExecutorLinuxPimpl> pimpl_; + DISALLOW_COPY_AND_ASSIGN(EventExecutorLinux); }; |