Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: ui/wm/core/window_animations.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/wm/core/shadow_controller.h ('k') | ui/wm/public/activation_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 UI_WM_CORE_WINDOW_ANIMATIONS_H_ 5 #ifndef UI_WM_CORE_WINDOW_ANIMATIONS_H_
6 #define UI_WM_CORE_WINDOW_ANIMATIONS_H_ 6 #define UI_WM_CORE_WINDOW_ANIMATIONS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/compositor/scoped_layer_animation_settings.h" 11 #include "ui/compositor/scoped_layer_animation_settings.h"
12 #include "ui/wm/wm_export.h" 12 #include "ui/wm/wm_export.h"
13 13
14 namespace aura { 14 namespace aura {
15 class Window; 15 class Window;
16 } 16 }
17 namespace base { 17 namespace base {
18 class TimeDelta; 18 class TimeDelta;
19 } 19 }
20 namespace gfx {
21 class Rect;
22 }
23 namespace ui {
24 class ImplicitAnimationObserver;
25 class Layer;
26 class LayerAnimationSequence;
27 }
28 20
29 namespace wm { 21 namespace wm {
30 22
31 // A variety of canned animations for window transitions. 23 // A variety of canned animations for window transitions.
32 enum WindowVisibilityAnimationType { 24 enum WindowVisibilityAnimationType {
33 WINDOW_VISIBILITY_ANIMATION_TYPE_DEFAULT = 0, // Default. Lets the system 25 WINDOW_VISIBILITY_ANIMATION_TYPE_DEFAULT = 0, // Default. Lets the system
34 // decide based on window 26 // decide based on window
35 // type. 27 // type.
36 WINDOW_VISIBILITY_ANIMATION_TYPE_DROP, // Window shrinks in. 28 WINDOW_VISIBILITY_ANIMATION_TYPE_DROP, // Window shrinks in.
37 WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL, // Vertical Glenimation. 29 WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL, // Vertical Glenimation.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 WM_EXPORT bool AnimateWindow(aura::Window* window, WindowAnimationType type); 101 WM_EXPORT bool AnimateWindow(aura::Window* window, WindowAnimationType type);
110 102
111 // Returns true if window animations are disabled for |window|. Window 103 // Returns true if window animations are disabled for |window|. Window
112 // animations are enabled by default. If |window| is NULL, this just checks 104 // animations are enabled by default. If |window| is NULL, this just checks
113 // if the global flag disabling window animations is present. 105 // if the global flag disabling window animations is present.
114 WM_EXPORT bool WindowAnimationsDisabled(aura::Window* window); 106 WM_EXPORT bool WindowAnimationsDisabled(aura::Window* window);
115 107
116 } // namespace wm 108 } // namespace wm
117 109
118 #endif // UI_WM_CORE_WINDOW_ANIMATIONS_H_ 110 #endif // UI_WM_CORE_WINDOW_ANIMATIONS_H_
OLDNEW
« no previous file with comments | « ui/wm/core/shadow_controller.h ('k') | ui/wm/public/activation_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698