#ifndef UI_EVENTS_X_X11_EVENT_TRANSLATION_H_
#define UI_EVENTS_X_X11_EVENT_TRANSLATION_H_
#include <memory>
#include "base/component_export.h"
#include "ui/events/event.h"
#include "ui/events/events_export.h"
#include "ui/gfx/x/event.h"
namespace ui {
class Event;
class KeyEvent;
class MouseEvent;
class MouseWheelEvent;
class TouchEvent;
EVENTS_EXPORT std::unique_ptr<Event> BuildEventFromXEvent(
const x11::Event& xev);
EVENTS_EXPORT std::unique_ptr<KeyEvent> BuildKeyEventFromXEvent(
const x11::Event& xev);
EVENTS_EXPORT std::unique_ptr<MouseEvent> BuildMouseEventFromXEvent(
const x11::Event& xev);
EVENTS_EXPORT std::unique_ptr<MouseWheelEvent> BuildMouseWheelEventFromXEvent(
const x11::Event& xev);
EVENTS_EXPORT std::unique_ptr<TouchEvent> BuildTouchEventFromXEvent(
const x11::Event& xev);
}
#endif