Index: ui/gfx/compositor/test/test_layer_animation_delegate.cc |
diff --git a/ui/gfx/compositor/test/test_layer_animation_delegate.cc b/ui/gfx/compositor/test/test_layer_animation_delegate.cc |
deleted file mode 100644 |
index c079b457bcacbec3f13f80670ff3e9ebb6e84710..0000000000000000000000000000000000000000 |
--- a/ui/gfx/compositor/test/test_layer_animation_delegate.cc |
+++ /dev/null |
@@ -1,62 +0,0 @@ |
-// Copyright (c) 2012 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. |
- |
-#include "ui/gfx/compositor/test/test_layer_animation_delegate.h" |
- |
-namespace ui { |
- |
-TestLayerAnimationDelegate::TestLayerAnimationDelegate() |
- : opacity_(1.0f), |
- visibility_(true) { |
-} |
- |
-TestLayerAnimationDelegate::TestLayerAnimationDelegate( |
- const LayerAnimationDelegate& other) |
- : bounds_(other.GetBoundsForAnimation()), |
- transform_(other.GetTransformForAnimation()), |
- opacity_(other.GetOpacityForAnimation()), |
- visibility_(other.GetVisibilityForAnimation()) { |
-} |
- |
-TestLayerAnimationDelegate::~TestLayerAnimationDelegate() { |
-} |
- |
-void TestLayerAnimationDelegate::SetBoundsFromAnimation( |
- const gfx::Rect& bounds) { |
- bounds_ = bounds; |
-} |
- |
-void TestLayerAnimationDelegate::SetTransformFromAnimation( |
- const Transform& transform) { |
- transform_ = transform; |
-} |
- |
-void TestLayerAnimationDelegate::SetOpacityFromAnimation(float opacity) { |
- opacity_ = opacity; |
-} |
- |
-void TestLayerAnimationDelegate::SetVisibilityFromAnimation(bool visibility) { |
- visibility_ = visibility; |
-} |
- |
-void TestLayerAnimationDelegate::ScheduleDrawForAnimation() { |
-} |
- |
-const gfx::Rect& TestLayerAnimationDelegate::GetBoundsForAnimation() const { |
- return bounds_; |
-} |
- |
-const Transform& TestLayerAnimationDelegate::GetTransformForAnimation() const { |
- return transform_; |
-} |
- |
-float TestLayerAnimationDelegate::GetOpacityForAnimation() const { |
- return opacity_; |
-} |
- |
-bool TestLayerAnimationDelegate::GetVisibilityForAnimation() const { |
- return visibility_; |
-} |
- |
-} // namespace ui |