Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / views / animation / test / test_ink_drop_host.h
blobe94839d047d8e35b51004b231e09ae5458044a33
1 // Copyright 2015 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.
5 #ifndef UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_HOST_H_
6 #define UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_HOST_H_
8 #include "base/macros.h"
9 #include "ui/views/animation/ink_drop_host.h"
11 namespace views {
13 // A non-functional, dummy implementation of an InkDropHost that can be used as
14 // a placeholder during tests.
15 class TestInkDropHost : public InkDropHost {
16 public:
17 TestInkDropHost();
18 ~TestInkDropHost() override;
20 // TestInkDropHost:
21 void AddInkDropLayer(ui::Layer* ink_drop_layer) override;
22 void RemoveInkDropLayer(ui::Layer* ink_drop_layer) override;
24 private:
25 DISALLOW_COPY_AND_ASSIGN(TestInkDropHost);
28 } // namespace views
30 #endif // UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_HOST_H_