diff options
author | vollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-07 18:59:31 +0000 |
---|---|---|
committer | vollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-07 18:59:31 +0000 |
commit | e4cbcc77d2e11a060e1232dcf60ad647a4d4dfb5 (patch) | |
tree | 75475f509107dc5f4f3f581c9daa3569c92ef9af /ui/gfx/compositor/screen_rotation.h | |
parent | c92649a420f92b60b3d7343cf542a80eb79f7fc7 (diff) | |
download | chromium_src-e4cbcc77d2e11a060e1232dcf60ad647a4d4dfb5.zip chromium_src-e4cbcc77d2e11a060e1232dcf60ad647a4d4dfb5.tar.gz chromium_src-e4cbcc77d2e11a060e1232dcf60ad647a4d4dfb5.tar.bz2 |
Add support for different tween types in ui::Layer animations
Also includes code for cutting down on the number of draws requested during animations.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/9599003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/compositor/screen_rotation.h')
-rw-r--r-- | ui/gfx/compositor/screen_rotation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gfx/compositor/screen_rotation.h b/ui/gfx/compositor/screen_rotation.h index 1d95a5d..315b981 100644 --- a/ui/gfx/compositor/screen_rotation.h +++ b/ui/gfx/compositor/screen_rotation.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -31,7 +31,7 @@ class COMPOSITOR_EXPORT ScreenRotation : public LayerAnimationElement { private: // Implementation of LayerAnimationDelegate virtual void OnStart(LayerAnimationDelegate* delegate) OVERRIDE; - virtual void OnProgress(double t, + virtual bool OnProgress(double t, LayerAnimationDelegate* delegate) OVERRIDE; virtual void OnGetTarget(TargetValue* target) const OVERRIDE; virtual void OnAbort() OVERRIDE; |