Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(791)

Unified Diff: ui/views/animation/ink_drop_factory.h

Issue 2067013002: Removed InkDropFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed views:: -> ui:: compile error. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/material_design/material_design_controller.cc ('k') | ui/views/animation/ink_drop_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/ink_drop_factory.h
diff --git a/ui/views/animation/ink_drop_factory.h b/ui/views/animation/ink_drop_factory.h
deleted file mode 100644
index 0fc57d82d5470fc5cd399ffd51f1f465746457d3..0000000000000000000000000000000000000000
--- a/ui/views/animation/ink_drop_factory.h
+++ /dev/null
@@ -1,34 +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.
-
-#ifndef UI_VIEWS_ANIMATION_INK_DROP_FACTORY_H_
-#define UI_VIEWS_ANIMATION_INK_DROP_FACTORY_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "ui/views/views_export.h"
-
-namespace views {
-class InkDrop;
-class InkDropHost;
-
-// A factory to create an InkDrop. A different InkDrop type will be created
-// based on whether or not material design is enabled.
-class VIEWS_EXPORT InkDropFactory {
- public:
- // Creates a new InkDrop that will add/remove an InkDropRipple's ui::Layer
- // to/from the |ink_drop_host| when the animation is active/inactive.
- static std::unique_ptr<InkDrop> CreateInkDrop(InkDropHost* ink_drop_host);
-
- private:
- InkDropFactory();
- ~InkDropFactory();
-
- DISALLOW_COPY_AND_ASSIGN(InkDropFactory);
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_ANIMATION_INK_DROP_FACTORY_H_
« no previous file with comments | « ui/base/material_design/material_design_controller.cc ('k') | ui/views/animation/ink_drop_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698