| 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 ASH_ROTATOR_SCREEN_ROTATION_ANIMATOR_OBSERVER_H |
| 6 #define ASH_ROTATOR_SCREEN_ROTATION_ANIMATOR_OBSERVER_H |
| 7 |
| 8 #include "ash/ash_export.h" |
| 9 |
| 10 namespace ash { |
| 11 |
| 12 class ScreenRotationAnimator; |
| 13 |
| 14 class ASH_EXPORT ScreenRotationAnimatorObserver { |
| 15 public: |
| 16 ScreenRotationAnimatorObserver() {} |
| 17 |
| 18 // This will be called when the animation is ended or aborted. |
| 19 virtual void OnScreenRotationAnimationFinished( |
| 20 ScreenRotationAnimator* animator) = 0; |
| 21 |
| 22 protected: |
| 23 virtual ~ScreenRotationAnimatorObserver() {} |
| 24 }; |
| 25 |
| 26 } // namespace ash |
| 27 |
| 28 #endif // ASH_ROTATOR_SCREEN_ROTATION_ANIMATOR_OBSERVER_H |
| OLD | NEW |