| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_VIEWS_ANIMATION_TEST_INK_DROP_HOVER_TEST_API_H_ | 5 #ifndef UI_VIEWS_ANIMATION_TEST_INK_DROP_HOVER_TEST_API_H_ |
| 6 #define UI_VIEWS_ANIMATION_TEST_INK_DROP_HOVER_TEST_API_H_ | 6 #define UI_VIEWS_ANIMATION_TEST_INK_DROP_HOVER_TEST_API_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 std::vector<ui::LayerAnimator*> GetLayerAnimators() override; | 34 std::vector<ui::LayerAnimator*> GetLayerAnimators() override; |
| 35 | 35 |
| 36 protected: | 36 protected: |
| 37 InkDropHover* ink_drop_hover() { | 37 InkDropHover* ink_drop_hover() { |
| 38 return static_cast<const InkDropHoverTestApi*>(this)->ink_drop_hover(); | 38 return static_cast<const InkDropHoverTestApi*>(this)->ink_drop_hover(); |
| 39 } | 39 } |
| 40 | 40 |
| 41 InkDropHover* ink_drop_hover() const { return ink_drop_hover_; } | 41 InkDropHover* ink_drop_hover() const { return ink_drop_hover_; } |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 // The InkDropedAnimation to provide internal access to. | 44 // The InkDropHover to provide internal access to. |
| 45 InkDropHover* ink_drop_hover_; | 45 InkDropHover* ink_drop_hover_; |
| 46 | 46 |
| 47 DISALLOW_COPY_AND_ASSIGN(InkDropHoverTestApi); | 47 DISALLOW_COPY_AND_ASSIGN(InkDropHoverTestApi); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace test | 50 } // namespace test |
| 51 } // namespace views | 51 } // namespace views |
| 52 | 52 |
| 53 #endif // UI_VIEWS_ANIMATION_TEST_INK_DROP_HOVER_TEST_API_H_ | 53 #endif // UI_VIEWS_ANIMATION_TEST_INK_DROP_HOVER_TEST_API_H_ |
| OLD | NEW |