Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1304)

Unified Diff: content/browser/renderer_host/input/synthetic_touchscreen_pinch_gesture.cc

Issue 2336803003: Make SyntheticPointerAction to flush the pointer action sequence (Closed)
Patch Set: controller Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/input/synthetic_touch_driver.cc ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/synthetic_touchscreen_pinch_gesture.cc
diff --git a/content/browser/renderer_host/input/synthetic_touchscreen_pinch_gesture.cc b/content/browser/renderer_host/input/synthetic_touchscreen_pinch_gesture.cc
index 708cb34955ff87b80597ef24dabe6292aa7805a5..8daff81a14c7d69fc08b60b5b4263a15425c335d 100644
--- a/content/browser/renderer_host/input/synthetic_touchscreen_pinch_gesture.cc
+++ b/content/browser/renderer_host/input/synthetic_touchscreen_pinch_gesture.cc
@@ -87,8 +87,8 @@ void SyntheticTouchscreenPinchGesture::ForwardTouchInputEvents(
void SyntheticTouchscreenPinchGesture::PressTouchPoints(
SyntheticGestureTarget* target,
const base::TimeTicks& timestamp) {
- synthetic_pointer_driver_->Press(params_.anchor.x(), start_y_0_);
- synthetic_pointer_driver_->Press(params_.anchor.x(), start_y_1_);
+ synthetic_pointer_driver_->Press(params_.anchor.x(), start_y_0_, 0);
+ synthetic_pointer_driver_->Press(params_.anchor.x(), start_y_1_, 1);
synthetic_pointer_driver_->DispatchEvent(target, timestamp);
}
« no previous file with comments | « content/browser/renderer_host/input/synthetic_touch_driver.cc ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698