| OLD | NEW |
| 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 CC_INPUT_PAGE_SCALE_ANIMATION_H_ | 5 #ifndef CC_INPUT_PAGE_SCALE_ANIMATION_H_ |
| 6 #define CC_INPUT_PAGE_SCALE_ANIMATION_H_ | 6 #define CC_INPUT_PAGE_SCALE_ANIMATION_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 #include "cc/base/cc_export.h" | 12 #include "cc/cc_export.h" |
| 13 #include "ui/gfx/geometry/cubic_bezier.h" | 13 #include "ui/gfx/geometry/cubic_bezier.h" |
| 14 #include "ui/gfx/geometry/size_f.h" | 14 #include "ui/gfx/geometry/size_f.h" |
| 15 #include "ui/gfx/geometry/vector2d.h" | 15 #include "ui/gfx/geometry/vector2d.h" |
| 16 #include "ui/gfx/geometry/vector2d_f.h" | 16 #include "ui/gfx/geometry/vector2d_f.h" |
| 17 | 17 |
| 18 namespace cc { | 18 namespace cc { |
| 19 | 19 |
| 20 // Used in the CC to pass around a scale animation that hasn't yet been | 20 // Used in the CC to pass around a scale animation that hasn't yet been |
| 21 // initialized. | 21 // initialized. |
| 22 struct PendingPageScaleAnimation { | 22 struct PendingPageScaleAnimation { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 base::TimeDelta duration_; | 123 base::TimeDelta duration_; |
| 124 | 124 |
| 125 const gfx::CubicBezier timing_function_; | 125 const gfx::CubicBezier timing_function_; |
| 126 | 126 |
| 127 DISALLOW_COPY_AND_ASSIGN(PageScaleAnimation); | 127 DISALLOW_COPY_AND_ASSIGN(PageScaleAnimation); |
| 128 }; | 128 }; |
| 129 | 129 |
| 130 } // namespace cc | 130 } // namespace cc |
| 131 | 131 |
| 132 #endif // CC_INPUT_PAGE_SCALE_ANIMATION_H_ | 132 #endif // CC_INPUT_PAGE_SCALE_ANIMATION_H_ |
| OLD | NEW |