#include "ui/ozone/platform/wayland/host/wayland_buffer_backing_single_pixel.h"
#include "ui/ozone/platform/wayland/host/single_pixel_buffer.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"
namespace ui {
WaylandBufferBackingSinglePixel::WaylandBufferBackingSinglePixel(
const WaylandConnection* connection,
SkColor4f color,
uint32_t buffer_id)
: … { … }
WaylandBufferBackingSinglePixel::~WaylandBufferBackingSinglePixel() = default;
void WaylandBufferBackingSinglePixel::RequestBufferHandle(
base::OnceCallback<void(wl::Object<wl_buffer>)> callback) { … }
WaylandBufferBacking::BufferBackingType
WaylandBufferBackingSinglePixel::GetBackingType() const { … }
}