Home | History | Annotate | Download | only in automation

Lines Matching refs:Task

10 #include "base/task.h"
22 // appropriate event is received the task is notified.
25 InputDispatcher(Task* task, WPARAM message_waiting_for);
32 // an event that notifies the task.
40 // Notifies the task and release this (which should delete it).
43 // The task we notify.
44 scoped_ptr<Task> task_;
110 InputDispatcher::InputDispatcher(Task* task, UINT message_waiting_for)
111 : task_(task), message_waiting_for_(message_waiting_for) {
167 Task* task) {
169 task ? new InputDispatcher(task, WM_KEYUP) : NULL);
242 bool SendMouseMoveImpl(long x, long y, Task* task) {
247 if (task)
248 MessageLoop::current()->PostTask(FROM_HERE, task);
265 task ? new InputDispatcher(task, WM_MOUSEMOVE) : NULL);
276 bool SendMouseEventsImpl(MouseButton type, int state, Task* task) {
306 task ? new InputDispatcher(task, last_event) : NULL);
344 Task* task) {
346 return SendKeyPressImpl(key, control, shift, alt, task);
353 bool SendMouseMoveNotifyWhenDone(long x, long y, Task* task) {
354 return SendMouseMoveImpl(x, y, task);
361 bool SendMouseEventsNotifyWhenDone(MouseButton type, int state, Task* task) {
362 return SendMouseEventsImpl(type, state, task);
372 Task* task) {
378 SendMouseEventsNotifyWhenDone(button, state, task);