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..b8010ff3e05a9a238e46da047aaecb6037806f63 100644 |
| --- a/remoting/host/input_injector.h |
| +++ b/remoting/host/input_injector.h |
| @@ -31,6 +31,12 @@ class InputInjector : public protocol::ClipboardStub, |
| // Initialises any objects needed to execute events. |
| virtual void Start( |
| scoped_ptr<protocol::ClipboardStub> client_clipboard) = 0; |
| + |
| + virtual bool CanInjectTouch() = 0; |
|
Wez
2015/04/09 22:58:59
Add a comment e.g. "Returns true iff the InputInje
Rintaro Kuroiwa
2015/04/20 18:20:03
Done.
|
| + |
| + protected: |
| + // Most implementations of CanInjectTouch() will call this. |
| + static bool DefaultCanInjectTouch(); |
|
Wez
2015/04/09 22:58:59
If "most" implementations will call this then why
Rintaro Kuroiwa
2015/04/20 18:20:03
Removed.
|
| }; |
| } // namespace remoting |