#include "ui/platform_window/stub/stub_window.h"
#include "base/memory/scoped_refptr.h"
#include "base/notreached.h"
#include "ui/base/cursor/platform_cursor.h"
#include "ui/display/types/display_constants.h"
#include "ui/platform_window/platform_window_delegate.h"
namespace ui {
StubWindow::StubWindow(PlatformWindowDelegate* delegate,
bool use_default_accelerated_widget,
const gfx::Rect& bounds)
: … { … }
StubWindow::StubWindow(const gfx::Rect& bounds) : … { … }
StubWindow::~StubWindow() = default;
void StubWindow::InitDelegate(PlatformWindowDelegate* delegate,
bool use_default_accelerated_widget) { … }
void StubWindow::InitDelegateWithWidget(PlatformWindowDelegate* delegate,
gfx::AcceleratedWidget widget) { … }
void StubWindow::Show(bool inactive) { … }
void StubWindow::Hide() { … }
void StubWindow::Close() { … }
bool StubWindow::IsVisible() const { … }
void StubWindow::PrepareForShutdown() { … }
void StubWindow::SetBoundsInPixels(const gfx::Rect& bounds) { … }
gfx::Rect StubWindow::GetBoundsInPixels() const { … }
void StubWindow::SetBoundsInDIP(const gfx::Rect& bounds) { … }
gfx::Rect StubWindow::GetBoundsInDIP() const { … }
void StubWindow::SetTitle(const std::u16string& title) { … }
void StubWindow::SetCapture() { … }
void StubWindow::ReleaseCapture() { … }
bool StubWindow::HasCapture() const { … }
void StubWindow::SetFullscreen(bool fullscreen, int64_t target_display_id) { … }
void StubWindow::Maximize() { … }
void StubWindow::Minimize() { … }
void StubWindow::Restore() { … }
PlatformWindowState StubWindow::GetPlatformWindowState() const { … }
void StubWindow::Activate() { … }
void StubWindow::Deactivate() { … }
void StubWindow::SetUseNativeFrame(bool use_native_frame) { … }
bool StubWindow::ShouldUseNativeFrame() const { … }
void StubWindow::SetCursor(scoped_refptr<PlatformCursor> cursor) { … }
void StubWindow::MoveCursorTo(const gfx::Point& location) { … }
void StubWindow::ConfineCursorToBounds(const gfx::Rect& bounds) { … }
void StubWindow::SetRestoredBoundsInDIP(const gfx::Rect& bounds) { … }
gfx::Rect StubWindow::GetRestoredBoundsInDIP() const { … }
void StubWindow::SetWindowIcons(const gfx::ImageSkia& window_icon,
const gfx::ImageSkia& app_icon) { … }
void StubWindow::SizeConstraintsChanged() { … }
}