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

Unified Diff: remoting/host/input_injector_chromeos.cc

Issue 923773003: Revert of Remove dependency on content from remoting_host. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « remoting/host/chromoting_host_context.cc ('k') | remoting/remoting_host.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/input_injector_chromeos.cc
diff --git a/remoting/host/input_injector_chromeos.cc b/remoting/host/input_injector_chromeos.cc
index 569119163b011d277edf97cc0ff2c1569d11dcec..26eeae17dbb1c25172386ef93d30144e9c5ee0cb 100644
--- a/remoting/host/input_injector_chromeos.cc
+++ b/remoting/host/input_injector_chromeos.cc
@@ -78,9 +78,12 @@
ui::InputController* input_controller)
: delegate_(delegate.Pass()),
input_controller_(input_controller),
+ // Implemented by remoting::ClipboardAura.
+ clipboard_(Clipboard::Create()),
saved_auto_repeat_enabled_(false) {
DCHECK(delegate_);
DCHECK(input_controller_);
+ DCHECK(clipboard_);
}
void InputInjectorChromeos::Core::InjectClipboardEvent(
@@ -156,7 +159,6 @@
void InputInjectorChromeos::Core::Start(
scoped_ptr<protocol::ClipboardStub> client_clipboard) {
- clipboard_.reset(Clipboard::Create());
clipboard_->Start(client_clipboard.Pass());
point_transformer_.reset(new PointTransformer());
}
« no previous file with comments | « remoting/host/chromoting_host_context.cc ('k') | remoting/remoting_host.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698