| Index: ui/events/test/event_generator.h
|
| diff --git a/ui/events/test/event_generator.h b/ui/events/test/event_generator.h
|
| index c20dc79a8570363c0b1e539af36b561a230a8ec0..8d40e577ca47ddb829024a52486f4f44fcb146d2 100644
|
| --- a/ui/events/test/event_generator.h
|
| +++ b/ui/events/test/event_generator.h
|
| @@ -239,6 +239,17 @@ class EventGenerator {
|
| // Set radius of touch PointerDetails.
|
| void SetTouchRadius(float x, float y);
|
|
|
| + // Set tilt of touch PointerDetails.
|
| + void SetTouchTilt(float x, float y);
|
| +
|
| + // Set pointer type of touch PointerDetails.
|
| + void SetTouchPointerType(ui::EventPointerType type) {
|
| + touch_pointer_details_.pointer_type = type;
|
| + }
|
| +
|
| + // Set force of touch PointerDetails.
|
| + void SetTouchForce(float force) { touch_pointer_details_.force = force; }
|
| +
|
| // Generates a touch press event.
|
| void PressTouch();
|
|
|
|
|