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

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

Issue 196063002: Move wm/core to wm namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « ui/wm/core/visibility_controller_unittest.cc ('k') | ui/wm/core/window_animations.cc » ('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 "ui/wm/core/wm_core_export.h" 10 #include "ui/wm/core/wm_core_export.h"
11 11
12 namespace aura { 12 namespace aura {
13 class Window; 13 class Window;
14 } 14 }
15 namespace base { 15 namespace base {
16 class TimeDelta; 16 class TimeDelta;
17 } 17 }
18 namespace gfx { 18 namespace gfx {
19 class Rect; 19 class Rect;
20 } 20 }
21 namespace ui { 21 namespace ui {
22 class ImplicitAnimationObserver; 22 class ImplicitAnimationObserver;
23 class Layer; 23 class Layer;
24 class LayerAnimationSequence; 24 class LayerAnimationSequence;
25 } 25 }
26 26
27 namespace views { 27 namespace wm {
28 namespace corewm {
29 28
30 // A variety of canned animations for window transitions. 29 // A variety of canned animations for window transitions.
31 enum WindowVisibilityAnimationType { 30 enum WindowVisibilityAnimationType {
32 WINDOW_VISIBILITY_ANIMATION_TYPE_DEFAULT = 0, // Default. Lets the system 31 WINDOW_VISIBILITY_ANIMATION_TYPE_DEFAULT = 0, // Default. Lets the system
33 // decide based on window 32 // decide based on window
34 // type. 33 // type.
35 WINDOW_VISIBILITY_ANIMATION_TYPE_DROP, // Window shrinks in. 34 WINDOW_VISIBILITY_ANIMATION_TYPE_DROP, // Window shrinks in.
36 WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL, // Vertical Glenimation. 35 WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL, // Vertical Glenimation.
37 WINDOW_VISIBILITY_ANIMATION_TYPE_FADE, // Fades in/out. 36 WINDOW_VISIBILITY_ANIMATION_TYPE_FADE, // Fades in/out.
38 WINDOW_VISIBILITY_ANIMATION_TYPE_ROTATE, // Window rotates in. 37 WINDOW_VISIBILITY_ANIMATION_TYPE_ROTATE, // Window rotates in.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 WM_CORE_EXPORT bool AnimateOnChildWindowVisibilityChanged(aura::Window* window, 91 WM_CORE_EXPORT bool AnimateOnChildWindowVisibilityChanged(aura::Window* window,
93 bool visible); 92 bool visible);
94 WM_CORE_EXPORT bool AnimateWindow(aura::Window* window, 93 WM_CORE_EXPORT bool AnimateWindow(aura::Window* window,
95 WindowAnimationType type); 94 WindowAnimationType type);
96 95
97 // Returns true if window animations are disabled for |window|. Window 96 // Returns true if window animations are disabled for |window|. Window
98 // animations are enabled by default. If |window| is NULL, this just checks 97 // animations are enabled by default. If |window| is NULL, this just checks
99 // if the global flag disabling window animations is present. 98 // if the global flag disabling window animations is present.
100 WM_CORE_EXPORT bool WindowAnimationsDisabled(aura::Window* window); 99 WM_CORE_EXPORT bool WindowAnimationsDisabled(aura::Window* window);
101 100
102 } // namespace corewm 101 } // namespace wm
103 } // namespace views
104 102
105 #endif // UI_WM_CORE_WINDOW_ANIMATIONS_H_ 103 #endif // UI_WM_CORE_WINDOW_ANIMATIONS_H_
OLDNEW
« no previous file with comments | « ui/wm/core/visibility_controller_unittest.cc ('k') | ui/wm/core/window_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698