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

Side by Side Diff: cc/page_scale_animation.h

Issue 11368063: cc: Fix header include guards of our header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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
« no previous file with comments | « cc/overdraw_metrics.h ('k') | cc/platform_color.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CCPageScaleAnimation_h 5 #ifndef CC_PAGE_SCALE_ANIMATION_H_
6 #define CCPageScaleAnimation_h 6 #define CC_PAGE_SCALE_ANIMATION_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "IntSize.h" 9 #include "IntSize.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 // A small helper class that does the math for zoom animations, primarily for 13 // A small helper class that does the math for zoom animations, primarily for
14 // double-tap zoom. Initialize it with starting and ending scroll/page scale 14 // double-tap zoom. Initialize it with starting and ending scroll/page scale
15 // positions and an animation length time, then call ...AtTime() at every frame 15 // positions and an animation length time, then call ...AtTime() at every frame
16 // to obtain the current interpolated position. 16 // to obtain the current interpolated position.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 IntSize m_anchor; 65 IntSize m_anchor;
66 IntSize m_scrollEnd; 66 IntSize m_scrollEnd;
67 float m_pageScaleEnd; 67 float m_pageScaleEnd;
68 68
69 double m_startTime; 69 double m_startTime;
70 double m_duration; 70 double m_duration;
71 }; 71 };
72 72
73 } // namespace cc 73 } // namespace cc
74 74
75 #endif 75 #endif // CC_PAGE_SCALE_ANIMATION_H_
OLDNEW
« no previous file with comments | « cc/overdraw_metrics.h ('k') | cc/platform_color.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698