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/dummy_layer_animation_delegate.h" | 5 #include "ui/gfx/compositor/dummy_layer_animation_delegate.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 | 8 |
9 DummyLayerAnimationDelegate::DummyLayerAnimationDelegate() : opacity_(1.0f) { | 9 DummyLayerAnimationDelegate::DummyLayerAnimationDelegate() : opacity_(1.0f) { |
10 } | 10 } |
(...skipping 30 matching lines...) Expand all Loading... |
41 } | 41 } |
42 | 42 |
43 const Transform& DummyLayerAnimationDelegate::GetTransformForAnimation() const { | 43 const Transform& DummyLayerAnimationDelegate::GetTransformForAnimation() const { |
44 return transform_; | 44 return transform_; |
45 } | 45 } |
46 | 46 |
47 float DummyLayerAnimationDelegate::GetOpacityForAnimation() const { | 47 float DummyLayerAnimationDelegate::GetOpacityForAnimation() const { |
48 return opacity_; | 48 return opacity_; |
49 } | 49 } |
50 | 50 |
51 void DummyLayerAnimationDelegate::OnLayerAnimationEnded( | |
52 LayerAnimationSequence* sequence) { | |
53 } | |
54 | |
55 } // namespace ui | 51 } // namespace ui |
OLD | NEW |