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

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

Issue 1280953003: Enhance the material design ripple API so the ripple's state can be controlled by it's owning View. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed minor typo. Created 5 years, 4 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_ANIMATION_CONTROLLER_FACTORY_H_
6 #define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ui/views/animation/ink_drop_animation_controller.h"
11 #include "ui/views/views_export.h"
12
13 namespace views {
14
15 // A factory to create InkDropAnimationController. A different
16 // InkDropAnimationController type will be created based on whether or not
17 // material design is enabled.
18 class VIEWS_EXPORT InkDropAnimationControllerFactory {
19 public:
20 // Creates a new InkDropAnimationController.
21 static scoped_ptr<InkDropAnimationController>
22 CreateInkDropAnimationController(InkDropHost* ink_drop_host);
23
24 private:
25 InkDropAnimationControllerFactory();
26 ~InkDropAnimationControllerFactory();
27
28 DISALLOW_COPY_AND_ASSIGN(InkDropAnimationControllerFactory);
29 };
30
31 } // namespace views
32
33 #endif // UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/views/animation/ink_drop_animation_controller.cc ('k') | ui/views/animation/ink_drop_animation_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698