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

Unified Diff: remoting/host/input_injector_linux.cc

Issue 422503004: Adding ability to stream windows and inject events to them (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: I updated the code with almost all of the comments Lambros had. The exceptions are the redesign of … Created 6 years, 5 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/input_injector_linux.cc
diff --git a/remoting/host/input_injector_linux.cc b/remoting/host/input_injector_linux.cc
index 3e4a5f6a26b05c67f20ca0fbe41315ff52756a09..41f1c2eabaa1f4ca636356bacbdab6c8205a18e2 100644
--- a/remoting/host/input_injector_linux.cc
+++ b/remoting/host/input_injector_linux.cc
@@ -107,6 +107,7 @@ class InputInjectorLinux : public InputInjector {
// InputInjector interface.
virtual void Start(
scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE;
+ void EnableWindowInjection(webrtc::WindowId window_id);
private:
// The actual implementation resides in InputInjectorLinux::Core class.
@@ -218,6 +219,10 @@ void InputInjectorLinux::Start(
core_->Start(client_clipboard.Pass());
}
+void EnableWindowInjection(webrtc::WindowId window_id) {
+ NOTIMPLEMENTED();
+}
+
InputInjectorLinux::Core::Core(
scoped_refptr<base::SingleThreadTaskRunner> task_runner)
: task_runner_(task_runner),
@@ -611,4 +616,10 @@ scoped_ptr<InputInjector> InputInjector::Create(
return injector.PassAs<InputInjector>();
}
+scoped_ptr<InputInjector> InputInjector::CreateForWindow(
+ scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
+ webrtc::WindowId windowId) {
+}
+
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698