Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: ui/views/animation/test/test_ink_drop_host.h

Issue 1298513003: Implemented prototype for new ink drop specs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from patch set 10. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/animation/test/test_ink_drop_host.h
diff --git a/ui/views/animation/test/test_ink_drop_host.h b/ui/views/animation/test/test_ink_drop_host.h
new file mode 100644
index 0000000000000000000000000000000000000000..e94839d047d8e35b51004b231e09ae5458044a33
--- /dev/null
+++ b/ui/views/animation/test/test_ink_drop_host.h
@@ -0,0 +1,30 @@
+// Copyright 2015 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_TEST_INK_DROP_HOST_H_
+#define UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_HOST_H_
+
+#include "base/macros.h"
+#include "ui/views/animation/ink_drop_host.h"
+
+namespace views {
+
+// A non-functional, dummy implementation of an InkDropHost that can be used as
+// a placeholder during tests.
+class TestInkDropHost : public InkDropHost {
+ public:
+ TestInkDropHost();
+ ~TestInkDropHost() override;
+
+ // TestInkDropHost:
+ void AddInkDropLayer(ui::Layer* ink_drop_layer) override;
+ void RemoveInkDropLayer(ui::Layer* ink_drop_layer) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(TestInkDropHost);
+};
+
+} // namespace views
+
+#endif // UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_HOST_H_
« no previous file with comments | « ui/views/animation/test/ink_drop_animation_test_api.cc ('k') | ui/views/animation/test/test_ink_drop_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698