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

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

Issue 2024993002: Makes RootWindowController window creation in terms of common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 2 trunk Created 4 years, 6 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
« no previous file with comments | « mash/wm/root_window_controller.cc ('k') | no next file » | 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_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
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_
OLDNEW
« no previous file with comments | « mash/wm/root_window_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698