| Index: ui/views/animation/ink_drop_factory.cc
|
| diff --git a/ui/views/animation/ink_drop_factory.cc b/ui/views/animation/ink_drop_factory.cc
|
| index ef668e153e2b7bd3b93567a6ec4f947780399ffc..7f896510ae90c2cff9b03bb41816f8ecfe6f3d80 100644
|
| --- a/ui/views/animation/ink_drop_factory.cc
|
| +++ b/ui/views/animation/ink_drop_factory.cc
|
| @@ -11,35 +11,11 @@
|
| #include "ui/gfx/geometry/size.h"
|
| #include "ui/views/animation/ink_drop.h"
|
| #include "ui/views/animation/ink_drop_impl.h"
|
| +#include "ui/views/animation/ink_drop_stub.h"
|
| #include "ui/views/views_export.h"
|
|
|
| namespace views {
|
|
|
| -namespace {
|
| -
|
| -// A stub implementation of an InkDrop that can be used when material design is
|
| -// not enabled.
|
| -class InkDropStub : public InkDrop {
|
| - public:
|
| - InkDropStub() {}
|
| - ~InkDropStub() override {}
|
| -
|
| - // InkDrop:
|
| - InkDropState GetTargetInkDropState() const override {
|
| - return InkDropState::HIDDEN;
|
| - }
|
| - bool IsVisible() const override { return false; }
|
| - void AnimateToState(InkDropState state) override {}
|
| - void SnapToActivated() override {}
|
| - void SetHovered(bool is_hovered) override {}
|
| - void SetFocused(bool is_hovered) override {}
|
| -
|
| - private:
|
| - DISALLOW_COPY_AND_ASSIGN(InkDropStub);
|
| -};
|
| -
|
| -} // namespace
|
| -
|
| InkDropFactory::InkDropFactory() {}
|
|
|
| InkDropFactory::~InkDropFactory() {}
|
|
|