Index: ui/views/animation/test/ink_drop_host_view_test_api.h |
diff --git a/ui/views/animation/test/ink_drop_host_view_test_api.h b/ui/views/animation/test/ink_drop_host_view_test_api.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..07df159bafb0d63eb9fb1dddd5b38eb65042deb1 |
--- /dev/null |
+++ b/ui/views/animation/test/ink_drop_host_view_test_api.h |
@@ -0,0 +1,36 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_VIEWS_ANIMATION_TEST_INK_DROP_HOST_VIEW_TEST_API_H_ |
+#define UI_VIEWS_ANIMATION_TEST_INK_DROP_HOST_VIEW_TEST_API_H_ |
+ |
+#include <memory> |
+#include <vector> |
+ |
+#include "base/macros.h" |
+#include "ui/views/animation/ink_drop.h" |
+#include "ui/views/animation/ink_drop_host_view.h" |
+ |
+namespace views { |
+namespace test { |
+ |
+// Test API to provide internal access to an InkDropHostView instance. |
+class InkDropHostViewTestApi { |
+ public: |
+ explicit InkDropHostViewTestApi(InkDropHostView* host_view); |
+ ~InkDropHostViewTestApi(); |
+ |
+ void SetInkDrop(std::unique_ptr<InkDrop> ink_drop); |
+ |
+ private: |
+ // The InkDropHostView to provide internal access to. |
+ InkDropHostView* host_view_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(InkDropHostViewTestApi); |
+}; |
+ |
+} // namespace test |
+} // namespace views |
+ |
+#endif // UI_VIEWS_ANIMATION_TEST_INK_DROP_HOST_VIEW_TEST_API_H_ |