diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-09 02:00:09 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-09 02:00:09 +0000 |
commit | cb62c57a3861e02dd8bd8e29cf86fdbcb1a7a777 (patch) | |
tree | acf91dc9f10ab8ffb61b60032e6bfdef8e0daa1c /remoting/host/event_executor_linux.h | |
parent | ae54c71ba708ff9fa1f975a3f703e5c93c44768e (diff) | |
download | chromium_src-cb62c57a3861e02dd8bd8e29cf86fdbcb1a7a777.zip chromium_src-cb62c57a3861e02dd8bd8e29cf86fdbcb1a7a777.tar.gz chromium_src-cb62c57a3861e02dd8bd8e29cf86fdbcb1a7a777.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.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65413
Review URL: http://codereview.chromium.org/4058002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65467 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); }; |