| Index: ui/aura/test/event_generator.cc
|
| diff --git a/ui/aura/test/event_generator.cc b/ui/aura/test/event_generator.cc
|
| index 8ee8085400b30ba5b3207f6c46b724ee8aa749a7..de4318e84d609afc93ce818ee0209acea40c264d 100644
|
| --- a/ui/aura/test/event_generator.cc
|
| +++ b/ui/aura/test/event_generator.cc
|
| @@ -230,6 +230,16 @@ void EventGenerator::MoveTouchId(const gfx::Point& point, int touch_id) {
|
| UpdateCurrentDispatcher(point);
|
| }
|
|
|
| +void EventGenerator::StationaryTouch() {
|
| + StationaryTouchId(0);
|
| +}
|
| +
|
| +void EventGenerator::StationaryTouchId(int touch_id) {
|
| + TestTouchEvent touchev(
|
| + ui::ET_TOUCH_STATIONARY, GetLocationInCurrentRoot(), touch_id, flags_);
|
| + Dispatch(&touchev);
|
| +}
|
| +
|
| void EventGenerator::ReleaseTouch() {
|
| ReleaseTouchId(0);
|
| }
|
|
|