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 /views/view.cc | |
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 'views/view.cc')
-rw-r--r-- | views/view.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/view.cc b/views/view.cc index 925a40f..e4ffbe8 100644 --- a/views/view.cc +++ b/views/view.cc @@ -1171,6 +1171,9 @@ void View::OnPaintLayer(gfx::Canvas* canvas) { PaintCommon(canvas); } +void View::OnLayerAnimationEnded(const ui::Animation* animation) { +} + void View::ReorderLayers() { View* v = this; while (v && !v->layer()) |