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

Unified Diff: remoting/host/event_executor_linux.cc

Issue 9646013: Add the plumbing that will carry a clipboard item from a chromoting client to a host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move clipboard events to the control channel. Created 8 years, 9 months 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.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(

Powered by Google App Engine
This is Rietveld 408576698