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

Side by Side Diff: ui/base/test/ui_controls_internal_win.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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
« no previous file with comments | « ui/base/test/ui_controls_aura.cc ('k') | ui/base/test/ui_controls_internal_win.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 2013 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 UI_BASE_TEST_UI_CONTROLS_INTERNAL_WIN_H_
6 #define UI_BASE_TEST_UI_CONTROLS_INTERNAL_WIN_H_
7
8 #include "base/callback_forward.h"
9 #include "ui/base/test/ui_controls.h"
10
11 namespace ui_controls {
12 namespace internal {
13
14 // A utility functions for windows to send key or mouse events and
15 // run the task. These functions are internal, but exported so that
16 // aura implementation can use these utility functions.
17 bool SendKeyPressImpl(HWND hwnd,
18 ui::KeyboardCode key,
19 bool control,
20 bool shift,
21 bool alt,
22 const base::Closure& task);
23 bool SendMouseMoveImpl(long screen_x, long screen_y, const base::Closure& task);
24 bool SendMouseEventsImpl(MouseButton type,
25 int state,
26 const base::Closure& task);
27 void RunClosureAfterAllPendingUITasksImpl(const base::Closure& task);
28
29 } // namespace internal
30 } // namespace ui_controls
31
32 #endif // UI_BASE_TEST_UI_CONTROLS_INTERNAL_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/test/ui_controls_aura.cc ('k') | ui/base/test/ui_controls_internal_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698