#include "ui/ozone/platform/wayland/test/test_data_source.h"
#include <wayland-server-core.h>
#include <memory>
#include <string>
#include "base/logging.h"
#include "base/memory/raw_ptr.h"
#include "ui/ozone/platform/wayland/test/test_selection_device_manager.h"
#include "ui/ozone/platform/wayland/test/test_wayland_server_thread.h"
namespace wl {
namespace {
void DataSourceDestroy(wl_client* client, wl_resource* resource) { … }
void DataSourceSetActions(wl_client* client,
wl_resource* resource,
uint32_t dnd_actions) { … }
struct WlDataSourceImpl : public TestSelectionSource::Delegate { … };
}
const struct wl_data_source_interface kTestDataSourceImpl = …;
TestDataSource::TestDataSource(wl_resource* resource)
: … { … }
TestDataSource::~TestDataSource() = default;
void TestDataSource::SetActions(uint32_t dnd_actions) { … }
}