#include "ui/ozone/platform/wayland/host/proxy/wayland_proxy_impl.h"
#include "base/not_fatal_until.h"
#include "base/ranges/algorithm.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"
#include "ui/ozone/platform/wayland/host/wayland_shm_buffer.h"
#include "ui/ozone/platform/wayland/host/wayland_window.h"
namespace wl {
WaylandProxyImpl::WaylandProxyImpl(ui::WaylandConnection* connection)
: … { … }
WaylandProxyImpl::~WaylandProxyImpl() { … }
void WaylandProxyImpl::SetDelegate(WaylandProxy::Delegate* delegate) { … }
struct wl_registry* WaylandProxyImpl::GetRegistry() { … }
void WaylandProxyImpl::RoundTripQueue() { … }
wl_surface* WaylandProxyImpl::GetWlSurfaceForAcceleratedWidget(
gfx::AcceleratedWidget widget) { … }
ui::WaylandWindow* WaylandProxyImpl::GetWaylandWindowForAcceleratedWidget(
gfx::AcceleratedWidget widget) { … }
wl_buffer* WaylandProxyImpl::CreateShmBasedWlBuffer(
const gfx::Size& buffer_size) { … }
void WaylandProxyImpl::DestroyShmForWlBuffer(wl_buffer* buffer) { … }
void WaylandProxyImpl::FlushForTesting() { … }
ui::PlatformWindowType WaylandProxyImpl::GetWindowType(
gfx::AcceleratedWidget widget) { … }
bool WaylandProxyImpl::WindowHasPointerFocus(gfx::AcceleratedWidget widget) { … }
bool WaylandProxyImpl::WindowHasKeyboardFocus(gfx::AcceleratedWidget widget) { … }
void WaylandProxyImpl::OnWindowAdded(ui::WaylandWindow* window) { … }
void WaylandProxyImpl::OnWindowRemoved(ui::WaylandWindow* window) { … }
void WaylandProxyImpl::OnWindowConfigured(ui::WaylandWindow* window) { … }
void WaylandProxyImpl::OnWindowRoleAssigned(ui::WaylandWindow* window) { … }
}