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

Unified Diff: remoting/host/input_injector_x11.cc

Issue 1033913003: Touch Events capability negotiation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass supports_touch_events to classes that inherit BasicDesktopEnvironment Created 5 years, 7 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_x11.cc
diff --git a/remoting/host/input_injector_x11.cc b/remoting/host/input_injector_x11.cc
index 8fc725b0f7be7f9a855a8a5046ca641f62b1e881..57dfa64b2af03c5fed4e7ff60063246052a598f5 100644
--- a/remoting/host/input_injector_x11.cc
+++ b/remoting/host/input_injector_x11.cc
@@ -629,6 +629,7 @@ void InputInjectorX11::Core::Stop() {
} // namespace
+// static
scoped_ptr<InputInjector> InputInjector::Create(
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
@@ -639,4 +640,9 @@ scoped_ptr<InputInjector> InputInjector::Create(
return injector.Pass();
}
+// static
+bool InputInjector::SupportsTouchEvents() {
+ return false;
+}
+
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698