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

Unified Diff: remoting/host/input_injector.h

Issue 1033913003: Touch Events capability negotiation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: back to setting a flag on DesktopEnvironmentFactory 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.h
diff --git a/remoting/host/input_injector.h b/remoting/host/input_injector.h
index ec3078c72f865449795a484fee35993fd63a2b1c..1d2ca71ec544e38e1e588a880332a2310a701259 100644
--- a/remoting/host/input_injector.h
+++ b/remoting/host/input_injector.h
@@ -28,6 +28,10 @@ class InputInjector : public protocol::ClipboardStub,
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
+ // Returns true iff the platform supports touch injection and the
+ // InputInjector implements InjectTouchEvent().
Wez 2015/04/21 02:12:12 Suggest "Returns true if the InputInjector returne
Rintaro Kuroiwa 2015/04/22 19:55:59 Done.
+ static bool CanInjectTouch();
Wez 2015/04/21 02:12:12 nit: We typically name these in the style Supports
Rintaro Kuroiwa 2015/04/22 19:55:59 Will go with SupportsRawTouchEvents().
+
// Initialises any objects needed to execute events.
virtual void Start(
scoped_ptr<protocol::ClipboardStub> client_clipboard) = 0;

Powered by Google App Engine
This is Rietveld 408576698