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

Unified Diff: remoting/host/input_injector_win.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_win.cc
diff --git a/remoting/host/input_injector_win.cc b/remoting/host/input_injector_win.cc
index c40e1508fcc85814d7f00cfc44b6e29baabcf241..d423cf0646d6ca2db8fb1d52bef092f5d27a7380 100644
--- a/remoting/host/input_injector_win.cc
+++ b/remoting/host/input_injector_win.cc
@@ -13,6 +13,7 @@
#include "base/single_thread_task_runner.h"
#include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h"
+#include "remoting/base/logging.h"
#include "remoting/base/util.h"
#include "remoting/host/clipboard.h"
#include "remoting/proto/event.pb.h"
@@ -70,6 +71,7 @@ class InputInjectorWin : 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 InputInjectorWin::Core class.
@@ -142,6 +144,10 @@ void InputInjectorWin::Start(
core_->Start(client_clipboard.Pass());
}
+void EnableWindowInjection(webrtc::WindowId window_id) {
+ NOTIMPLEMENTED();
+}
+
InputInjectorWin::Core::Core(
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner)
@@ -329,4 +335,10 @@ scoped_ptr<InputInjector> InputInjector::Create(
new InputInjectorWin(main_task_runner, ui_task_runner));
}
+scoped_ptr<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