Chromium Code Reviews| Index: ui/views/animation/ink_drop_animation_controller_factory.h |
| diff --git a/ui/views/animation/ink_drop_animation_controller_factory.h b/ui/views/animation/ink_drop_animation_controller_factory.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b199d7b8f9ec090b3b68e3775f82d7e957a96ca9 |
| --- /dev/null |
| +++ b/ui/views/animation/ink_drop_animation_controller_factory.h |
| @@ -0,0 +1,33 @@ |
| +// 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_ANIMATION_CONTROLLER_FACTORY_H_ |
| +#define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_ |
| + |
| +#include "base/macros.h" |
| +#include "base/memory/scoped_ptr.h" |
| +#include "ui/views/animation/ink_drop_animation_controller.h" |
| +#include "ui/views/views_export.h" |
| + |
| +namespace views { |
| + |
| +// A factory to create InkDropAnimationController. A different |
| +// InkDropAnimationController type will be created based on whether or not |
| +// material design is enabled. |
| +class VIEWS_EXPORT InkDropAnimationControllerFactory { |
| + public: |
| + // Creates a new InkDropAnimationController. |
| + static scoped_ptr<InkDropAnimationController> |
| + CreateInkDropAnimationController(InkDropHost* ink_drop_host); |
|
tdanderson
2015/08/11 19:07:41
nit: I think this should be indented
jonross
2015/08/11 20:34:46
I'd just recommend running: git cl format
bruthig
2015/08/12 15:26:40
This is how 'git cl format' formatted it.
|
| + |
| + private: |
| + InkDropAnimationControllerFactory(); |
| + ~InkDropAnimationControllerFactory(); |
| + |
| + DISALLOW_COPY_AND_ASSIGN(InkDropAnimationControllerFactory); |
| +}; |
| + |
| +} // namespace views |
| + |
| +#endif // UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_ |