Index: ui/views/animation/test/ink_drop_host_view_test_api.cc |
diff --git a/ui/views/animation/test/ink_drop_host_view_test_api.cc b/ui/views/animation/test/ink_drop_host_view_test_api.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a97628bfab077d2eb02542bfc5ae14f5e9f5bb3d |
--- /dev/null |
+++ b/ui/views/animation/test/ink_drop_host_view_test_api.cc |
@@ -0,0 +1,21 @@ |
+// 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. |
+ |
+#include "ui/views/animation/test/ink_drop_host_view_test_api.h" |
+ |
+namespace views { |
+namespace test { |
+ |
+InkDropHostViewTestApi::InkDropHostViewTestApi(InkDropHostView* host_view) |
+ : host_view_(host_view) {} |
+ |
+InkDropHostViewTestApi::~InkDropHostViewTestApi() {} |
+ |
+void InkDropHostViewTestApi::SetInkDrop(std::unique_ptr<InkDrop> ink_drop) { |
+ host_view_->SetHasInkDrop(true); |
+ host_view_->ink_drop_ = std::move(ink_drop); |
+} |
+ |
+} // namespace test |
+} // namespace views |