| Index: ui/base/test/ui_controls_win.cc
|
| diff --git a/ui/base/test/ui_controls_win.cc b/ui/base/test/ui_controls_win.cc
|
| index f70c4336a4852b6407258a66d611f54b0071a690..ed3b85f87bbe4ffa6f7737b9dc8ee5f5e751b4df 100644
|
| --- a/ui/base/test/ui_controls_win.cc
|
| +++ b/ui/base/test/ui_controls_win.cc
|
| @@ -66,6 +66,20 @@ bool SendMouseClick(MouseButton type) {
|
| return internal::SendMouseEventsImpl(type, UP | DOWN, base::Closure());
|
| }
|
|
|
| +bool SendTouchEvents(int action, int num, int x, int y) {
|
| + CHECK(g_ui_controls_enabled);
|
| + return internal::SendTouchEventsImpl(action, num, x, y, base::Closure());
|
| +}
|
| +
|
| +bool SendTouchEventsNotifyWhenDone(int action,
|
| + int num,
|
| + int x,
|
| + int y,
|
| + const base::Closure& task) {
|
| + CHECK(g_ui_controls_enabled);
|
| + return internal::SendTouchEventsImpl(action, num, x, y, task);
|
| +}
|
| +
|
| void RunClosureAfterAllPendingUIEvents(const base::Closure& closure) {
|
| // On windows, posting UI events is synchronous so just post the closure.
|
| base::MessageLoopForUI::current()->PostTask(FROM_HERE, closure);
|
|
|