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_INK_DROP_HOST_VIEW_TEST_API_H_ |
| 6 #define UI_VIEWS_ANIMATION_TEST_INK_DROP_HOST_VIEW_TEST_API_H_ |
| 7 |
| 8 #include <memory> |
| 9 #include <vector> |
| 10 |
| 11 #include "base/macros.h" |
| 12 #include "ui/views/animation/ink_drop.h" |
| 13 #include "ui/views/animation/ink_drop_host_view.h" |
| 14 |
| 15 namespace views { |
| 16 namespace test { |
| 17 |
| 18 // Test API to provide internal access to an InkDropHostView instance. |
| 19 class InkDropHostViewTestApi { |
| 20 public: |
| 21 explicit InkDropHostViewTestApi(InkDropHostView* host_view); |
| 22 ~InkDropHostViewTestApi(); |
| 23 |
| 24 void SetInkDrop(std::unique_ptr<InkDrop> ink_drop); |
| 25 |
| 26 private: |
| 27 // The InkDropHostView to provide internal access to. |
| 28 InkDropHostView* host_view_; |
| 29 |
| 30 DISALLOW_COPY_AND_ASSIGN(InkDropHostViewTestApi); |
| 31 }; |
| 32 |
| 33 } // namespace test |
| 34 } // namespace views |
| 35 |
| 36 #endif // UI_VIEWS_ANIMATION_TEST_INK_DROP_HOST_VIEW_TEST_API_H_ |
OLD | NEW |