chromium/ui/ozone/platform/wayland/host/wayland_zaura_surface.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/ozone/platform/wayland/host/wayland_zaura_surface.h"

#include "base/numerics/safe_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"

namespace ui {

PlatformWindowOcclusionState
WaylandOcclusionStateToPlatformWindowOcclusionState(uint32_t mode) {}

WaylandZAuraSurface::WaylandZAuraSurface(zaura_shell* zaura_shell,
                                         wl_surface* wl_surface,
                                         WaylandConnection* connection)
    :{}

WaylandZAuraSurface::~WaylandZAuraSurface() = default;

bool WaylandZAuraSurface::SetFrame(zaura_surface_frame_type type) {}

bool WaylandZAuraSurface::SetOcclusionTracking() {}

bool WaylandZAuraSurface::Activate() {}

bool WaylandZAuraSurface::SetFullscreenMode(
    zaura_surface_fullscreen_mode mode) {}

bool WaylandZAuraSurface::SetServerStartResize() {}

bool WaylandZAuraSurface::IntentToSnap(
    zaura_surface_snap_direction snap_direction) {}

bool WaylandZAuraSurface::SetSnapLeft() {}

bool WaylandZAuraSurface::SetSnapRight() {}

bool WaylandZAuraSurface::UnsetSnap() {}

bool WaylandZAuraSurface::SetCanGoBack() {}

bool WaylandZAuraSurface::UnsetCanGoBack() {}

bool WaylandZAuraSurface::SetPip() {}

bool WaylandZAuraSurface::SetAspectRatio(float width, float height) {}

bool WaylandZAuraSurface::MoveToDesk(int index) {}

bool WaylandZAuraSurface::SetInitialWorkspace(int workspace) {}

bool WaylandZAuraSurface::SetPin(bool trusted) {}

bool WaylandZAuraSurface::UnsetPin() {}

bool WaylandZAuraSurface::ShowTooltip(const std::u16string& text,
                                      const gfx::Point& position,
                                      zaura_surface_tooltip_trigger trigger,
                                      const base::TimeDelta& show_delay,
                                      const base::TimeDelta& hide_delay) {}

bool WaylandZAuraSurface::HideTooltip() {}

bool WaylandZAuraSurface::SupportsActivate() const {}

bool WaylandZAuraSurface::SupportsSetServerStartResize() const {}

bool WaylandZAuraSurface::SupportsUnsetSnap() const {}

bool WaylandZAuraSurface::IsSupported(uint32_t version) const {}

// static.
void WaylandZAuraSurface::OnOcclusionChanged(void* data,
                                             zaura_surface* surface,
                                             wl_fixed_t occlusion_fraction,
                                             uint32_t occlusion_reason) {}

// static.
void WaylandZAuraSurface::OnLockFrameNormal(void* data,
                                            zaura_surface* surface) {}

// static.
void WaylandZAuraSurface::OnUnlockFrameNormal(void* data,
                                              zaura_surface* surface) {}

// static.
void WaylandZAuraSurface::OnOcclusionStateChanged(void* data,
                                                  zaura_surface* surface,
                                                  uint32_t mode) {}

// static.
void WaylandZAuraSurface::OnDeskChanged(void* data,
                                        zaura_surface* surface,
                                        int state) {}

// static.
void WaylandZAuraSurface::OnStartThrottle(void* data, zaura_surface* surface) {}

// static.
void WaylandZAuraSurface::OnEndThrottle(void* data, zaura_surface* surface) {}

// static.
void WaylandZAuraSurface::OnTooltipShown(void* data,
                                         zaura_surface* surface,
                                         const char* text,
                                         int32_t x,
                                         int32_t y,
                                         int32_t width,
                                         int32_t height) {}

// static.
void WaylandZAuraSurface::OnTooltipHidden(void* data, zaura_surface* surface) {}

}  // namespace ui