chromium/ui/compositor/test/test_layer_animation_delegate.cc

// Copyright 2012 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/compositor/test/test_layer_animation_delegate.h"

#include <optional>

#include "testing/gtest/include/gtest/gtest.h"
#include "ui/compositor/layer.h"

namespace ui {

TestLayerThreadedAnimationDelegate::TestLayerThreadedAnimationDelegate() {}

TestLayerThreadedAnimationDelegate::~TestLayerThreadedAnimationDelegate() {}

TestLayerAnimationDelegate::TestLayerAnimationDelegate()
    :{}

TestLayerAnimationDelegate::TestLayerAnimationDelegate(
    const LayerAnimationDelegate& other)
    :{}

TestLayerAnimationDelegate::TestLayerAnimationDelegate(
    const TestLayerAnimationDelegate& other) = default;

TestLayerAnimationDelegate::~TestLayerAnimationDelegate() {}

void TestLayerAnimationDelegate::ExpectLastPropertyChangeReasonIsUnset() {}

void TestLayerAnimationDelegate::ExpectLastPropertyChangeReason(
    PropertyChangeReason reason) {}

void TestLayerAnimationDelegate::SetBoundsFromAnimation(
    const gfx::Rect& bounds,
    PropertyChangeReason reason) {}

void TestLayerAnimationDelegate::SetTransformFromAnimation(
    const gfx::Transform& transform,
    PropertyChangeReason reason) {}

void TestLayerAnimationDelegate::SetOpacityFromAnimation(
    float opacity,
    PropertyChangeReason reason) {}

void TestLayerAnimationDelegate::SetVisibilityFromAnimation(
    bool visibility,
    PropertyChangeReason reason) {}

void TestLayerAnimationDelegate::SetBrightnessFromAnimation(
    float brightness,
    PropertyChangeReason reason) {}

void TestLayerAnimationDelegate::SetGrayscaleFromAnimation(
    float grayscale,
    PropertyChangeReason reason) {}

void TestLayerAnimationDelegate::SetColorFromAnimation(
    SkColor color,
    PropertyChangeReason reason) {}

void TestLayerAnimationDelegate::SetClipRectFromAnimation(
    const gfx::Rect& clip_rect,
    PropertyChangeReason reason) {}

void TestLayerAnimationDelegate::SetRoundedCornersFromAnimation(
    const gfx::RoundedCornersF& rounded_corners,
    PropertyChangeReason reason) {}

void TestLayerAnimationDelegate::SetGradientMaskFromAnimation(
    const gfx::LinearGradient& gradient_mask,
    PropertyChangeReason reason) {}

void TestLayerAnimationDelegate::ScheduleDrawForAnimation() {}

const gfx::Rect& TestLayerAnimationDelegate::GetBoundsForAnimation() const {}

gfx::Transform TestLayerAnimationDelegate::GetTransformForAnimation() const {}

float TestLayerAnimationDelegate::GetOpacityForAnimation() const {}

bool TestLayerAnimationDelegate::GetVisibilityForAnimation() const {}

float TestLayerAnimationDelegate::GetBrightnessForAnimation() const {}

float TestLayerAnimationDelegate::GetGrayscaleForAnimation() const {}

SkColor TestLayerAnimationDelegate::GetColorForAnimation() const {}

gfx::Rect TestLayerAnimationDelegate::GetClipRectForAnimation() const {}

gfx::RoundedCornersF TestLayerAnimationDelegate::GetRoundedCornersForAnimation()
    const {}

const gfx::LinearGradient&
TestLayerAnimationDelegate::GetGradientMaskForAnimation() const {}

float TestLayerAnimationDelegate::GetDeviceScaleFactor() const {}

LayerAnimatorCollection*
TestLayerAnimationDelegate::GetLayerAnimatorCollection() {}

ui::Layer* TestLayerAnimationDelegate::GetLayer() {}

cc::Layer* TestLayerAnimationDelegate::GetCcLayer() const {}

LayerThreadedAnimationDelegate*
TestLayerAnimationDelegate::GetThreadedAnimationDelegate() {}

float TestLayerAnimationDelegate::GetRefreshRate() const {}


void TestLayerAnimationDelegate::CreateCcLayer() {}

void TestLayerThreadedAnimationDelegate::AddThreadedAnimation(
    std::unique_ptr<cc::KeyframeModel> keyframe_model) {}

void TestLayerThreadedAnimationDelegate::RemoveThreadedAnimation(
    int keyframe_model_id) {}

}  // namespace ui