| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "CString.h" | 36 #include "CString.h" |
| 37 #include "CompositeAnimation.h" | 37 #include "CompositeAnimation.h" |
| 38 #include "Document.h" | 38 #include "Document.h" |
| 39 #include "EventNames.h" | 39 #include "EventNames.h" |
| 40 #include "FloatConversion.h" | 40 #include "FloatConversion.h" |
| 41 #include "Frame.h" | 41 #include "Frame.h" |
| 42 #include "IdentityTransformOperation.h" | 42 #include "IdentityTransformOperation.h" |
| 43 #include "ImplicitAnimation.h" | 43 #include "ImplicitAnimation.h" |
| 44 #include "KeyframeAnimation.h" | 44 #include "KeyframeAnimation.h" |
| 45 #include "MatrixTransformOperation.h" | 45 #include "MatrixTransformOperation.h" |
| 46 #include "RenderObject.h" | 46 #include "RenderBox.h" |
| 47 #include "RenderStyle.h" | 47 #include "RenderStyle.h" |
| 48 #include "UnitBezier.h" | 48 #include "UnitBezier.h" |
| 49 | 49 |
| 50 #include <algorithm> | 50 #include <algorithm> |
| 51 | 51 |
| 52 using namespace std; | 52 using namespace std; |
| 53 | 53 |
| 54 namespace WebCore { | 54 namespace WebCore { |
| 55 | 55 |
| 56 // The epsilon value we pass to UnitBezier::solve given that the animation is go
ing to run over |dur| seconds. The longer the | 56 // The epsilon value we pass to UnitBezier::solve given that the animation is go
ing to run over |dur| seconds. The longer the |
| (...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1067 if (m_startTime <= 0) | 1067 if (m_startTime <= 0) |
| 1068 return 0; | 1068 return 0; |
| 1069 if (postActive()) | 1069 if (postActive()) |
| 1070 return 1; | 1070 return 1; |
| 1071 return beginAnimationUpdateTime() - m_startTime; | 1071 return beginAnimationUpdateTime() - m_startTime; |
| 1072 } | 1072 } |
| 1073 | 1073 |
| 1074 } // namespace WebCore | 1074 } // namespace WebCore |
| 1075 | 1075 |
| 1076 | 1076 |
| OLD | NEW |