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

Unified Diff: ui/gfx/compositor/layer_animator_delegate.h

Issue 8395046: Allows observers to be notified when layer animations complete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer comments. 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_animator_delegate.h
diff --git a/ui/gfx/compositor/layer_animator_delegate.h b/ui/gfx/compositor/layer_animator_delegate.h
deleted file mode 100644
index 173584fca1ad8fc95fd9fca21ec40428668f3fbf..0000000000000000000000000000000000000000
--- a/ui/gfx/compositor/layer_animator_delegate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_GFX_COMPOSITOR_LAYER_ANIMATOR_DELEGATE_H_
-#define UI_GFX_COMPOSITOR_LAYER_ANIMATOR_DELEGATE_H_
-#pragma once
-
-#include "ui/gfx/rect.h"
-#include "ui/gfx/transform.h"
-#include "ui/gfx/compositor/compositor_export.h"
-#include "ui/gfx/compositor/layer_animation_delegate.h"
-
-namespace ui {
-
-class LayerAnimationSequence;
-
-// Layer animators interact with the layers using this interface.
-class COMPOSITOR_EXPORT LayerAnimatorDelegate : public LayerAnimationDelegate {
- public:
- // Called when the |sequence| ends. Not called if |sequence| is aborted.
- virtual void OnLayerAnimationEnded(LayerAnimationSequence* sequence) = 0;
-
- // if this becomes necessary, this would be the appropriate place to add
- // notifications about elements starting or ending, or sequences starting.
-
- protected:
- virtual ~LayerAnimatorDelegate() {}
-};
-
-} // namespace ui
-
-#endif // UI_GFX_COMPOSITOR_LAYER_ANIMATOR_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698