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

Side by Side Diff: ash/wm/window_animations.h

Issue 10911172: Changes launcher so that when animating hidden the background doesn't (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 2 trunk Created 8 years, 3 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/shelf_layout_manager.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 9
10 namespace aura { 10 namespace aura {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 enum WorkspaceAnimationDirection { 95 enum WorkspaceAnimationDirection {
96 WORKSPACE_ANIMATE_UP, 96 WORKSPACE_ANIMATE_UP,
97 WORKSPACE_ANIMATE_DOWN, 97 WORKSPACE_ANIMATE_DOWN,
98 }; 98 };
99 99
100 enum WorkspaceType { 100 enum WorkspaceType {
101 WORKSPACE_MAXIMIZED, 101 WORKSPACE_MAXIMIZED,
102 WORKSPACE_DESKTOP, 102 WORKSPACE_DESKTOP,
103 }; 103 };
104 104
105 // Amount of time for the workspace switch animation.
106 extern const int kWorkspaceSwitchTimeMS;
107
105 // Animates between two workspaces. If |animate_old| is false |old_window| is 108 // Animates between two workspaces. If |animate_old| is false |old_window| is
106 // not animated, otherwise it is. |is_restoring_maximized_window| is true if 109 // not animated, otherwise it is. |is_restoring_maximized_window| is true if
107 // the switch is the result of a minmized window being restored. 110 // the switch is the result of a minmized window being restored.
108 ASH_EXPORT void AnimateBetweenWorkspaces(aura::Window* old_window, 111 ASH_EXPORT void AnimateBetweenWorkspaces(aura::Window* old_window,
109 WorkspaceType old_type, 112 WorkspaceType old_type,
110 bool animate_old, 113 bool animate_old,
111 aura::Window* new_window, 114 aura::Window* new_window,
112 WorkspaceType new_type, 115 WorkspaceType new_type,
113 bool is_restoring_maximized_window); 116 bool is_restoring_maximized_window);
114 117
(...skipping 19 matching lines...) Expand all
134 137
135 // Returns false if the |window| didn't animate. 138 // Returns false if the |window| didn't animate.
136 ASH_EXPORT bool AnimateOnChildWindowVisibilityChanged( 139 ASH_EXPORT bool AnimateOnChildWindowVisibilityChanged(
137 aura::Window* window, bool visible); 140 aura::Window* window, bool visible);
138 141
139 } // namespace internal 142 } // namespace internal
140 } // namespace ash 143 } // namespace ash
141 144
142 145
143 #endif // ASH_WM_WINDOW_ANIMATIONS_H_ 146 #endif // ASH_WM_WINDOW_ANIMATIONS_H_
OLDNEW
« no previous file with comments | « ash/wm/shelf_layout_manager.cc ('k') | ash/wm/window_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698