| 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/layer_animation_observer.h" | 5 #include "ui/compositor/layer_animation_observer.h" |
| 6 | 6 |
| 7 #include "ui/gfx/compositor/layer_animation_sequence.h" | 7 #include "ui/compositor/layer_animation_sequence.h" |
| 8 | 8 |
| 9 namespace ui { | 9 namespace ui { |
| 10 | 10 |
| 11 //////////////////////////////////////////////////////////////////////////////// | 11 //////////////////////////////////////////////////////////////////////////////// |
| 12 // LayerAnimationObserver | 12 // LayerAnimationObserver |
| 13 | 13 |
| 14 LayerAnimationObserver::LayerAnimationObserver() { | 14 LayerAnimationObserver::LayerAnimationObserver() { |
| 15 } | 15 } |
| 16 | 16 |
| 17 LayerAnimationObserver::~LayerAnimationObserver() { | 17 LayerAnimationObserver::~LayerAnimationObserver() { |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 } | 100 } |
| 101 | 101 |
| 102 void ImplicitAnimationObserver::CheckCompleted() { | 102 void ImplicitAnimationObserver::CheckCompleted() { |
| 103 if (active_ && attached_sequences().empty()) { | 103 if (active_ && attached_sequences().empty()) { |
| 104 OnImplicitAnimationsCompleted(); | 104 OnImplicitAnimationsCompleted(); |
| 105 active_ = false; | 105 active_ = false; |
| 106 } | 106 } |
| 107 } | 107 } |
| 108 | 108 |
| 109 } // namespace ui | 109 } // namespace ui |
| OLD | NEW |