Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/callback.h" | |
|
willchan no longer on Chromium
2011/11/28 20:13:07
This should go below the other include. foo.cc nee
erikwright (departed)
2011/11/28 20:23:09
Done.
| |
| 5 #include "chrome/browser/automation/ui_controls_internal.h" | 6 #include "chrome/browser/automation/ui_controls_internal.h" |
| 6 | 7 |
| 7 namespace ui_controls { | 8 namespace ui_controls { |
| 8 namespace internal { | 9 namespace internal { |
| 9 | 10 |
| 10 void ClickTask(MouseButton button, int state, const base::Closure& followup) { | 11 void ClickTask(MouseButton button, int state, const base::Closure& followup) { |
| 11 if (!followup.is_null()) | 12 if (!followup.is_null()) |
| 12 SendMouseEventsNotifyWhenDone(button, state, followup); | 13 SendMouseEventsNotifyWhenDone(button, state, followup); |
| 13 else | 14 else |
| 14 SendMouseEvents(button, state); | 15 SendMouseEvents(button, state); |
| 15 } | 16 } |
| 16 | 17 |
| 17 } // namespace internal | 18 } // namespace internal |
| 18 } // namespace ui_controls | 19 } // namespace ui_controls |
| OLD | NEW |