OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/gfx/compositor/test_layer_animation_delegate.h" | 5 #include "ui/gfx/compositor/test/test_layer_animation_delegate.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 | 8 |
9 TestLayerAnimationDelegate::TestLayerAnimationDelegate() : opacity_(1.0f) { | 9 TestLayerAnimationDelegate::TestLayerAnimationDelegate() : opacity_(1.0f) { |
10 } | 10 } |
11 | 11 |
12 TestLayerAnimationDelegate::TestLayerAnimationDelegate( | 12 TestLayerAnimationDelegate::TestLayerAnimationDelegate( |
13 const LayerAnimationDelegate& other) | 13 const LayerAnimationDelegate& other) |
14 : bounds_(other.GetBoundsForAnimation()), | 14 : bounds_(other.GetBoundsForAnimation()), |
15 transform_(other.GetTransformForAnimation()), | 15 transform_(other.GetTransformForAnimation()), |
(...skipping 26 matching lines...) Expand all Loading... |
42 | 42 |
43 const Transform& TestLayerAnimationDelegate::GetTransformForAnimation() const { | 43 const Transform& TestLayerAnimationDelegate::GetTransformForAnimation() const { |
44 return transform_; | 44 return transform_; |
45 } | 45 } |
46 | 46 |
47 float TestLayerAnimationDelegate::GetOpacityForAnimation() const { | 47 float TestLayerAnimationDelegate::GetOpacityForAnimation() const { |
48 return opacity_; | 48 return opacity_; |
49 } | 49 } |
50 | 50 |
51 } // namespace ui | 51 } // namespace ui |
OLD | NEW |