Index: ash/drag_drop/drag_drop_controller.h |
=================================================================== |
--- ash/drag_drop/drag_drop_controller.h (revision 120096) |
+++ ash/drag_drop/drag_drop_controller.h (working copy) |
@@ -36,8 +36,8 @@ |
class ASH_EXPORT DragDropController |
: public aura::client::DragDropClient, |
public aura::EventFilter, |
- public ui::ImplicitAnimationObserver { |
-public: |
+ public ui::LayerAnimationObserver { |
+ public: |
DragDropController(); |
virtual ~DragDropController(); |
@@ -69,8 +69,13 @@ |
private: |
friend class ash::test::DragDropControllerTest; |
- // Implementation of ImplicitAnimationObserver |
- virtual void OnImplicitAnimationsCompleted() OVERRIDE; |
+ // Overridden from ui::LayerAnimationObserver: |
+ virtual void OnLayerAnimationEnded( |
+ const ui::LayerAnimationSequence* sequence) OVERRIDE; |
+ virtual void OnLayerAnimationAborted( |
+ const ui::LayerAnimationSequence* sequence) OVERRIDE; |
+ virtual void OnLayerAnimationScheduled( |
+ const ui::LayerAnimationSequence* sequence) OVERRIDE {} |
// Helper method to start drag widget flying back animation. |
void StartCanceledAnimation(); |