| 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
|
| deleted file mode 100644
|
| index 7f896510ae90c2cff9b03bb41816f8ecfe6f3d80..0000000000000000000000000000000000000000
|
| --- a/ui/views/animation/ink_drop_factory.cc
|
| +++ /dev/null
|
| @@ -1,32 +0,0 @@
|
| -// 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.
|
| -
|
| -#include "ui/views/animation/ink_drop_factory.h"
|
| -
|
| -#include "base/macros.h"
|
| -#include "base/memory/ptr_util.h"
|
| -#include "ui/base/material_design/material_design_controller.h"
|
| -#include "ui/gfx/geometry/rect.h"
|
| -#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 {
|
| -
|
| -InkDropFactory::InkDropFactory() {}
|
| -
|
| -InkDropFactory::~InkDropFactory() {}
|
| -
|
| -std::unique_ptr<InkDrop> InkDropFactory::CreateInkDrop(
|
| - InkDropHost* ink_drop_host) {
|
| - if (ui::MaterialDesignController::IsModeMaterial()) {
|
| - return base::WrapUnique(new InkDropImpl(ink_drop_host));
|
| - }
|
| -
|
| - return base::WrapUnique(new InkDropStub());
|
| -}
|
| -
|
| -} // namespace views
|
|
|