| Index: content/browser/renderer_host/input/synthetic_web_input_event_builders.cc
|
| diff --git a/content/browser/renderer_host/input/synthetic_web_input_event_builders.cc b/content/browser/renderer_host/input/synthetic_web_input_event_builders.cc
|
| index d6f782dafd8f153785b0bb3bc03c3036939a4975..09f38dc569762c30edcb43068a711f2523b62ee0 100644
|
| --- a/content/browser/renderer_host/input/synthetic_web_input_event_builders.cc
|
| +++ b/content/browser/renderer_host/input/synthetic_web_input_event_builders.cc
|
| @@ -168,6 +168,12 @@ void SyntheticWebTouchEvent::ReleasePoint(int index) {
|
| type = WebInputEvent::TouchEnd;
|
| }
|
|
|
| +void SyntheticWebTouchEvent::CancelPoint(int index) {
|
| + CHECK(index >= 0 && index < touchesLengthCap);
|
| + touches[index].state = WebTouchPoint::StateCancelled;
|
| + type = WebInputEvent::TouchCancel;
|
| +}
|
| +
|
| void SyntheticWebTouchEvent::SetTimestamp(base::TimeDelta timestamp) {
|
| timeStampSeconds = timestamp.InSecondsF();
|
| }
|
|
|