| OLD | NEW |
| (Empty) | |
| 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. |
| 4 |
| 5 #include "ui/views/animation/ink_drop_animation.h" |
| 6 #include "ui/views/animation/test/ink_drop_animation_test_api.h" |
| 7 |
| 8 namespace views { |
| 9 namespace test { |
| 10 |
| 11 InkDropAnimationTestApi::InkDropAnimationTestApi( |
| 12 InkDropAnimation* ink_drop_animation) |
| 13 : ink_drop_animation_(ink_drop_animation) {} |
| 14 |
| 15 InkDropAnimationTestApi::~InkDropAnimationTestApi() {} |
| 16 |
| 17 void InkDropAnimationTestApi::CalculateCircleTransforms( |
| 18 const gfx::SizeF size, |
| 19 InkDropTransforms* transforms_out) const { |
| 20 ink_drop_animation_->CalculateCircleTransforms(size, transforms_out); |
| 21 } |
| 22 void InkDropAnimationTestApi::CalculateRectTransforms( |
| 23 const gfx::SizeF size, |
| 24 float corner_radius, |
| 25 InkDropTransforms* transforms_out) const { |
| 26 ink_drop_animation_->CalculateRectTransforms(size, corner_radius, |
| 27 transforms_out); |
| 28 } |
| 29 |
| 30 } // namespace test |
| 31 } // namespace views |
| OLD | NEW |