#include "ui/ozone/platform/wayland/test/mock_zwp_linux_dmabuf.h"
#include <linux-dmabuf-unstable-v1-server-protocol.h>
#include <wayland-server-core.h>
#include "base/not_fatal_until.h"
#include "base/ranges/algorithm.h"
#include "ui/ozone/platform/wayland/test/test_buffer.h"
#include "ui/ozone/platform/wayland/test/test_zwp_linux_buffer_params.h"
namespace wl {
namespace {
constexpr uint32_t kLinuxDmabufVersion = …;
void CreateParams(wl_client* client, wl_resource* resource, uint32_t id) { … }
}
const struct zwp_linux_dmabuf_v1_interface kMockZwpLinuxDmabufV1Impl = …;
MockZwpLinuxDmabufV1::MockZwpLinuxDmabufV1()
: … { … }
MockZwpLinuxDmabufV1::~MockZwpLinuxDmabufV1() { … }
void MockZwpLinuxDmabufV1::StoreBufferParams(
TestZwpLinuxBufferParamsV1* params) { … }
void MockZwpLinuxDmabufV1::OnBufferParamsDestroyed(
TestZwpLinuxBufferParamsV1* params) { … }
}