Chromium Code Reviews| 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(){}; | |
|
oshima
2017/03/16 20:13:10
space between () and {}
wutao
2017/03/17 00:01:03
Added several times, but cl format removed it. I w
| |
| 17 | |
| 18 virtual void OnEndedOrAbortedScreenRotationAnimation( | |
|
oshima
2017/03/16 20:13:09
document this.
wutao
2017/03/17 00:01:03
Done.
| |
| 19 ScreenRotationAnimator* animator){}; | |
|
oshima
2017/03/16 20:13:09
since this is the only one, make it pure virtual.
wutao
2017/03/17 00:01:03
Done.
| |
| 20 | |
| 21 protected: | |
| 22 virtual ~ScreenRotationAnimatorObserver(){}; | |
|
oshima
2017/03/16 20:13:09
ditto.
wutao
2017/03/17 00:01:03
Done.
| |
| 23 }; | |
| 24 | |
| 25 } // namespace ash | |
| 26 | |
| 27 #endif // ASH_ROTATOR_SCREEN_ROTATION_ANIMATOR_OBSERVER_H | |
| OLD | NEW |