| OLD | NEW |
| 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_VISIBILITY_CONTROLLER_H_ | 5 #ifndef UI_WM_CORE_VISIBILITY_CONTROLLER_H_ |
| 6 #define UI_WM_CORE_VISIBILITY_CONTROLLER_H_ | 6 #define UI_WM_CORE_VISIBILITY_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 // Enable visibility change animation for specific |window|. Use this if | 68 // Enable visibility change animation for specific |window|. Use this if |
| 69 // you want to enable visibility change animation on a specific window without | 69 // you want to enable visibility change animation on a specific window without |
| 70 // affecting other windows in the same container. Calling this on a window | 70 // affecting other windows in the same container. Calling this on a window |
| 71 // whose animation is already enabled either by this function, or | 71 // whose animation is already enabled either by this function, or |
| 72 // via SetChildWindowVisibilityChangesAnimatedbelow below is allowed and | 72 // via SetChildWindowVisibilityChangesAnimatedbelow below is allowed and |
| 73 // the animation stays enabled. | 73 // the animation stays enabled. |
| 74 void WM_EXPORT SetWindowVisibilityChangesAnimated(aura::Window* window); | 74 void WM_EXPORT SetWindowVisibilityChangesAnimated(aura::Window* window); |
| 75 | 75 |
| 76 // Enable visibiilty change animation for all children of the |window|. | 76 // Enable visibility change animation for all children of the |window|. |
| 77 // Tyically applied to a container whose child windows should be animated | 77 // Typically applied to a container whose child windows should be animated |
| 78 // when their visibility changes. | 78 // when their visibility changes. |
| 79 void WM_EXPORT SetChildWindowVisibilityChangesAnimated( | 79 void WM_EXPORT SetChildWindowVisibilityChangesAnimated( |
| 80 aura::Window* window); | 80 aura::Window* window); |
| 81 | 81 |
| 82 } // namespace wm | 82 } // namespace wm |
| 83 | 83 |
| 84 #endif // UI_WM_CORE_VISIBILITY_CONTROLLER_H_ | 84 #endif // UI_WM_CORE_VISIBILITY_CONTROLLER_H_ |
| OLD | NEW |