| 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_observer.h" | 5 #include "ui/gfx/compositor/test/test_layer_animation_observer.h" |
| 6 | 6 |
| 7 #include <cstddef> | 7 #include <cstddef> |
| 8 | 8 |
| 9 namespace ui { | 9 namespace ui { |
| 10 | 10 |
| 11 TestLayerAnimationObserver::TestLayerAnimationObserver() | 11 TestLayerAnimationObserver::TestLayerAnimationObserver() |
| 12 : last_ended_sequence_(NULL), | 12 : last_ended_sequence_(NULL), |
| 13 last_scheduled_sequence_(NULL), | 13 last_scheduled_sequence_(NULL), |
| 14 last_aborted_sequence_(NULL) { | 14 last_aborted_sequence_(NULL) { |
| 15 } | 15 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 26 const LayerAnimationSequence* sequence) { | 26 const LayerAnimationSequence* sequence) { |
| 27 last_scheduled_sequence_ = sequence; | 27 last_scheduled_sequence_ = sequence; |
| 28 } | 28 } |
| 29 | 29 |
| 30 void TestLayerAnimationObserver::OnLayerAnimationAborted( | 30 void TestLayerAnimationObserver::OnLayerAnimationAborted( |
| 31 const LayerAnimationSequence* sequence) { | 31 const LayerAnimationSequence* sequence) { |
| 32 last_aborted_sequence_ = sequence; | 32 last_aborted_sequence_ = sequence; |
| 33 } | 33 } |
| 34 | 34 |
| 35 } // namespace ui | 35 } // namespace ui |
| OLD | NEW |