OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_AURA_TEST_AURA_TEST_UTILS_H_ | 5 #ifndef UI_AURA_TEST_X11_EVENT_SENDER_H_ |
6 #define UI_AURA_TEST_AURA_TEST_UTILS_H_ | 6 #define UI_AURA_TEST_X11_EVENT_SENDER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "ui/gfx/x/x11_types.h" |
9 | 9 |
10 namespace gfx { | 10 typedef union _XEvent XEvent; |
sky
2014/11/07 15:50:14
using?
sadrul
2014/11/07 17:03:15
Done.
| |
11 class Point; | |
12 } | |
13 | 11 |
14 namespace aura { | 12 namespace aura { |
13 | |
15 class WindowTreeHost; | 14 class WindowTreeHost; |
16 | 15 |
17 namespace test { | 16 namespace test { |
18 | 17 |
19 const gfx::Point& QueryLatestMousePositionRequestInHost(WindowTreeHost* host); | 18 void PostEventToWindowTreeHost(const XEvent& xevent, WindowTreeHost* host); |
20 | 19 |
21 } // namespace test | 20 } // namespace test |
22 } // namespace aura | 21 } // namespace aura |
23 | 22 |
24 #endif // UI_AURA_TEST_AURA_TEST_UTILS_H_ | 23 #endif // UI_AURA_TEST_X11_EVENT_SENDER_H_ |
OLD | NEW |