| Index: remoting/client/ui/input_strategy.h
|
| diff --git a/remoting/client/ui/input_strategy.h b/remoting/client/ui/input_strategy.h
|
| index 9bab1c383fb94f3cfc8f4a6a88aef339b7a0acb7..293ed0a626767cf27ec6204cb536cf3c1c06e3f2 100644
|
| --- a/remoting/client/ui/input_strategy.h
|
| +++ b/remoting/client/ui/input_strategy.h
|
| @@ -47,7 +47,11 @@ class InputStrategy {
|
| // Called when a touch input (which will end up injecting a mouse event at
|
| // certain position in the host) is done at |touch_point|.
|
| // The implementation should move the cursor to proper position.
|
| - virtual void TrackTouchInput(const ViewMatrix::Point& touch_point,
|
| + //
|
| + // Returns true if |touch_point| is a valid input, false otherwise. If the
|
| + // input is not valid, the implementation should not change its cursor
|
| + // position.
|
| + virtual bool TrackTouchInput(const ViewMatrix::Point& touch_point,
|
| const DesktopViewport& viewport) = 0;
|
|
|
| // Returns the current cursor position.
|
|
|