| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 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_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_ | |
| 6 #define ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_ | |
| 7 | |
| 8 namespace ui { | |
| 9 class ImplicitAnimationObserver; | |
| 10 } // namespace ui | |
| 11 | |
| 12 namespace ash { | |
| 13 | |
| 14 // ScopedOverviewAnimationSettings correctly configures the animation | |
| 15 // settings for a WmWindow given an OverviewAnimationType. | |
| 16 class ScopedOverviewAnimationSettings { | |
| 17 public: | |
| 18 virtual ~ScopedOverviewAnimationSettings() {} | |
| 19 virtual void AddObserver(ui::ImplicitAnimationObserver* observer) = 0; | |
| 20 }; | |
| 21 | |
| 22 } // namespace ash | |
| 23 | |
| 24 #endif // ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_ | |
| OLD | NEW |