| 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
|
| index 5bf8650e3a4c1cf81f267f96ab65f5fac23aa024..7bb18e1a17af9ae3386618a7a54d38ce3f677ea5 100644
|
| --- a/ui/views/animation/test/test_ink_drop_host.h
|
| +++ b/ui/views/animation/test/test_ink_drop_host.h
|
| @@ -23,6 +23,10 @@ class TestInkDropHost : public InkDropHost {
|
| should_show_hover_ = should_show_hover;
|
| }
|
|
|
| + void set_disable_timers_for_test(bool disable_timers_for_test) {
|
| + disable_timers_for_test_ = disable_timers_for_test;
|
| + }
|
| +
|
| // TestInkDropHost:
|
| void AddInkDropLayer(ui::Layer* ink_drop_layer) override;
|
| void RemoveInkDropLayer(ui::Layer* ink_drop_layer) override;
|
| @@ -34,6 +38,10 @@ class TestInkDropHost : public InkDropHost {
|
|
|
| bool should_show_hover_;
|
|
|
| + // When true, the InkDropAnimation/InkDropHover instances will have their
|
| + // timers disabled after creation.
|
| + bool disable_timers_for_test_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(TestInkDropHost);
|
| };
|
|
|
|
|