| 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/gfx/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), |
| 11 visibility_(true) { | 11 visibility_(true) { |
| 12 } | 12 } |
| 13 | 13 |
| 14 TestLayerAnimationDelegate::TestLayerAnimationDelegate( | 14 TestLayerAnimationDelegate::TestLayerAnimationDelegate( |
| 15 const LayerAnimationDelegate& other) | 15 const LayerAnimationDelegate& other) |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 float TestLayerAnimationDelegate::GetOpacityForAnimation() const { | 54 float TestLayerAnimationDelegate::GetOpacityForAnimation() const { |
| 55 return opacity_; | 55 return opacity_; |
| 56 } | 56 } |
| 57 | 57 |
| 58 bool TestLayerAnimationDelegate::GetVisibilityForAnimation() const { | 58 bool TestLayerAnimationDelegate::GetVisibilityForAnimation() const { |
| 59 return visibility_; | 59 return visibility_; |
| 60 } | 60 } |
| 61 | 61 |
| 62 } // namespace ui | 62 } // namespace ui |
| OLD | NEW |