#include "ui/ozone/platform/wayland/host/wayland_buffer_backing_shm.h"
#include "build/chromeos_buildflags.h"
#include "ui/ozone/platform/wayland/host/wayland_buffer_factory.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"
namespace ui {
WaylandBufferBackingShm::WaylandBufferBackingShm(
const WaylandConnection* connection,
base::ScopedFD fd,
uint64_t length,
const gfx::Size& size,
uint32_t buffer_id)
: … { … }
WaylandBufferBackingShm::~WaylandBufferBackingShm() = default;
void WaylandBufferBackingShm::RequestBufferHandle(
base::OnceCallback<void(wl::Object<wl_buffer>)> callback) { … }
WaylandBufferBacking::BufferBackingType
WaylandBufferBackingShm::GetBackingType() const { … }
}