blob: 1263230f42c30f1b91a20f28789591991037692f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright (c) 2011 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 {
namespace internal {
void ClickTask(MouseButton button, int state, const base::Closure& followup) {
if (!followup.is_null())
SendMouseEventsNotifyWhenDone(button, state, followup);
else
SendMouseEvents(button, state);
}
} // namespace internal
} // namespace ui_controls
|