#include "ui/views/window/frame_background.h"
#include <algorithm>
#include "build/build_config.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/canvas.h"
#include "ui/native_theme/native_theme.h"
#include "ui/views/buildflags.h"
#include "ui/views/view.h"
namespace views {
FrameBackground::FrameBackground() = default;
FrameBackground::~FrameBackground() = default;
void FrameBackground::SetSideImages(const gfx::ImageSkia* left,
const gfx::ImageSkia* top,
const gfx::ImageSkia* right,
const gfx::ImageSkia* bottom) { … }
void FrameBackground::SetCornerImages(const gfx::ImageSkia* top_left,
const gfx::ImageSkia* top_right,
const gfx::ImageSkia* bottom_left,
const gfx::ImageSkia* bottom_right) { … }
void FrameBackground::PaintRestored(gfx::Canvas* canvas,
const View* view) const { … }
void FrameBackground::PaintMaximized(gfx::Canvas* canvas,
const View* view) const { … }
void FrameBackground::PaintMaximized(gfx::Canvas* canvas,
const ui::NativeTheme* native_theme,
const ui::ColorProvider* color_provider,
int x,
int y,
int width) const { … }
void FrameBackground::FillFrameBorders(gfx::Canvas* canvas,
const View* view,
int left_edge_width,
int right_edge_width,
int bottom_edge_height) const { … }
}