Index: ui/gfx/compositor/dummy_layer_animation_delegate.h |
=================================================================== |
--- ui/gfx/compositor/dummy_layer_animation_delegate.h (revision 107719) |
+++ ui/gfx/compositor/dummy_layer_animation_delegate.h (working copy) |
@@ -1,48 +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_DUMMY_LAYER_ANIMATION_DELEGATE_H_ |
-#define UI_GFX_COMPOSITOR_DUMMY_LAYER_ANIMATION_DELEGATE_H_ |
-#pragma once |
- |
-#include "base/compiler_specific.h" |
-#include "ui/gfx/rect.h" |
-#include "ui/gfx/transform.h" |
-#include "ui/gfx/compositor/compositor_export.h" |
-#include "ui/gfx/compositor/layer_animator_delegate.h" |
- |
-namespace ui { |
- |
-class LayerAnimationSequence; |
- |
-class COMPOSITOR_EXPORT DummyLayerAnimationDelegate |
- : public LayerAnimatorDelegate { |
- public: |
- DummyLayerAnimationDelegate(); |
- DummyLayerAnimationDelegate(const LayerAnimationDelegate& other); |
- virtual ~DummyLayerAnimationDelegate(); |
- |
- // Implementation of LayerAnimationDelegate |
- virtual void SetBoundsFromAnimation(const gfx::Rect& bounds) OVERRIDE; |
- virtual void SetTransformFromAnimation(const Transform& transform) OVERRIDE; |
- virtual void SetOpacityFromAnimation(float opacity) OVERRIDE; |
- virtual void ScheduleDrawForAnimation() OVERRIDE; |
- virtual const gfx::Rect& GetBoundsForAnimation() const OVERRIDE; |
- virtual const Transform& GetTransformForAnimation() const OVERRIDE; |
- virtual float GetOpacityForAnimation() const OVERRIDE; |
- |
- // Implementation of LayerAnimatorDelegate |
- virtual void OnLayerAnimationEnded(LayerAnimationSequence* sequence) OVERRIDE; |
- |
- private: |
- gfx::Rect bounds_; |
- Transform transform_; |
- float opacity_; |
- |
- // Allow copy and assign. |
-}; |
- |
-} // namespace ui |
- |
-#endif // UI_GFX_COMPOSITOR_DUMMY_LAYER_ANIMATION_DELEGATE_H_ |