| Index: chrome/browser/automation/ui_controls.h
|
| diff --git a/chrome/browser/automation/ui_controls.h b/chrome/browser/automation/ui_controls.h
|
| index 7d7b0bfa0dad7dbce2e6fab7a65788ad8ae51123..59c4b5d13122792317586cc43b988efa6eb6b6c4 100644
|
| --- a/chrome/browser/automation/ui_controls.h
|
| +++ b/chrome/browser/automation/ui_controls.h
|
| @@ -12,6 +12,7 @@
|
| #include <wtypes.h>
|
| #endif
|
|
|
| +#include "base/callback.h"
|
| #include "ui/base/keycodes/keyboard_codes.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "ui/gfx/point.h"
|
| @@ -57,11 +58,11 @@ bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window,
|
| bool shift,
|
| bool alt,
|
| bool command,
|
| - Task* task);
|
| + const base::Closure& task);
|
|
|
| // Simulate a mouse move. (x,y) are absolute screen coordinates.
|
| bool SendMouseMove(long x, long y);
|
| -bool SendMouseMoveNotifyWhenDone(long x, long y, Task* task);
|
| +bool SendMouseMoveNotifyWhenDone(long x, long y, const base::Closure& task);
|
|
|
| enum MouseButton {
|
| LEFT = 0,
|
| @@ -79,7 +80,8 @@ enum MouseButtonState {
|
| // the cursor currently is, so be sure to move the cursor before calling this
|
| // (and be sure the cursor has arrived!).
|
| bool SendMouseEvents(MouseButton type, int state);
|
| -bool SendMouseEventsNotifyWhenDone(MouseButton type, int state, Task* task);
|
| +bool SendMouseEventsNotifyWhenDone(MouseButton type, int state,
|
| + const base::Closure& task);
|
| // Same as SendMouseEvents with UP | DOWN.
|
| bool SendMouseClick(MouseButton type);
|
|
|
| @@ -95,7 +97,7 @@ void MoveMouseToCenterAndPress(
|
| #endif
|
| MouseButton button,
|
| int state,
|
| - Task* task);
|
| + const base::Closure& task);
|
|
|
| } // ui_controls
|
|
|
|
|