123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- // Copyright 2019 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #include "ui/platform_window/platform_window.h"
- #include <string>
- #include "ui/gfx/geometry/insets.h"
- #include "ui/gfx/geometry/rect.h"
- namespace ui {
- PlatformWindow::PlatformWindow() = default;
- PlatformWindow::~PlatformWindow() = default;
- bool PlatformWindow::ShouldWindowContentsBeTransparent() const {
- return false;
- }
- void PlatformWindow::SetZOrderLevel(ZOrderLevel order) {}
- ZOrderLevel PlatformWindow::GetZOrderLevel() const {
- return ZOrderLevel::kNormal;
- }
- void PlatformWindow::StackAbove(gfx::AcceleratedWidget widget) {}
- void PlatformWindow::StackAtTop() {}
- void PlatformWindow::FlashFrame(bool flash_frame) {}
- void PlatformWindow::SetShape(std::unique_ptr<ShapeRects> native_shape,
- const gfx::Transform& transform) {}
- void PlatformWindow::SetAspectRatio(const gfx::SizeF& aspect_ratio) {}
- void PlatformWindow::SetWindowIcons(const gfx::ImageSkia& window_icon,
- const gfx::ImageSkia& app_icon) {}
- bool PlatformWindow::IsAnimatingClosed() const {
- return false;
- }
- bool PlatformWindow::IsTranslucentWindowOpacitySupported() const {
- return false;
- }
- void PlatformWindow::SetOpacity(float opacity) {}
- void PlatformWindow::SetVisibilityChangedAnimationsEnabled(bool enabled) {}
- std::string PlatformWindow::GetWindowUniqueId() const {
- return std::string();
- }
- bool PlatformWindow::ShouldUpdateWindowShape() const {
- return false;
- }
- bool PlatformWindow::CanSetDecorationInsets() const {
- return false;
- }
- void PlatformWindow::SetDecorationInsets(const gfx::Insets* insets_px) {}
- void PlatformWindow::SetOpaqueRegion(const std::vector<gfx::Rect>* region_px) {}
- void PlatformWindow::SetInputRegion(const gfx::Rect* region_px) {}
- bool PlatformWindow::IsClientControlledWindowMovementSupported() const {
- return true;
- }
- void PlatformWindow::NotifyStartupComplete(const std::string& startup_id) {}
- } // namespace ui
|