Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Side by Side Diff: ui/gfx/compositor/dummy_layer_animation_delegate.cc

Issue 8395046: Allows observers to be notified when layer animations complete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge with master Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/dummy_layer_animation_delegate.h" 5 #include "ui/gfx/compositor/dummy_layer_animation_delegate.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 DummyLayerAnimationDelegate::DummyLayerAnimationDelegate() : opacity_(1.0f) { 9 DummyLayerAnimationDelegate::DummyLayerAnimationDelegate() : opacity_(1.0f) {
10 } 10 }
(...skipping 30 matching lines...) Expand all
41 } 41 }
42 42
43 const Transform& DummyLayerAnimationDelegate::GetTransformForAnimation() const { 43 const Transform& DummyLayerAnimationDelegate::GetTransformForAnimation() const {
44 return transform_; 44 return transform_;
45 } 45 }
46 46
47 float DummyLayerAnimationDelegate::GetOpacityForAnimation() const { 47 float DummyLayerAnimationDelegate::GetOpacityForAnimation() const {
48 return opacity_; 48 return opacity_;
49 } 49 }
50 50
51 void DummyLayerAnimationDelegate::OnLayerAnimationEnded(
52 LayerAnimationSequence* sequence) {
53 }
54
55 } // namespace ui 51 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698