Changeset 229340 in webkit
- Timestamp:
- Mar 6, 2018 1:27:03 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeLists.txt
r229327 r229340 451 451 animation/AnimationTimeline.idl 452 452 animation/CSSAnimation.idl 453 animation/CSSTransition.idl 453 454 animation/CompositeOperation.idl 454 455 animation/ComputedTimingProperties.idl -
trunk/Source/WebCore/ChangeLog
r229336 r229340 1 2018-03-06 Antoine Quint <graouts@apple.com> 2 3 [Web Animations] Add a new CSSTransition subclass of WebAnimation 4 https://bugs.webkit.org/show_bug.cgi?id=183373 5 <rdar://problem/38181985> 6 7 Reviewed by Dean Jackson. 8 9 Adding a new CSSAnimation subclass which we will create in a later patch while resolving styles 10 upon identifying that a new CSS Animation has been added to an element. 11 12 * CMakeLists.txt: 13 * DerivedSources.make: 14 * Sources.txt: 15 * WebCore.xcodeproj/project.pbxproj: 16 * animation/CSSTransition.cpp: Added. 17 (WebCore::CSSTransition::create): 18 (WebCore::CSSTransition::CSSTransition): 19 * animation/CSSTransition.h: Added. 20 * animation/CSSTransition.idl: Added. 21 * animation/KeyframeEffect.cpp: 22 * animation/WebAnimation.h: 23 (WebCore::WebAnimation::isCSSTransition const): 24 * bindings/js/JSWebAnimationCustom.cpp: 25 (WebCore::toJSNewlyCreated): 26 * bindings/js/WebCoreBuiltinNames.h: 27 1 28 2018-03-06 Megan Gardner <megan_gardner@apple.com> 2 29 -
trunk/Source/WebCore/DerivedSources.make
r229327 r229340 373 373 $(WebCore)/animation/ComputedTimingProperties.idl \ 374 374 $(WebCore)/animation/CSSAnimation.idl \ 375 $(WebCore)/animation/CSSTransition.idl \ 375 376 $(WebCore)/animation/DocumentTimeline.idl \ 376 377 $(WebCore)/animation/FillMode.idl \ -
trunk/Source/WebCore/Sources.txt
r229327 r229340 338 338 animation/AnimationTimeline.cpp 339 339 animation/CSSAnimation.cpp 340 animation/CSSTransition.cpp 340 341 animation/DocumentTimeline.cpp 341 342 animation/KeyframeEffect.cpp … … 2439 2440 JSCryptoRsaKeyAlgorithm.cpp 2440 2441 JSCSSAnimation.cpp 2442 JSCSSTransition.cpp 2441 2443 JSCustomElementRegistry.cpp 2442 2444 JSCustomEvent.cpp -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r229336 r229340 8830 8830 712157C01DCCCA0700AA7A92 /* macos-fullscreen-media-controls.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = "macos-fullscreen-media-controls.css"; sourceTree = "<group>"; }; 8831 8831 712157C11DCCCA0700AA7A92 /* macos-fullscreen-media-controls.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "macos-fullscreen-media-controls.js"; sourceTree = "<group>"; }; 8832 7123C1822047399200789392 /* JSCSSTransition.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCSSTransition.cpp; sourceTree = "<group>"; }; 8833 7123C1842047399300789392 /* JSCSSTransition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSCSSTransition.h; sourceTree = "<group>"; }; 8834 7123C185204739B900789392 /* CSSTransition.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CSSTransition.idl; sourceTree = "<group>"; }; 8835 7123C186204739BA00789392 /* CSSTransition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSTransition.h; sourceTree = "<group>"; }; 8836 7123C187204739BB00789392 /* CSSTransition.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CSSTransition.cpp; sourceTree = "<group>"; }; 8832 8837 71247E261FEA5F60008C08CE /* JSKeyframeAnimationOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSKeyframeAnimationOptions.h; sourceTree = "<group>"; }; 8833 8838 71247E281FEA5F61008C08CE /* JSIterationCompositeOperation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSIterationCompositeOperation.cpp; sourceTree = "<group>"; }; … … 15540 15545 71B28424203CEC0B0036AA5D /* JSCSSAnimation.cpp */, 15541 15546 71B28426203CEC0D0036AA5D /* JSCSSAnimation.h */, 15547 7123C1822047399200789392 /* JSCSSTransition.cpp */, 15548 7123C1842047399300789392 /* JSCSSTransition.h */, 15542 15549 71025EDB1F99F1A8004A250C /* JSDocumentTimeline.cpp */, 15543 15550 71025EDC1F99F1A8004A250C /* JSDocumentTimeline.h */, … … 19216 19223 71C29E31203CE76C008F36D2 /* CSSAnimation.idl */, 19217 19224 713171321FBE78C500F758DE /* CSSPropertyBlendingClient.h */, 19225 7123C187204739BB00789392 /* CSSTransition.cpp */, 19226 7123C186204739BA00789392 /* CSSTransition.h */, 19227 7123C185204739B900789392 /* CSSTransition.idl */, 19218 19228 71025EC41F99F096004A250C /* DocumentTimeline.cpp */, 19219 19229 71025EC51F99F096004A250C /* DocumentTimeline.h */, -
trunk/Source/WebCore/animation/KeyframeEffect.cpp
r228446 r229340 26 26 #include "config.h" 27 27 #include "KeyframeEffect.h" 28 29 #include "AnimationEffectTiming.h" 28 30 29 31 namespace WebCore { -
trunk/Source/WebCore/animation/WebAnimation.h
r229327 r229340 54 54 55 55 virtual bool isCSSAnimation() const { return false; } 56 virtual bool isCSSTransition() const { return false; } 56 57 57 58 const String& id() const { return m_id; } -
trunk/Source/WebCore/bindings/js/JSWebAnimationCustom.cpp
r229327 r229340 30 30 #include "JSAnimationTimeline.h" 31 31 #include "JSCSSAnimation.h" 32 #include "JSCSSTransition.h" 32 33 #include "JSDOMConstructor.h" 33 34 … … 40 41 if (value->isCSSAnimation()) 41 42 return createWrapper<CSSAnimation>(globalObject, WTFMove(value)); 43 if (value->isCSSTransition()) 44 return createWrapper<CSSTransition>(globalObject, WTFMove(value)); 42 45 return createWrapper<WebAnimation>(globalObject, WTFMove(value)); 43 46 } -
trunk/Source/WebCore/bindings/js/WebCoreBuiltinNames.h
r229327 r229340 51 51 macro(CredentialsContainer) \ 52 52 macro(CSSAnimation) \ 53 macro(CSSTransition) \ 53 54 macro(CustomElementRegistry) \ 54 55 macro(DataTransferItem) \
Note: See TracChangeset
for help on using the changeset viewer.