| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/compositor/test/test_layer_animation_delegate.h" | 5 #include "ui/compositor/test/test_layer_animation_delegate.h" |
| 6 | 6 |
| 7 namespace ui { | 7 namespace ui { |
| 8 | 8 |
| 9 TestLayerAnimationDelegate::TestLayerAnimationDelegate() | 9 TestLayerAnimationDelegate::TestLayerAnimationDelegate() |
| 10 : opacity_(1.0f), | 10 : opacity_(1.0f), |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 } | 81 } |
| 82 | 82 |
| 83 float TestLayerAnimationDelegate::GetGrayscaleForAnimation() const { | 83 float TestLayerAnimationDelegate::GetGrayscaleForAnimation() const { |
| 84 return grayscale_; | 84 return grayscale_; |
| 85 } | 85 } |
| 86 | 86 |
| 87 SkColor TestLayerAnimationDelegate::GetColorForAnimation() const { | 87 SkColor TestLayerAnimationDelegate::GetColorForAnimation() const { |
| 88 return color_; | 88 return color_; |
| 89 } | 89 } |
| 90 | 90 |
| 91 void TestLayerAnimationDelegate::AddThreadedAnimation( |
| 92 scoped_ptr<cc::Animation> animation) { |
| 93 } |
| 94 |
| 95 void TestLayerAnimationDelegate::RemoveThreadedAnimation(int animation_id) { |
| 96 } |
| 97 |
| 91 } // namespace ui | 98 } // namespace ui |
| OLD | NEW |