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

Unified Diff: remoting/host/input_injector_win.cc

Issue 799233004: Add touch events to the protocol, the stub layer, and to the client plugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac builds Created 5 years, 11 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 30c1cd769e0acb283c7fc4c01f739ad66c0e94a5..03594c69d29f973fda319d28e5d58997d41302b0 100644
--- a/remoting/host/input_injector_win.cc
+++ b/remoting/host/input_injector_win.cc
@@ -51,6 +51,7 @@ using protocol::ClipboardEvent;
using protocol::KeyEvent;
using protocol::TextEvent;
using protocol::MouseEvent;
+using protocol::TouchEvent;
// A class to generate events on Windows.
class InputInjectorWin : public InputInjector {
@@ -66,6 +67,7 @@ class InputInjectorWin : public InputInjector {
virtual void InjectKeyEvent(const KeyEvent& event) override;
virtual void InjectTextEvent(const TextEvent& event) override;
virtual void InjectMouseEvent(const MouseEvent& event) override;
+ virtual void InjectTouchEvent(const TouchEvent& event) override;
// InputInjector interface.
virtual void Start(
@@ -137,6 +139,10 @@ void InputInjectorWin::InjectMouseEvent(const MouseEvent& event) {
core_->InjectMouseEvent(event);
}
+void InputInjectorWin::InjectTouchEvent(const TouchEvent& event) {
+ NOTIMPLEMENTED();
+}
+
void InputInjectorWin::Start(
scoped_ptr<protocol::ClipboardStub> client_clipboard) {
core_->Start(client_clipboard.Pass());

Powered by Google App Engine
This is Rietveld 408576698