Index: chrome/browser/automation/ui_controls_internal.h |
diff --git a/chrome/browser/automation/ui_controls_internal.h b/chrome/browser/automation/ui_controls_internal.h |
index 88631c963c70d4034f819fd3de7af58254971230..7299b9b05a503c11380b9bd26756615635830947 100644 |
--- a/chrome/browser/automation/ui_controls_internal.h |
+++ b/chrome/browser/automation/ui_controls_internal.h |
@@ -16,18 +16,9 @@ class ClickTask : public Task { |
public: |
// A |followup| Task can be specified to notify the caller when the mouse |
// click event is sent. If can be NULL if the caller does not care about it. |
- ClickTask(MouseButton button, int state, Task* followup) |
- : button_(button), state_(state), followup_(followup) { |
- } |
- |
- virtual ~ClickTask() {} |
- |
- virtual void Run() { |
- if (followup_) |
- SendMouseEventsNotifyWhenDone(button_, state_, followup_); |
- else |
- SendMouseEvents(button_, state_); |
- } |
+ ClickTask(MouseButton button, int state, Task* followup); |
+ virtual ~ClickTask(); |
+ virtual void Run(); |
private: |
MouseButton button_; |