| 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 #ifndef UI_VIEWS_ANIMATION_TEST_EMPTY_INK_DROP_RIPPLE_TEST_API_H_ |
| 6 #define UI_VIEWS_ANIMATION_TEST_EMPTY_INK_DROP_RIPPLE_TEST_API_H_ |
| 7 |
| 8 #include <vector> |
| 9 |
| 10 #include "base/macros.h" |
| 11 #include "ui/views/animation/empty_ink_drop_ripple.h" |
| 12 #include "ui/views/animation/test/ink_drop_ripple_test_api.h" |
| 13 |
| 14 namespace ui { |
| 15 class LayerAnimator; |
| 16 } // namespace ui |
| 17 |
| 18 namespace views { |
| 19 namespace test { |
| 20 |
| 21 // Test API to provide internal access to a EmptyInkDropRipple. |
| 22 class EmptyInkDropRippleTestApi : public InkDropRippleTestApi { |
| 23 public: |
| 24 explicit EmptyInkDropRippleTestApi(EmptyInkDropRipple* ink_drop_ripple); |
| 25 ~EmptyInkDropRippleTestApi() override; |
| 26 |
| 27 // InkDropRippleTestApi: |
| 28 float GetCurrentOpacity() const override; |
| 29 |
| 30 protected: |
| 31 // InkDropRippleTestApi: |
| 32 std::vector<ui::LayerAnimator*> GetLayerAnimators() override; |
| 33 |
| 34 private: |
| 35 DISALLOW_COPY_AND_ASSIGN(EmptyInkDropRippleTestApi); |
| 36 }; |
| 37 |
| 38 } // namespace test |
| 39 } // namespace views |
| 40 |
| 41 #endif // UI_VIEWS_ANIMATION_TEST_EMPTY_INK_DROP_RIPPLE_TEST_API_H_ |
| OLD | NEW |