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_CLEANUP_ANIMATION_OBSERVER_H_ | 5 #ifndef ASH_WM_OVERVIEW_CLEANUP_ANIMATION_OBSERVER_H_ |
6 #define ASH_COMMON_WM_OVERVIEW_CLEANUP_ANIMATION_OBSERVER_H_ | 6 #define ASH_WM_OVERVIEW_CLEANUP_ANIMATION_OBSERVER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
11 #include "ash/common/wm/overview/window_selector_delegate.h" | 11 #include "ash/wm/overview/window_selector_delegate.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "ui/compositor/layer_animation_observer.h" | 13 #include "ui/compositor/layer_animation_observer.h" |
14 | 14 |
15 namespace views { | 15 namespace views { |
16 class Widget; | 16 class Widget; |
17 } | 17 } |
18 | 18 |
19 namespace ash { | 19 namespace ash { |
20 | 20 |
21 // An observer which holds onto the passed widget until the animation is | 21 // An observer which holds onto the passed widget until the animation is |
(...skipping 16 matching lines...) Loading... |
38 | 38 |
39 private: | 39 private: |
40 std::unique_ptr<views::Widget> widget_; | 40 std::unique_ptr<views::Widget> widget_; |
41 WindowSelectorDelegate* owner_; | 41 WindowSelectorDelegate* owner_; |
42 | 42 |
43 DISALLOW_COPY_AND_ASSIGN(CleanupAnimationObserver); | 43 DISALLOW_COPY_AND_ASSIGN(CleanupAnimationObserver); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace ash | 46 } // namespace ash |
47 | 47 |
48 #endif // ASH_COMMON_WM_OVERVIEW_CLEANUP_ANIMATION_OBSERVER_H_ | 48 #endif // ASH_WM_OVERVIEW_CLEANUP_ANIMATION_OBSERVER_H_ |
OLD | NEW |