Index: ui/aura/test/x11_event_sender.h |
diff --git a/ui/aura/test/aura_test_utils.h b/ui/aura/test/x11_event_sender.h |
similarity index 50% |
copy from ui/aura/test/aura_test_utils.h |
copy to ui/aura/test/x11_event_sender.h |
index ec94b3c3dbc6ca6931085eb4e249da1cdcd1327b..64720acc58284d52e1580b78faa59f76f3fe6e02 100644 |
--- a/ui/aura/test/aura_test_utils.h |
+++ b/ui/aura/test/x11_event_sender.h |
@@ -2,23 +2,22 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef UI_AURA_TEST_AURA_TEST_UTILS_H_ |
-#define UI_AURA_TEST_AURA_TEST_UTILS_H_ |
+#ifndef UI_AURA_TEST_X11_EVENT_SENDER_H_ |
+#define UI_AURA_TEST_X11_EVENT_SENDER_H_ |
-#include "base/macros.h" |
+#include "ui/gfx/x/x11_types.h" |
-namespace gfx { |
-class Point; |
-} |
+using XEvent = union _XEvent; |
namespace aura { |
+ |
class WindowTreeHost; |
namespace test { |
-const gfx::Point& QueryLatestMousePositionRequestInHost(WindowTreeHost* host); |
+void PostEventToWindowTreeHost(const XEvent& xevent, WindowTreeHost* host); |
} // namespace test |
} // namespace aura |
-#endif // UI_AURA_TEST_AURA_TEST_UTILS_H_ |
+#endif // UI_AURA_TEST_X11_EVENT_SENDER_H_ |