| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2012 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 19 matching lines...) Expand all Loading... |
| 30 #include "core/page/animation/KeyframeAnimation.h" | 30 #include "core/page/animation/KeyframeAnimation.h" |
| 31 | 31 |
| 32 #include "CSSPropertyNames.h" | 32 #include "CSSPropertyNames.h" |
| 33 #include "core/css/resolver/StyleResolver.h" | 33 #include "core/css/resolver/StyleResolver.h" |
| 34 #include "core/dom/EventNames.h" | 34 #include "core/dom/EventNames.h" |
| 35 #include "core/page/animation/AnimationControllerPrivate.h" | 35 #include "core/page/animation/AnimationControllerPrivate.h" |
| 36 #include "core/page/animation/CSSPropertyAnimation.h" | 36 #include "core/page/animation/CSSPropertyAnimation.h" |
| 37 #include "core/page/animation/CompositeAnimation.h" | 37 #include "core/page/animation/CompositeAnimation.h" |
| 38 #include "core/rendering/RenderBoxModelObject.h" | 38 #include "core/rendering/RenderBoxModelObject.h" |
| 39 #include "core/rendering/style/RenderStyle.h" | 39 #include "core/rendering/style/RenderStyle.h" |
| 40 #include <wtf/UnusedParam.h> | |
| 41 | 40 |
| 42 using namespace std; | 41 using namespace std; |
| 43 | 42 |
| 44 namespace WebCore { | 43 namespace WebCore { |
| 45 | 44 |
| 46 KeyframeAnimation::KeyframeAnimation(const CSSAnimationData* animation, RenderOb
ject* renderer, int index, CompositeAnimation* compAnim, RenderStyle* unanimated
Style) | 45 KeyframeAnimation::KeyframeAnimation(const CSSAnimationData* animation, RenderOb
ject* renderer, int index, CompositeAnimation* compAnim, RenderStyle* unanimated
Style) |
| 47 : AnimationBase(animation, renderer, compAnim) | 46 : AnimationBase(animation, renderer, compAnim) |
| 48 , m_keyframes(renderer, animation->name()) | 47 , m_keyframes(renderer, animation->name()) |
| 49 , m_index(index) | 48 , m_index(index) |
| 50 , m_startEventDispatched(false) | 49 , m_startEventDispatched(false) |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 | 462 |
| 464 if (acceleratedPropertiesOnly) { | 463 if (acceleratedPropertiesOnly) { |
| 465 bool isLooping; | 464 bool isLooping; |
| 466 getTimeToNextEvent(t, isLooping); | 465 getTimeToNextEvent(t, isLooping); |
| 467 } | 466 } |
| 468 | 467 |
| 469 return t; | 468 return t; |
| 470 } | 469 } |
| 471 | 470 |
| 472 } // namespace WebCore | 471 } // namespace WebCore |
| OLD | NEW |