diff options
Diffstat (limited to 'chrome/browser/automation/ui_controls_aura.cc')
-rw-r--r-- | chrome/browser/automation/ui_controls_aura.cc | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/chrome/browser/automation/ui_controls_aura.cc b/chrome/browser/automation/ui_controls_aura.cc new file mode 100644 index 0000000..c5a7ed7 --- /dev/null +++ b/chrome/browser/automation/ui_controls_aura.cc @@ -0,0 +1,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 |