| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/automation/ui_controls_internal.h" | |
| 6 | |
| 7 #include "base/callback.h" | |
| 8 | |
| 9 namespace ui_controls { | |
| 10 namespace internal { | |
| 11 | |
| 12 void ClickTask(MouseButton button, int state, const base::Closure& followup) { | |
| 13 if (!followup.is_null()) | |
| 14 SendMouseEventsNotifyWhenDone(button, state, followup); | |
| 15 else | |
| 16 SendMouseEvents(button, state); | |
| 17 } | |
| 18 | |
| 19 } // namespace internal | |
| 20 } // namespace ui_controls | |
| OLD | NEW |