1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/views/animation/ink_drop_animation.h"
6 #include "ui/views/animation/test/ink_drop_animation_test_api.h"
11 InkDropAnimationTestApi::InkDropAnimationTestApi(
12 InkDropAnimation
* ink_drop_animation
)
13 : ink_drop_animation_(ink_drop_animation
) {}
15 InkDropAnimationTestApi::~InkDropAnimationTestApi() {}
17 void InkDropAnimationTestApi::CalculateCircleTransforms(
18 const gfx::SizeF size
,
19 InkDropTransforms
* transforms_out
) const {
20 ink_drop_animation_
->CalculateCircleTransforms(size
, transforms_out
);
22 void InkDropAnimationTestApi::CalculateRectTransforms(
23 const gfx::SizeF size
,
25 InkDropTransforms
* transforms_out
) const {
26 ink_drop_animation_
->CalculateRectTransforms(size
, corner_radius
,