// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/test/x11_event_waiter.h" #include "base/task/single_thread_task_runner.h" #include "ui/gfx/x/atom_cache.h" #include "ui/gfx/x/xproto.h" namespace ui { // static XEventWaiter* XEventWaiter::Create(x11::Window window, base::OnceClosure callback) { … } // XEventWaiter implementation XEventWaiter::XEventWaiter(base::OnceClosure callback) : … { … } XEventWaiter::~XEventWaiter() { … } void XEventWaiter::OnEvent(const x11::Event& xev) { … } // Returns atom that indidates that the XEvent is marker event. x11::Atom XEventWaiter::MarkerEventAtom() { … } } // namespace ui