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

Side by Side Diff: ui/views/animation/ink_drop_factory.h

Issue 1937353002: Rename of InkDropAnimationController classes to InkDrop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed tdanderson@ comments from patch set 2. Created 4 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_ANIMATION_INK_DROP_FACTORY_H_
6 #define UI_VIEWS_ANIMATION_INK_DROP_FACTORY_H_
7
8 #include <memory>
9
10 #include "base/macros.h"
11 #include "ui/views/views_export.h"
12
13 namespace views {
14 class InkDrop;
15 class InkDropHost;
16
17 // A factory to create an InkDrop. A different InkDrop type will be created
18 // based on whether or not material design is enabled.
19 class VIEWS_EXPORT InkDropFactory {
20 public:
21 // Creates a new InkDrop that will add/remove an InkDropRipple's ui::Layer
22 // to/from the |ink_drop_host| when the animation is active/inactive.
23 static std::unique_ptr<InkDrop> CreateInkDrop(InkDropHost* ink_drop_host);
24
25 private:
26 InkDropFactory();
27 ~InkDropFactory();
28
29 DISALLOW_COPY_AND_ASSIGN(InkDropFactory);
30 };
31
32 } // namespace views
33
34 #endif // UI_VIEWS_ANIMATION_INK_DROP_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/views/animation/ink_drop_animation_controller_impl_unittest.cc ('k') | ui/views/animation/ink_drop_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698