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

Unified Diff: remoting/host/input_injector_chromeos.cc

Issue 1033913003: Touch Events capability negotiation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: should fix mac build Created 5 years, 8 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 6e8e5fd328ef7287e132e90aef2769e932b87bf7..f0d9fbc17f897fb40c2cd6c78d514db98d21b0a3 100644
--- a/remoting/host/input_injector_chromeos.cc
+++ b/remoting/host/input_injector_chromeos.cc
@@ -207,6 +207,10 @@ void InputInjectorChromeos::Start(
base::Passed(&client_clipboard)));
}
+bool InputInjectorChromeos::CanInjectTouch() {
+ return InputInjector::DefaultCanInjectTouch();
+}
+
// static
scoped_ptr<InputInjector> InputInjector::Create(
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
@@ -216,4 +220,9 @@ scoped_ptr<InputInjector> InputInjector::Create(
return make_scoped_ptr(new InputInjectorChromeos(ui_task_runner));
}
+// static
+bool InputInjector::DefaultCanInjectTouch() {
+ return false;
+}
+
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698