Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1126)

Side by Side Diff: chrome/browser/automation/ui_controls_aura.cc

Issue 8585015: Implement ui_controls for aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no mask for xsendevent Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/automation/ui_controls_aurawin.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/ui_controls_aurawin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698