| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 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/test/ink_drop_hover_test_api.h" | |
| 6 | |
| 7 #include "base/time/time.h" | |
| 8 #include "ui/compositor/layer.h" | |
| 9 #include "ui/compositor/layer_animator.h" | |
| 10 #include "ui/compositor/test/layer_animator_test_controller.h" | |
| 11 #include "ui/views/animation/ink_drop_hover.h" | |
| 12 | |
| 13 namespace views { | |
| 14 namespace test { | |
| 15 | |
| 16 InkDropHoverTestApi::InkDropHoverTestApi(InkDropHover* ink_drop_hover) | |
| 17 : ui::test::MultiLayerAnimatorTestController(this), | |
| 18 ink_drop_hover_(ink_drop_hover) {} | |
| 19 | |
| 20 InkDropHoverTestApi::~InkDropHoverTestApi() {} | |
| 21 | |
| 22 std::vector<ui::LayerAnimator*> InkDropHoverTestApi::GetLayerAnimators() { | |
| 23 std::vector<ui::LayerAnimator*> animators; | |
| 24 animators.push_back(ink_drop_hover()->layer_->GetAnimator()); | |
| 25 return animators; | |
| 26 } | |
| 27 | |
| 28 } // namespace test | |
| 29 } // namespace views | |
| OLD | NEW |