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

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

Issue 10869066: Attempt 2 at Fixes crash introduced @ 153047 (you can hit crash by maximizing a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: The fix Created 8 years, 4 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 | « no previous file | ash/wm/window_animations.cc » ('j') | ash/wm/window_animations_unittest.cc » ('J')
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 // Returns the duration of the cross-fade animation based on the |old_bounds| 113 // Returns the duration of the cross-fade animation based on the |old_bounds|
114 // and |new_bounds| of the window. 114 // and |new_bounds| of the window.
115 ASH_EXPORT base::TimeDelta GetCrossFadeDuration(const gfx::Rect& old_bounds, 115 ASH_EXPORT base::TimeDelta GetCrossFadeDuration(const gfx::Rect& old_bounds,
116 const gfx::Rect& new_bounds); 116 const gfx::Rect& new_bounds);
117 117
118 // Returns false if the |window| didn't animate. 118 // Returns false if the |window| didn't animate.
119 ASH_EXPORT bool AnimateOnChildWindowVisibilityChanged( 119 ASH_EXPORT bool AnimateOnChildWindowVisibilityChanged(
120 aura::Window* window, bool visible); 120 aura::Window* window, bool visible);
121 121
122 // Delay the old layer deletion so that test can verify the behavior of
123 // old layer.
124 ASH_EXPORT void SetDelayedOldLayerDeletionInCrossFadeForTest(bool value);
125
126 } // namespace internal 122 } // namespace internal
127 } // namespace ash 123 } // namespace ash
128 124
129 125
130 #endif // ASH_WM_WINDOW_ANIMATIONS_H_ 126 #endif // ASH_WM_WINDOW_ANIMATIONS_H_
OLDNEW
« no previous file with comments | « no previous file | ash/wm/window_animations.cc » ('j') | ash/wm/window_animations_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698