summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorvollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 16:42:45 +0000
committervollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 16:42:45 +0000
commite876c27118d298051d2245d67f05aacee88adc48 (patch)
tree957216c69b83f2f27116eca07d6c64a387ee792a /views
parent893e281de8adc1821f0ea842a3476e0ccbb6c5ca (diff)
downloadchromium_src-e876c27118d298051d2245d67f05aacee88adc48.zip
chromium_src-e876c27118d298051d2245d67f05aacee88adc48.tar.gz
chromium_src-e876c27118d298051d2245d67f05aacee88adc48.tar.bz2
Allows observers to be notified when layer animations complete.
Depends on http://codereview.chromium.org/8362006/ BUG=101595 TEST=None Review URL: http://codereview.chromium.org/8395046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108307 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/view.cc3
-rw-r--r--views/view.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/views/view.cc b/views/view.cc
index 723f77c..b3bfeee 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -1173,9 +1173,6 @@ void View::OnPaintLayer(gfx::Canvas* canvas) {
PaintCommon(canvas);
}
-void View::OnLayerAnimationEnded(const ui::LayerAnimationSequence* animation) {
-}
-
void View::ReorderLayers() {
View* v = this;
while (v && !v->layer())
diff --git a/views/view.h b/views/view.h
index 88855e2..0373c06 100644
--- a/views/view.h
+++ b/views/view.h
@@ -990,8 +990,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Overridden from ui::LayerDelegate:
virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE;
- virtual void OnLayerAnimationEnded(
- const ui::LayerAnimationSequence* animation) OVERRIDE;
// Finds the layer that this view paints to (it may belong to an ancestor
// view), then reorders the immediate children of that layer to match the