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

Side by Side Diff: chrome/browser/automation/ui_controls_internal.h

Issue 9390038: Move automation/ui_controls to ui/ui_controls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win_aura fix, sync Created 8 years, 9 months 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_AUTOMATION_UI_CONTROLS_INTERNAL_H_
6 #define CHROME_BROWSER_AUTOMATION_UI_CONTROLS_INTERNAL_H_
7
8 #include "base/callback_forward.h"
9 #include "chrome/browser/automation/ui_controls.h"
10
11 namespace ui_controls {
12 namespace internal {
13
14 // A utility function to send a mouse click event in a closure. It's shared by
15 // ui_controls_linux.cc and ui_controls_mac.cc
16 void ClickTask(MouseButton button, int state, const base::Closure& followup);
17
18 #if defined(OS_WIN)
19 // A utility functions for windows to send key or mouse events and
20 // run the task.
21 bool SendKeyPressImpl(gfx::NativeWindow window,
22 ui::KeyboardCode key,
23 bool control,
24 bool shift,
25 bool alt,
26 const base::Closure& task);
27 bool SendMouseMoveImpl(long x, long y, const base::Closure& task);
28 bool SendMouseEventsImpl(MouseButton type,
29 int state,
30 const base::Closure& task);
31 void RunClosureAfterAllPendingUITasksImpl(const base::Closure& task);
32 #endif
33
34 } // namespace internal
35 } // namespace ui_controls
36
37 #endif // CHROME_BROWSER_AUTOMATION_UI_CONTROLS_INTERNAL_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/ui_controls_gtk.cc ('k') | chrome/browser/automation/ui_controls_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698