| 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.h" | |
| 6 | |
| 7 #include "base/logging.h" | |
| 8 #include "views/view.h" | |
| 9 | |
| 10 namespace ui_controls { | |
| 11 | |
| 12 bool SendKeyPress(gfx::NativeWindow window, | |
| 13 ui::KeyboardCode key, | |
| 14 bool control, | |
| 15 bool shift, | |
| 16 bool alt, | |
| 17 bool command) { | |
| 18 // http://crbug.com/104396 | |
| 19 NOTIMPLEMENTED(); | |
| 20 return true; | |
| 21 } | |
| 22 | |
| 23 bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, | |
| 24 ui::KeyboardCode key, | |
| 25 bool control, | |
| 26 bool shift, | |
| 27 bool alt, | |
| 28 bool command, | |
| 29 const base::Closure& task) { | |
| 30 // http://crbug.com/104396 | |
| 31 NOTIMPLEMENTED(); | |
| 32 return true; | |
| 33 } | |
| 34 | |
| 35 bool SendMouseMove(long x, long y) { | |
| 36 // http://crbug.com/104396 | |
| 37 NOTIMPLEMENTED(); | |
| 38 return true; | |
| 39 } | |
| 40 | |
| 41 bool SendMouseMoveNotifyWhenDone(long x, long y, const base::Closure& task) { | |
| 42 // http://crbug.com/104396 | |
| 43 NOTIMPLEMENTED(); | |
| 44 return true; | |
| 45 } | |
| 46 | |
| 47 bool SendMouseEvents(MouseButton type, int state) { | |
| 48 // http://crbug.com/104396 | |
| 49 NOTIMPLEMENTED(); | |
| 50 return true; | |
| 51 } | |
| 52 | |
| 53 bool SendMouseEventsNotifyWhenDone(MouseButton type, int state, | |
| 54 const base::Closure& task) { | |
| 55 // http://crbug.com/104396 | |
| 56 NOTIMPLEMENTED(); | |
| 57 return true; | |
| 58 } | |
| 59 | |
| 60 bool SendMouseClick(MouseButton type) { | |
| 61 return SendMouseEvents(type, UP | DOWN); | |
| 62 } | |
| 63 | |
| 64 void MoveMouseToCenterAndPress(views::View* view, MouseButton button, | |
| 65 int state, const base::Closure& task) { | |
| 66 // http://crbug.com/104396 | |
| 67 NOTIMPLEMENTED(); | |
| 68 } | |
| 69 | |
| 70 } // namespace ui_controls | |
| OLD | NEW |