Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / ui / aura / test / x11_event_sender.h
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
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_TEST_X11_EVENT_SENDER_H_
6 #define UI_AURA_TEST_X11_EVENT_SENDER_H_
7
8 #include "ui/gfx/x/x11_types.h"
9
10 using XEvent = union _XEvent;
11
12 namespace aura {
13
14 class WindowTreeHost;
15
16 namespace test {
17
18 void PostEventToWindowTreeHost(const XEvent& xevent, WindowTreeHost* host);
19
20 }  // namespace test
21 }  // namespace aura
22
23 #endif  // UI_AURA_TEST_X11_EVENT_SENDER_H_