chromium/ui/views/animation/ink_drop_painted_layer_delegates.cc

// Copyright 2015 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/views/animation/ink_drop_painted_layer_delegates.h"

#include <vector>

#include "cc/paint/paint_canvas.h"
#include "cc/paint/paint_flags.h"
#include "third_party/skia/include/core/SkRRect.h"
#include "ui/compositor/paint_recorder.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_conversions.h"
#include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/geometry/size_conversions.h"
#include "ui/gfx/geometry/skia_conversions.h"
#include "ui/gfx/skia_paint_util.h"

namespace views {

////////////////////////////////////////////////////////////////////////////////
//
// BasePaintedLayerDelegate
//

BasePaintedLayerDelegate::BasePaintedLayerDelegate(SkColor color)
    :{}

BasePaintedLayerDelegate::~BasePaintedLayerDelegate() = default;

gfx::Vector2dF BasePaintedLayerDelegate::GetCenteringOffset() const {}

void BasePaintedLayerDelegate::OnDeviceScaleFactorChanged(
    float old_device_scale_factor,
    float new_device_scale_factor) {}

////////////////////////////////////////////////////////////////////////////////
//
// CircleLayerDelegate
//

CircleLayerDelegate::CircleLayerDelegate(SkColor color, int radius)
    :{}

CircleLayerDelegate::~CircleLayerDelegate() = default;

gfx::RectF CircleLayerDelegate::GetPaintedBounds() const {}

void CircleLayerDelegate::OnPaintLayer(const ui::PaintContext& context) {}

////////////////////////////////////////////////////////////////////////////////
//
// RectangleLayerDelegate
//

RectangleLayerDelegate::RectangleLayerDelegate(SkColor color, gfx::SizeF size)
    :{}

RectangleLayerDelegate::~RectangleLayerDelegate() = default;

gfx::RectF RectangleLayerDelegate::GetPaintedBounds() const {}

void RectangleLayerDelegate::OnPaintLayer(const ui::PaintContext& context) {}

////////////////////////////////////////////////////////////////////////////////
//
// RoundedRectangleLayerDelegate
//

RoundedRectangleLayerDelegate::RoundedRectangleLayerDelegate(
    SkColor color,
    const gfx::SizeF& size,
    int corner_radius)
    :{}

RoundedRectangleLayerDelegate::~RoundedRectangleLayerDelegate() = default;

gfx::RectF RoundedRectangleLayerDelegate::GetPaintedBounds() const {}

void RoundedRectangleLayerDelegate::OnPaintLayer(
    const ui::PaintContext& context) {}

////////////////////////////////////////////////////////////////////////////////
//
// BorderShadowLayerDelegate
//

BorderShadowLayerDelegate::BorderShadowLayerDelegate(
    const std::vector<gfx::ShadowValue>& shadows,
    const gfx::Rect& shadowed_area_bounds,
    SkColor fill_color,
    int corner_radius)
    :{}

BorderShadowLayerDelegate::~BorderShadowLayerDelegate() = default;

gfx::RectF BorderShadowLayerDelegate::GetPaintedBounds() const {}

gfx::Vector2dF BorderShadowLayerDelegate::GetCenteringOffset() const {}

void BorderShadowLayerDelegate::OnPaintLayer(const ui::PaintContext& context) {}

}  // namespace views