OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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_OBSERVER_H_ |
| 6 #define UI_VIEWS_ANIMATION_INK_DROP_OBSERVER_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/macros.h" |
| 11 #include "ui/views/views_export.h" |
| 12 |
| 13 namespace views { |
| 14 |
| 15 // Observer to attach to an InkDrop. |
| 16 class VIEWS_EXPORT InkDropObserver { |
| 17 public: |
| 18 // Called when the animation of the current InkDrop has started. This |
| 19 // includes the ripple or highlight animation. |
| 20 virtual void InkDropAnimationStarted() = 0; |
| 21 |
| 22 protected: |
| 23 InkDropObserver() = default; |
| 24 virtual ~InkDropObserver() = default; |
| 25 |
| 26 private: |
| 27 DISALLOW_COPY_AND_ASSIGN(InkDropObserver); |
| 28 }; |
| 29 |
| 30 } // namespace views |
| 31 |
| 32 #endif // UI_VIEWS_ANIMATION_INK_DROP_OBSERVER_H_ |
OLD | NEW |