chromium/ui/events/platform/x11/x11_event_watcher_glib.h

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_EVENTS_PLATFORM_X11_X11_EVENT_WATCHER_GLIB_H_
#define UI_EVENTS_PLATFORM_X11_X11_EVENT_WATCHER_GLIB_H_

#include <memory>

#include "base/memory/raw_ptr.h"
#include "ui/events/platform/x11/x11_event_source.h"

GPollFD;
GSource;

namespace ui {

// A X11EventWatcher implementation which uses a Glib GSource API to be
// notified for incoming XEvents. It must run in the browser process' main
// thread when use_glib GN flag is set (i.e: MessagePumpGlib is in place).
class X11EventWatcherGlib : public X11EventWatcher {};

}  // namespace ui

#endif  // UI_EVENTS_PLATFORM_X11_X11_EVENT_WATCHER_GLIB_H_