| 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 139ffec2d68c7060d65eb16e76ed8257782ac683..f96fe2fe8308995fcfc762e85b9a5608dddaa421 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);
|
| };
|
|
|
|
|