blob: 8cb5ec3685e8ba14e21eb7562d084971989c48d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/automation/ui_controls_internal.h"
namespace ui_controls {
void ClickTask(MouseButton button, int state, const base::Closure& followup) {
if (!followup.is_null())
SendMouseEventsNotifyWhenDone(button, state, followup);
else
SendMouseEvents(button, state);
}
} // ui_controls
|