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_win.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_win.cc
diff --git a/remoting/host/event_executor_win.cc b/remoting/host/event_executor_win.cc
index b1f58427f4c01799147294faa6b264b37c15ac0d..0831569f970f8e9a7599110f7fc00dcb72a858e0 100644
--- a/remoting/host/event_executor_win.cc
+++ b/remoting/host/event_executor_win.cc
@@ -15,8 +15,9 @@
namespace remoting {
-using protocol::MouseEvent;
+using protocol::ClipboardEvent;
Sergey Ulanov 2012/03/14 20:27:07 nit: don't need this.
simonmorris 2012/03/14 21:20:21 Done.
using protocol::KeyEvent;
+using protocol::MouseEvent;
namespace {
@@ -26,6 +27,7 @@ class EventExecutorWin : public EventExecutor {
EventExecutorWin(MessageLoop* message_loop, Capturer* capturer);
virtual ~EventExecutorWin() {}
+ virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE;
virtual void InjectKeyEvent(const KeyEvent& event) OVERRIDE;
virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE;
@@ -45,6 +47,10 @@ EventExecutorWin::EventExecutorWin(MessageLoop* message_loop,
capturer_(capturer) {
}
+void EventExecutorWin::InjectClipboardEvent(const ClipboardEvent& event) {
+ // TODO(simonmorris): Implement clipboard injection.
+}
+
void EventExecutorWin::InjectKeyEvent(const KeyEvent& event) {
if (MessageLoop::current() != message_loop_) {
message_loop_->PostTask(

Powered by Google App Engine
This is Rietveld 408576698