#include <linux/input.h>
#include "base/memory/raw_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/ozone/platform/wayland/host/wayland_event_source.h"
#include "ui/ozone/platform/wayland/host/wayland_seat.h"
#include "ui/ozone/platform/wayland/test/mock_pointer.h"
#include "ui/ozone/platform/wayland/test/mock_surface.h"
#include "ui/ozone/platform/wayland/test/test_keyboard.h"
#include "ui/ozone/platform/wayland/test/test_touch.h"
#include "ui/ozone/platform/wayland/test/wayland_test.h"
#include "ui/ozone/test/mock_platform_window_delegate.h"
_;
Values;
namespace ui {
namespace {
constexpr gfx::Rect kDefaultBounds(0, 0, 100, 100);
}
class WaylandEventSourceTest : public WaylandTestSimple { … };
TEST_F(WaylandEventSourceTest, CheckPointerButtonHandling) { … }
TEST_F(WaylandEventSourceTest, DeleteBeforeTouchFrame) { … }
TEST_F(WaylandEventSourceTest, IgnoreReleaseWithoutPress) { … }
TEST_F(WaylandEventSourceTest, ReleasesAllPressedPointerButtons) { … }
}