#include "ui/ozone/platform/x11/x11_ozone_ui_controls_test_helper.h"
#include "ui/aura/window_tree_host.h"
namespace ui {
X11OzoneUIControlsTestHelper::X11OzoneUIControlsTestHelper() = default;
X11OzoneUIControlsTestHelper::~X11OzoneUIControlsTestHelper() = default;
void X11OzoneUIControlsTestHelper::Reset() { … }
bool X11OzoneUIControlsTestHelper::SupportsScreenCoordinates() const { … }
unsigned X11OzoneUIControlsTestHelper::ButtonDownMask() const { … }
void X11OzoneUIControlsTestHelper::SendKeyEvents(gfx::AcceleratedWidget widget,
ui::KeyboardCode key,
int key_event_types,
int accelerator_state,
base::OnceClosure closure) { … }
void X11OzoneUIControlsTestHelper::SendMouseMotionNotifyEvent(
gfx::AcceleratedWidget widget,
const gfx::Point& mouse_loc,
const gfx::Point& mouse_loc_in_screen,
base::OnceClosure closure) { … }
void X11OzoneUIControlsTestHelper::SendMouseEvent(
gfx::AcceleratedWidget widget,
ui_controls::MouseButton type,
int button_state,
int accelerator_state,
const gfx::Point& mouse_loc,
const gfx::Point& mouse_loc_in_screen,
base::OnceClosure closure) { … }
void X11OzoneUIControlsTestHelper::RunClosureAfterAllPendingUIEvents(
base::OnceClosure closure) { … }
bool X11OzoneUIControlsTestHelper::MustUseUiControlsForMoveCursorTo() { … }
OzoneUIControlsTestHelper* CreateOzoneUIControlsTestHelperX11() { … }
}