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

Issue 19097005: Remove one SVG animated type special case from the bindings generator (Closed)

Created:
7 years, 5 months ago by do-not-use
Modified:
7 years, 5 months ago
CC:
blink-reviews, Nils Barth (inactive), jsbell+bindings_chromium.org, pdr, eae+blinkwatch, leviw+renderwatch, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, adamk+blink_chromium.org, jchaffraix+rendering, darktears, f(malita), Stephen Chennney, Nate Chapin, lgombos, krit
Visibility:
Public.

Description

Remove one SVG animated type special case from the bindings generator Remove one SVG animated type special case from the bindings generator that would append 'Animated' to the implementation getter method. Instead, the implementation methods are renamed to match the IDL attribute name. To avoid naming clashes, existing getters were renamed *CurrentValue() since they return the current value of the animated property. This naming is consistent with the existing *BaseValue() methods. IsSVGAnimatedType() subroutine is not removed from the generator yet as it is still needed. It will be removed in a later commit. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154121

Patch Set 1 #

Patch Set 2 : Fix the regressions #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -362 lines) Patch
M Source/bindings/scripts/deprecated_code_generator_v8.pm View 1 1 chunk +0 lines, -4 lines 0 comments Download
M Source/core/css/CSSCursorImageValue.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/svg/ReferenceFilterBuilder.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGEllipse.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGForeignObject.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGImage.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGRect.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceClipper.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceClipper.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceFilter.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceFilter.cpp View 5 chunks +7 lines, -7 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceMarker.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceMarker.cpp View 5 chunks +7 lines, -7 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceMasker.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceMasker.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGTextPath.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGTransformableContainer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGViewportContainer.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/svg/SVGPathData.cpp View 4 chunks +15 lines, -15 lines 0 comments Download
M Source/core/rendering/svg/SVGRenderTreeAsText.cpp View 1 2 chunks +16 lines, -16 lines 0 comments Download
M Source/core/rendering/svg/SVGResources.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/rendering/svg/SVGTextChunkBuilder.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp View 1 chunk +5 lines, -5 lines 0 comments Download
M Source/core/rendering/svg/SVGTextLayoutEngine.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGAElement.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGAElement.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGCircleElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGComponentTransferFunctionElement.cpp View 1 chunk +7 lines, -7 lines 0 comments Download
M Source/core/svg/SVGCursorElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGEllipseElement.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGFEBlendElement.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGFEColorMatrixElement.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
M Source/core/svg/SVGFEComponentTransferElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFECompositeElement.cpp View 2 chunks +8 lines, -8 lines 0 comments Download
M Source/core/svg/SVGFEConvolveMatrixElement.cpp View 6 chunks +18 lines, -18 lines 0 comments Download
M Source/core/svg/SVGFEDiffuseLightingElement.cpp View 4 chunks +15 lines, -15 lines 0 comments Download
M Source/core/svg/SVGFEDisplacementMapElement.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/svg/SVGFEDistantLightElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEDropShadowElement.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGFEGaussianBlurElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGFEImageElement.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
M Source/core/svg/SVGFEMergeElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEMorphologyElement.cpp View 3 chunks +7 lines, -7 lines 0 comments Download
M Source/core/svg/SVGFEOffsetElement.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGFEPointLightElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFESpecularLightingElement.cpp View 4 chunks +16 lines, -16 lines 0 comments Download
M Source/core/svg/SVGFESpotLightElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGFETileElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFETurbulenceElement.cpp View 2 chunks +8 lines, -8 lines 0 comments Download
M Source/core/svg/SVGFilterElement.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGForeignObjectElement.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGGradientElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGGraphicsElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGImageElement.cpp View 2 chunks +5 lines, -5 lines 0 comments Download
M Source/core/svg/SVGLengthContext.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGLineElement.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGLinearGradientElement.cpp View 3 chunks +12 lines, -12 lines 0 comments Download
M Source/core/svg/SVGMPathElement.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGMarkerElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGMarkerElement.cpp View 3 chunks +6 lines, -6 lines 0 comments Download
M Source/core/svg/SVGMaskElement.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGPatternElement.cpp View 3 chunks +15 lines, -15 lines 0 comments Download
M Source/core/svg/SVGRadialGradientElement.cpp View 3 chunks +16 lines, -16 lines 0 comments Download
M Source/core/svg/SVGRectElement.cpp View 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/svg/SVGSVGElement.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGSVGElement.cpp View 6 chunks +17 lines, -17 lines 0 comments Download
M Source/core/svg/SVGScriptElement.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGStyledElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGTRefElement.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGTextContentElement.h View 1 chunk +1 line, -1 line 1 comment Download
M Source/core/svg/SVGTextContentElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGTextElement.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/svg/SVGTextPathElement.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGUseElement.cpp View 7 chunks +11 lines, -11 lines 0 comments Download
M Source/core/svg/SVGViewSpec.h View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGViewSpec.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/graphics/SVGImage.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/properties/SVGAnimatedPropertyMacros.h View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
do-not-use
7 years, 5 months ago (2013-07-12 11:54:16 UTC) #1
haraken
You're prince! At a first glance, the change looks reasonable to me. SVG experts wants ...
7 years, 5 months ago (2013-07-12 12:11:07 UTC) #2
do-not-use
On 2013/07/12 12:11:07, haraken wrote: > You're prince! > > At a first glance, the ...
7 years, 5 months ago (2013-07-12 12:15:58 UTC) #3
haraken
> > Just to confirm: "To avoid crashes" means "To keep the current behavior as ...
7 years, 5 months ago (2013-07-12 12:25:02 UTC) #4
do-not-use
Haraken, the reason I had to keep the IsSVGAnimatedType() subroutine is because it is still ...
7 years, 5 months ago (2013-07-12 12:25:56 UTC) #5
do-not-use
Hmm, the try bots aren't happy. I must have changed the behavior somehow. I'll investigate ...
7 years, 5 months ago (2013-07-12 12:27:23 UTC) #6
haraken
On 2013/07/12 12:25:56, Christophe Dumez wrote: > Haraken, the reason I had to keep the ...
7 years, 5 months ago (2013-07-12 12:31:13 UTC) #7
Stephen Chennney
The try bots look like issues not related to your changes. LGTM https://codereview.chromium.org/19097005/diff/10001/Source/core/svg/SVGTextContentElement.h File Source/core/svg/SVGTextContentElement.h ...
7 years, 5 months ago (2013-07-12 14:28:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/19097005/10001
7 years, 5 months ago (2013-07-12 14:28:45 UTC) #9
commit-bot: I haz the power
7 years, 5 months ago (2013-07-12 15:21:37 UTC) #10
Message was sent while issue was closed.
Change committed as 154121

Powered by Google App Engine
This is Rietveld 408576698