diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-21 02:01:10 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-21 02:01:10 +0000 |
commit | 326828b11895bb9753bbd9efd42800a9f4d67d6d (patch) | |
tree | 0ef95b36057b2bbe3cc86775c46e28d9468792c7 /ui/aura/window.h | |
parent | af81ff12c3a199c0a5a0b6ad44771ff61325ed40 (diff) | |
download | chromium_src-326828b11895bb9753bbd9efd42800a9f4d67d6d.zip chromium_src-326828b11895bb9753bbd9efd42800a9f4d67d6d.tar.gz chromium_src-326828b11895bb9753bbd9efd42800a9f4d67d6d.tar.bz2 |
Animate desktop rotations.
. Adds a LayerDelegate method to notify of the end of an animation.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8364030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r-- | ui/aura/window.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h index 0eb8d98..e46a241 100644 --- a/ui/aura/window.h +++ b/ui/aura/window.h @@ -116,7 +116,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate { virtual ToplevelWindowContainer* AsToplevelWindowContainer(); virtual const ToplevelWindowContainer* AsToplevelWindowContainer() const; - virtual void SetTransform(const ui::Transform& transform); + void SetTransform(const ui::Transform& transform); // Assigns a LayoutManager to size and place child windows. // The Window takes ownership of the LayoutManager. @@ -286,6 +286,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate { // Overridden from ui::LayerDelegate: virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; + virtual void OnLayerAnimationEnded(const ui::Animation* animation) OVERRIDE; int type_; |