| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_ | 5 #ifndef ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_ |
| 6 #define ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_ | 6 #define ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_ |
| 7 | 7 |
| 8 namespace ui { |
| 9 class ImplicitAnimationObserver; |
| 10 } // namespace ui |
| 11 |
| 8 namespace ash { | 12 namespace ash { |
| 9 | 13 |
| 10 // ScopedOverviewAnimationSettings correctly configures the animation | 14 // ScopedOverviewAnimationSettings correctly configures the animation |
| 11 // settings for a WmWindow given an OverviewAnimationType. | 15 // settings for a WmWindow given an OverviewAnimationType. |
| 12 class ScopedOverviewAnimationSettings { | 16 class ScopedOverviewAnimationSettings { |
| 13 public: | 17 public: |
| 14 virtual ~ScopedOverviewAnimationSettings() {} | 18 virtual ~ScopedOverviewAnimationSettings() {} |
| 19 virtual void AddObserver(ui::ImplicitAnimationObserver* observer) = 0; |
| 15 }; | 20 }; |
| 16 | 21 |
| 17 } // namespace ash | 22 } // namespace ash |
| 18 | 23 |
| 19 #endif // ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_ | 24 #endif // ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_ |
| OLD | NEW |