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

Unified Diff: remoting/protocol/key_event_tracker.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: Sync, and make InputStub inherit from ClipboardStub. 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/protocol/key_event_tracker.cc
diff --git a/remoting/protocol/key_event_tracker.cc b/remoting/protocol/key_event_tracker.cc
index d1835a07edae1a60895d0394ccf6acac96e3e31e..70d90bdee1b87fbdbc0e257a4bb438d08acdf9b2 100644
--- a/remoting/protocol/key_event_tracker.cc
+++ b/remoting/protocol/key_event_tracker.cc
@@ -17,6 +17,10 @@ KeyEventTracker::KeyEventTracker(InputStub* input_stub)
KeyEventTracker::~KeyEventTracker() {
}
+void KeyEventTracker::InjectClipboardEvent(const ClipboardEvent& event) {
+ input_stub_->InjectClipboardEvent(event);
+}
+
void KeyEventTracker::InjectKeyEvent(const KeyEvent& event) {
DCHECK(event.has_pressed());
DCHECK(event.has_keycode());

Powered by Google App Engine
This is Rietveld 408576698