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

Side by Side Diff: ash/wm/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 | « ash/wm/toplevel_window_event_handler_unittest.cc ('k') | ash/wm/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 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"
(...skipping 12 matching lines...) Expand all
23 23
24 // This is only for animations specific to Ash. For window animations shared 24 // This is only for animations specific to Ash. For window animations shared
25 // with desktop Chrome, see ui/views/corewm/window_animations.h. 25 // with desktop Chrome, see ui/views/corewm/window_animations.h.
26 namespace ash { 26 namespace ash {
27 27
28 // An extension of the window animations provided by CoreWm. These should be 28 // An extension of the window animations provided by CoreWm. These should be
29 // Ash-specific only. 29 // Ash-specific only.
30 enum WindowVisibilityAnimationType { 30 enum WindowVisibilityAnimationType {
31 // Window scale/rotates down to its launcher icon. 31 // Window scale/rotates down to its launcher icon.
32 WINDOW_VISIBILITY_ANIMATION_TYPE_MINIMIZE = 32 WINDOW_VISIBILITY_ANIMATION_TYPE_MINIMIZE =
33 views::corewm::WINDOW_VISIBILITY_ANIMATION_MAX, 33 ::wm::WINDOW_VISIBILITY_ANIMATION_MAX,
34 // Fade in/out using brightness and grayscale web filters. 34 // Fade in/out using brightness and grayscale web filters.
35 WINDOW_VISIBILITY_ANIMATION_TYPE_BRIGHTNESS_GRAYSCALE 35 WINDOW_VISIBILITY_ANIMATION_TYPE_BRIGHTNESS_GRAYSCALE
36 }; 36 };
37 37
38 // Direction for ash-specific window animations used in workspaces and 38 // Direction for ash-specific window animations used in workspaces and
39 // lock/unlock animations. 39 // lock/unlock animations.
40 enum LayerScaleAnimationDirection { 40 enum LayerScaleAnimationDirection {
41 LAYER_SCALE_ANIMATION_ABOVE, 41 LAYER_SCALE_ANIMATION_ABOVE,
42 LAYER_SCALE_ANIMATION_BELOW, 42 LAYER_SCALE_ANIMATION_BELOW,
43 }; 43 };
(...skipping 27 matching lines...) Expand all
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_
OLDNEW
« no previous file with comments | « ash/wm/toplevel_window_event_handler_unittest.cc ('k') | ash/wm/window_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698