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

Unified Diff: remoting/host/input_injector_chromeos.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: add more comments to event proto 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_chromeos.cc
diff --git a/remoting/host/input_injector_chromeos.cc b/remoting/host/input_injector_chromeos.cc
index 26eeae17dbb1c25172386ef93d30144e9c5ee0cb..700df47f1f789f0a5e4f177f07d6c51d56d7a2fd 100644
--- a/remoting/host/input_injector_chromeos.cc
+++ b/remoting/host/input_injector_chromeos.cc
@@ -24,6 +24,7 @@ using protocol::ClipboardEvent;
using protocol::KeyEvent;
using protocol::MouseEvent;
using protocol::TextEvent;
+using protocol::TouchEvent;
namespace {
@@ -199,6 +200,10 @@ void InputInjectorChromeos::InjectMouseEvent(const MouseEvent& event) {
base::Unretained(core_.get()), event));
}
+void InputInjectorChromeos::InjectTouchEvent(const TouchEvent& event) {
+ NOTIMPLEMENTED() << "Raw touch event injection not implemented for ChromeOS.";
+}
+
void InputInjectorChromeos::Start(
scoped_ptr<protocol::ClipboardStub> client_clipboard) {
input_task_runner_->PostTask(

Powered by Google App Engine
This is Rietveld 408576698