#include "ui/ozone/platform/wayland/host/gtk_shell1.h"
#include <gtk-shell-client-protocol.h>
#include "base/logging.h"
#include "base/metrics/histogram_functions.h"
#include "ui/ozone/platform/wayland/host/gtk_surface1.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"
namespace ui {
namespace {
constexpr uint32_t kMinVersion = …;
constexpr uint32_t kMaxVersion = …;
}
constexpr char GtkShell1::kInterfaceName[];
void GtkShell1::Instantiate(WaylandConnection* connection,
wl_registry* registry,
uint32_t name,
const std::string& interface,
uint32_t version) { … }
GtkShell1::GtkShell1(gtk_shell1* shell1) : … { … }
GtkShell1::~GtkShell1() = default;
std::unique_ptr<GtkSurface1> GtkShell1::GetGtkSurface1(
wl_surface* top_level_window_surface) { … }
void GtkShell1::SetStartupId(const std::string& startup_id) { … }
}