| 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 "ash/system/overview/test/overview_button_tray_test_api.h" |
| 6 |
| 7 #include "ash/system/overview/overview_button_tray.h" |
| 8 #include "ui/compositor/layer_animator.h" |
| 9 |
| 10 namespace ash { |
| 11 namespace test { |
| 12 |
| 13 OverviewButtonTrayTestApi::OverviewButtonTrayTestApi(OverviewButtonTray* tray) |
| 14 : tray_(tray) {} |
| 15 |
| 16 void OverviewButtonTrayTestApi::AbortAllAnimations() { |
| 17 tray_->layer()->GetAnimator()->AbortAllAnimations(); |
| 18 } |
| 19 |
| 20 } // namespace test |
| 21 } // namespace ash |
| OLD | NEW |