OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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/gfx/animation/animation_test_api.h" |
| 6 |
| 7 #include "base/time/time.h" |
| 8 #include "ui/gfx/animation/animation.h" |
| 9 |
| 10 namespace gfx { |
| 11 |
| 12 AnimationTestApi::AnimationTestApi(Animation* animation) |
| 13 : animation_(animation) {} |
| 14 |
| 15 AnimationTestApi::~AnimationTestApi() {} |
| 16 |
| 17 void AnimationTestApi::SetStartTime(base::TimeTicks ticks) { |
| 18 animation_->SetStartTime(ticks); |
| 19 } |
| 20 |
| 21 void AnimationTestApi::Step(base::TimeTicks ticks) { |
| 22 animation_->Step(ticks); |
| 23 } |
| 24 |
| 25 } // namespace gfx |
OLD | NEW |