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

Unified Diff: remoting/protocol/input_filter.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/input_filter.cc
diff --git a/remoting/protocol/input_filter.cc b/remoting/protocol/input_filter.cc
index c9be6a11ed59fb765b3df81acc0aea5c0166eb95..500073b1b87ccbc12f264c7cf5b2f1f56e2b5448 100644
--- a/remoting/protocol/input_filter.cc
+++ b/remoting/protocol/input_filter.cc
@@ -13,6 +13,11 @@ InputFilter::InputFilter() : input_stub_(NULL) {
InputFilter::~InputFilter() {
}
+void InputFilter::InjectClipboardEvent(const ClipboardEvent& event) {
+ if (input_stub_ != NULL)
+ input_stub_->InjectClipboardEvent(event);
+}
+
void InputFilter::InjectKeyEvent(const KeyEvent& event) {
if (input_stub_ != NULL)
input_stub_->InjectKeyEvent(event);

Powered by Google App Engine
This is Rietveld 408576698