summaryrefslogtreecommitdiffstats
path: root/ui/aura/test/x11_event_sender.h
blob: 64720acc58284d52e1580b78faa59f76f3fe6e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_AURA_TEST_X11_EVENT_SENDER_H_
#define UI_AURA_TEST_X11_EVENT_SENDER_H_

#include "ui/gfx/x/x11_types.h"

using XEvent = union _XEvent;

namespace aura {

class WindowTreeHost;

namespace test {

void PostEventToWindowTreeHost(const XEvent& xevent, WindowTreeHost* host);

}  // namespace test
}  // namespace aura

#endif  // UI_AURA_TEST_X11_EVENT_SENDER_H_