#include "ui/ozone/platform/wayland/host/zwp_idle_inhibit_manager.h"
#include <idle-inhibit-unstable-v1-client-protocol.h>
#include "base/logging.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"
namespace ui {
namespace {
constexpr uint32_t kMinVersion = …;
}
constexpr char ZwpIdleInhibitManager::kInterfaceName[];
void ZwpIdleInhibitManager::Instantiate(WaylandConnection* connection,
wl_registry* registry,
uint32_t name,
const std::string& interface,
uint32_t version) { … }
ZwpIdleInhibitManager::ZwpIdleInhibitManager(
zwp_idle_inhibit_manager_v1* manager,
WaylandConnection* connection)
: … { … }
ZwpIdleInhibitManager::~ZwpIdleInhibitManager() = default;
wl::Object<zwp_idle_inhibitor_v1> ZwpIdleInhibitManager::CreateInhibitor(
wl_surface* surface) { … }
}