#include "chrome/browser/ui/views/frame/browser_frame_view_paint_utils_linux.h"
#include "third_party/skia/include/core/SkRRect.h"
#include "ui/color/color_provider.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/geometry/rect_conversions.h"
#include "ui/gfx/scoped_canvas.h"
#include "ui/gfx/skia_paint_util.h"
#include "ui/views/view.h"
#include "ui/views/window/frame_background.h"
namespace {
constexpr int kBorderAlpha = …;
}
void PaintRestoredFrameBorderLinux(gfx::Canvas& canvas,
const views::View& view,
views::FrameBackground* frame_background,
const SkRRect& clip,
bool showing_shadow,
bool is_active,
const gfx::Insets& border,
const gfx::ShadowValues& shadow_values,
bool tiled) { … }
gfx::Insets GetRestoredFrameBorderInsetsLinux(
bool showing_shadow,
const gfx::Insets& default_border,
const gfx::ShadowValues& shadow_values,
int resize_border) { … }