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

Unified Diff: ash/wm/session_state_animator.h

Issue 11276025: Add lock pod animation on unlock. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Make it compile Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/wm/session_state_animator.cc » ('j') | ash/wm/session_state_animator.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/session_state_animator.h
diff --git a/ash/wm/session_state_animator.h b/ash/wm/session_state_animator.h
index 4a43cc89d56c63700fbabcede6324e24fb06f7a6..032a92e0a574f5231effd9a05b3c817c52f295a8 100644
--- a/ash/wm/session_state_animator.h
+++ b/ash/wm/session_state_animator.h
@@ -127,6 +127,12 @@ class ASH_EXPORT SessionStateAnimator : public aura::RootWindowObserver {
void StartAnimation(int container_mask,
AnimationType type);
+ // Apply animation |type| to all containers included in |container_mask| and
+ // call a |callback| at the end of the animation, if it is not null.
+ void StartAnimationWithCallback(int container_mask,
+ AnimationType type,
+ base::Callback<void(void)>& callback);
+
// Fills |containers| with the containers included in |container_mask|.
void GetContainers(int container_mask,
aura::Window::Windows* containers);
@@ -136,6 +142,12 @@ class ASH_EXPORT SessionStateAnimator : public aura::RootWindowObserver {
const gfx::Size& old_size) OVERRIDE;
private:
+ // Apply animation |type| to window |window| and add |observer| if it is not
+ // NULL to the last animation sequence.
+ void RunAnimationForWindow(aura::Window* window,
+ AnimationType type,
+ ui::LayerAnimationObserver* observer);
+
// Layer that's stacked under all of the root window's children to provide a
// black background when we're scaling all of the other windows down.
// TODO(derat): Remove this in favor of having the compositor only clear the
« no previous file with comments | « no previous file | ash/wm/session_state_animator.cc » ('j') | ash/wm/session_state_animator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698