chromium/ui/views/animation/ink_drop_highlight.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_highlight.h"

#include <memory>
#include <string>
#include <utility>

#include "base/functional/bind.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/compositor/layer.h"
#include "ui/gfx/animation/animation.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/geometry/size_conversions.h"
#include "ui/views/animation/animation_builder.h"
#include "ui/views/animation/ink_drop_highlight_observer.h"
#include "ui/views/animation/ink_drop_painted_layer_delegates.h"
#include "ui/views/animation/ink_drop_util.h"

namespace views {

namespace {

// The opacity of the highlight when it is not visible.
constexpr float kHiddenOpacity =;

}  // namespace

std::string ToString(InkDropHighlight::AnimationType animation_type) {}

InkDropHighlight::InkDropHighlight(
    const gfx::PointF& center_point,
    std::unique_ptr<BasePaintedLayerDelegate> layer_delegate)
    :{}

InkDropHighlight::InkDropHighlight(const gfx::SizeF& size,
                                   int corner_radius,
                                   const gfx::PointF& center_point,
                                   SkColor color)
    :{}

InkDropHighlight::InkDropHighlight(const gfx::Size& size,
                                   int corner_radius,
                                   const gfx::PointF& center_point,
                                   SkColor color)
    :{}

InkDropHighlight::InkDropHighlight(const gfx::SizeF& size, SkColor base_color)
    :{}

InkDropHighlight::~InkDropHighlight() {}

bool InkDropHighlight::IsFadingInOrVisible() const {}

void InkDropHighlight::FadeIn(const base::TimeDelta& duration) {}

void InkDropHighlight::FadeOut(const base::TimeDelta& duration) {}

test::InkDropHighlightTestApi* InkDropHighlight::GetTestApi() {}

void InkDropHighlight::AnimateFade(AnimationType animation_type,
                                   const base::TimeDelta& duration) {}

gfx::Transform InkDropHighlight::CalculateTransform() const {}

void InkDropHighlight::AnimationStartedCallback(AnimationType animation_type) {}

void InkDropHighlight::AnimationEndedCallback(
    AnimationType animation_type,
    InkDropAnimationEndedReason reason) {}

}  // namespace views