| OLD | NEW | 
|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_ | 5 #ifndef UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_ | 
| 6 #define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_ | 6 #define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_ | 
| 7 | 7 | 
| 8 #include "base/macros.h" | 8 #include "base/macros.h" | 
| 9 #include "base/memory/scoped_ptr.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" | 10 #include "ui/views/views_export.h" | 
| 12 | 11 | 
| 13 namespace views { | 12 namespace views { | 
|  | 13 class InkDropAnimationController; | 
|  | 14 class InkDropHost; | 
| 14 | 15 | 
| 15 // A factory to create InkDropAnimationController. A different | 16 // A factory to create InkDropAnimationController. A different | 
| 16 // InkDropAnimationController type will be created based on whether or not | 17 // InkDropAnimationController type will be created based on whether or not | 
| 17 // material design is enabled. | 18 // material design is enabled. | 
| 18 class VIEWS_EXPORT InkDropAnimationControllerFactory { | 19 class VIEWS_EXPORT InkDropAnimationControllerFactory { | 
| 19  public: | 20  public: | 
| 20   // Creates a new InkDropAnimationController. | 21   // Creates a new InkDropAnimationController. | 
|  | 22   // TODO(bruthig): Document me. | 
| 21   static scoped_ptr<InkDropAnimationController> | 23   static scoped_ptr<InkDropAnimationController> | 
| 22   CreateInkDropAnimationController(InkDropHost* ink_drop_host); | 24   CreateInkDropAnimationController(InkDropHost* ink_drop_host); | 
| 23 | 25 | 
| 24  private: | 26  private: | 
| 25   InkDropAnimationControllerFactory(); | 27   InkDropAnimationControllerFactory(); | 
| 26   ~InkDropAnimationControllerFactory(); | 28   ~InkDropAnimationControllerFactory(); | 
| 27 | 29 | 
| 28   DISALLOW_COPY_AND_ASSIGN(InkDropAnimationControllerFactory); | 30   DISALLOW_COPY_AND_ASSIGN(InkDropAnimationControllerFactory); | 
| 29 }; | 31 }; | 
| 30 | 32 | 
| 31 }  // namespace views | 33 }  // namespace views | 
| 32 | 34 | 
| 33 #endif  // UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_ | 35 #endif  // UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_ | 
| OLD | NEW | 
|---|