| Index: content/browser/renderer_host/input/synthetic_touch_driver.cc
|
| diff --git a/content/browser/renderer_host/input/synthetic_touch_driver.cc b/content/browser/renderer_host/input/synthetic_touch_driver.cc
|
| index 2926c575eb6781775ca82b6f4263f7011f6291bc..522208c0fb242b38542a9d19388534ccfcec5328 100644
|
| --- a/content/browser/renderer_host/input/synthetic_touch_driver.cc
|
| +++ b/content/browser/renderer_host/input/synthetic_touch_driver.cc
|
| @@ -27,7 +27,10 @@ void SyntheticTouchDriver::DispatchEvent(SyntheticGestureTarget* target,
|
| touch_event_.ResetPoints();
|
| }
|
|
|
| -void SyntheticTouchDriver::Press(float x, float y, int index) {
|
| +void SyntheticTouchDriver::Press(float x,
|
| + float y,
|
| + int index,
|
| + SyntheticPointerActionParams::Button button) {
|
| DCHECK_GE(index, 0);
|
| DCHECK_LT(index, blink::WebTouchEvent::kTouchesLengthCap);
|
| int touch_index = touch_event_.PressPoint(x, y);
|
| @@ -40,7 +43,9 @@ void SyntheticTouchDriver::Move(float x, float y, int index) {
|
| touch_event_.MovePoint(index_map_[index], x, y);
|
| }
|
|
|
| -void SyntheticTouchDriver::Release(int index) {
|
| +void SyntheticTouchDriver::Release(
|
| + int index,
|
| + SyntheticPointerActionParams::Button button) {
|
| DCHECK_GE(index, 0);
|
| DCHECK_LT(index, blink::WebTouchEvent::kTouchesLengthCap);
|
| touch_event_.ReleasePoint(index_map_[index]);
|
|
|