summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/ui_controls_aura.cc
blob: c5a7ed752194a926feca8ae3954c3d5f12cb2205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// 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.h"

#include "base/logging.h"
#include "views/view.h"

namespace ui_controls {

bool SendKeyPress(gfx::NativeWindow window,
                  ui::KeyboardCode key,
                  bool control,
                  bool shift,
                  bool alt,
                  bool command) {
  NOTIMPLEMENTED();
  return true;
}

bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window,
                                ui::KeyboardCode key,
                                bool control,
                                bool shift,
                                bool alt,
                                bool command,
                                Task* task) {
  NOTIMPLEMENTED();
  return true;
}

bool SendMouseMove(long x, long y) {
  NOTIMPLEMENTED();
  return true;
}

bool SendMouseMoveNotifyWhenDone(long x, long y, Task* task) {
  NOTIMPLEMENTED();
  return true;
}

bool SendMouseEvents(MouseButton type, int state) {
  NOTIMPLEMENTED();
  return true;
}

bool SendMouseEventsNotifyWhenDone(MouseButton type, int state, Task* task) {
  NOTIMPLEMENTED();
  return true;
}

bool SendMouseClick(MouseButton type) {
  return SendMouseEvents(type, UP | DOWN);
}

void MoveMouseToCenterAndPress(views::View* view, MouseButton button,
                               int state, Task* task) {
  NOTIMPLEMENTED();
}

}  // namespace ui_controls