Chromium Code Reviews| 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; |