summaryrefslogtreecommitdiffstats
path: root/cc/page_scale_animation.h
diff options
context:
space:
mode:
authoraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-14 06:51:44 +0000
committeraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-14 06:51:44 +0000
commit69a2a5be71022a23aeef22ee6661cf3e01314326 (patch)
tree3ad8e48399c0a076a44cfaa5d20f9316b2190f04 /cc/page_scale_animation.h
parent6c2abf95fb4194f567fd35803acc4529f1577003 (diff)
downloadchromium_src-69a2a5be71022a23aeef22ee6661cf3e01314326.zip
chromium_src-69a2a5be71022a23aeef22ee6661cf3e01314326.tar.gz
chromium_src-69a2a5be71022a23aeef22ee6661cf3e01314326.tar.bz2
cc: Clean up PageScaleAnimation for readability.
No-op change. BUG=152505 Review URL: https://chromiumcodereview.appspot.com/11364189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167615 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/page_scale_animation.h')
-rw-r--r--cc/page_scale_animation.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/page_scale_animation.h b/cc/page_scale_animation.h
index 2d8f6d5..fe09d5b 100644
--- a/cc/page_scale_animation.h
+++ b/cc/page_scale_animation.h
@@ -58,9 +58,11 @@ private:
void clampTargetScrollOffset();
void inferTargetScrollOffsetFromStartAnchor();
void inferTargetAnchorFromScrollOffsets();
- gfx::SizeF viewportSizeAtScale(float pageScaleFactor) const;
+ gfx::SizeF startViewportSize() const;
+ gfx::SizeF targetViewportSize() const;
float interpAtTime(double time) const;
+ gfx::SizeF viewportSizeAt(float interp) const;
gfx::Vector2dF scrollOffsetAt(float interp) const;
gfx::Vector2dF anchorAt(float interp) const;
gfx::Vector2dF viewportRelativeAnchorAt(float interp) const;