| 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 #ifndef UI_GFX_COMPOSITOR_TEST_LAYER_ANIMATION_OBSERVER_ | 5 #ifndef UI_GFX_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_OBSERVER_ |
| 6 #define UI_GFX_COMPOSITOR_TEST_LAYER_ANIMATION_OBSERVER_ | 6 #define UI_GFX_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_OBSERVER_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "ui/gfx/compositor/layer_animation_observer.h" | 10 #include "ui/gfx/compositor/layer_animation_observer.h" |
| 11 | 11 |
| 12 namespace ui { | 12 namespace ui { |
| 13 | 13 |
| 14 class LayerAnimationSequence; | 14 class LayerAnimationSequence; |
| 15 | 15 |
| 16 // Listens to animation ended notifications. Remembers the last sequence that | 16 // Listens to animation ended notifications. Remembers the last sequence that |
| (...skipping 28 matching lines...) Expand all Loading... |
| 45 private: | 45 private: |
| 46 const LayerAnimationSequence* last_ended_sequence_; | 46 const LayerAnimationSequence* last_ended_sequence_; |
| 47 const LayerAnimationSequence* last_scheduled_sequence_; | 47 const LayerAnimationSequence* last_scheduled_sequence_; |
| 48 const LayerAnimationSequence* last_aborted_sequence_; | 48 const LayerAnimationSequence* last_aborted_sequence_; |
| 49 | 49 |
| 50 // Copy and assign are allowed. | 50 // Copy and assign are allowed. |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace ui | 53 } // namespace ui |
| 54 | 54 |
| 55 #endif // UI_GFX_COMPOSITOR_TEST_LAYER_ANIMATION_OBSERVER_ | 55 #endif // UI_GFX_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_OBSERVER_ |
| OLD | NEW |