Chromium Code Reviews| Index: remoting/host/event_executor_linux.cc |
| diff --git a/remoting/host/event_executor_linux.cc b/remoting/host/event_executor_linux.cc |
| index f2e68b85004f682ee59b3e6a579229fc13aa692a..1e9da94b5d3868f06e21701ac9242b1976943272 100644 |
| --- a/remoting/host/event_executor_linux.cc |
| +++ b/remoting/host/event_executor_linux.cc |
| @@ -20,8 +20,9 @@ |
| namespace remoting { |
| -using protocol::MouseEvent; |
| +using protocol::ClipboardEvent; |
|
Sergey Ulanov
2012/03/14 20:27:07
nit: no need to have it here.
simonmorris
2012/03/14 21:20:21
Done.
|
| using protocol::KeyEvent; |
| +using protocol::MouseEvent; |
| namespace { |
| @@ -33,6 +34,7 @@ class EventExecutorLinux : public EventExecutor { |
| bool Init(); |
| + virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE; |
| virtual void InjectKeyEvent(const KeyEvent& event) OVERRIDE; |
|
Sergey Ulanov
2012/03/14 20:27:07
nit: better to separate implementation of Clipboar
simonmorris
2012/03/14 21:20:21
Done.
|
| virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE; |
| @@ -299,6 +301,10 @@ bool EventExecutorLinux::Init() { |
| return true; |
| } |
| +void EventExecutorLinux::InjectClipboardEvent(const ClipboardEvent& event) { |
| + // TODO(simonmorris): Implement clipboard injection. |
| +} |
| + |
| void EventExecutorLinux::InjectKeyEvent(const KeyEvent& event) { |
| if (MessageLoop::current() != message_loop_) { |
| message_loop_->PostTask( |