OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WM_WINDOW_ANIMATIONS_H_ | 5 #ifndef ASH_WM_WINDOW_ANIMATIONS_H_ |
6 #define ASH_WM_WINDOW_ANIMATIONS_H_ | 6 #define ASH_WM_WINDOW_ANIMATIONS_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "ui/gfx/animation/tween.h" | 10 #include "ui/gfx/animation/tween.h" |
11 #include "ui/gfx/transform.h" | 11 #include "ui/gfx/transform.h" |
12 #include "ui/views/corewm/window_animations.h" | 12 #include "ui/wm/core/window_animations.h" |
13 | 13 |
14 namespace aura { | 14 namespace aura { |
15 class Window; | 15 class Window; |
16 } | 16 } |
17 namespace ui { | 17 namespace ui { |
18 class Layer; | 18 class Layer; |
19 class LayerTreeOwner; | 19 class LayerTreeOwner; |
20 } | 20 } |
21 namespace views { | 21 namespace views { |
22 } | 22 } |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 // Returns the approximate bounds to which |window| will be animated when it | 72 // Returns the approximate bounds to which |window| will be animated when it |
73 // is minimized. The bounds are approximate because the minimize animation | 73 // is minimized. The bounds are approximate because the minimize animation |
74 // involves rotation. | 74 // involves rotation. |
75 ASH_EXPORT gfx::Rect GetMinimizeAnimationTargetBoundsInScreen( | 75 ASH_EXPORT gfx::Rect GetMinimizeAnimationTargetBoundsInScreen( |
76 aura::Window* window); | 76 aura::Window* window); |
77 | 77 |
78 } // namespace ash | 78 } // namespace ash |
79 | 79 |
80 #endif // ASH_WM_WINDOW_ANIMATIONS_H_ | 80 #endif // ASH_WM_WINDOW_ANIMATIONS_H_ |
OLD | NEW |