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