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

Unified Diff: ui/gfx/compositor/layer.cc

Issue 8395046: Allows observers to be notified when layer animations complete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge with master Created 9 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
Index: ui/gfx/compositor/layer.cc
diff --git a/ui/gfx/compositor/layer.cc b/ui/gfx/compositor/layer.cc
index 70f0777628ddf3601223e6de6195d3fe6ce15ed1..ccea68f4f3f6fff5ab49d6d6843f6711c00c7336 100644
--- a/ui/gfx/compositor/layer.cc
+++ b/ui/gfx/compositor/layer.cc
@@ -650,11 +650,6 @@ float Layer::GetOpacityForAnimation() const {
return opacity();
}
-void Layer::OnLayerAnimationEnded(LayerAnimationSequence* sequence) {
- if (delegate_)
- delegate_->OnLayerAnimationEnded(sequence);
-}
-
#if defined(USE_WEBKIT_COMPOSITOR)
void Layer::CreateWebLayer() {
web_layer_ = WebKit::WebContentLayer::create(this, this);

Powered by Google App Engine
This is Rietveld 408576698