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.
5 #ifndef UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_
6 #define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ui/views/views_export.h"
13 class InkDropAnimationController
;
16 // A factory to create InkDropAnimationController. A different
17 // InkDropAnimationController type will be created based on whether or not
18 // material design is enabled.
19 class VIEWS_EXPORT InkDropAnimationControllerFactory
{
21 // Creates a new InkDropAnimationController that will add/remove an
22 // InkDropAnimation's ui::Layer to/from the |ink_drop_host| when the animation
23 // is active/inactive.
24 static scoped_ptr
<InkDropAnimationController
>
25 CreateInkDropAnimationController(InkDropHost
* ink_drop_host
);
28 InkDropAnimationControllerFactory();
29 ~InkDropAnimationControllerFactory();
31 DISALLOW_COPY_AND_ASSIGN(InkDropAnimationControllerFactory
);
36 #endif // UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_