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_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 } |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 const Transform& TestLayerAnimationDelegate::GetTransformForAnimation() const { | 36 const Transform& TestLayerAnimationDelegate::GetTransformForAnimation() const { |
37 return transform_; | 37 return transform_; |
38 } | 38 } |
39 | 39 |
40 float TestLayerAnimationDelegate::GetOpacityForAnimation() const { | 40 float TestLayerAnimationDelegate::GetOpacityForAnimation() const { |
41 return opacity_; | 41 return opacity_; |
42 } | 42 } |
43 | 43 |
44 } // namespace ui | 44 } // namespace ui |
OLD | NEW |