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

Issue 16959011: Get rid of multiple inheritence for SVGViewElement interface (Closed)

Created:
7 years, 6 months ago by do-not-use
Modified:
7 years, 6 months ago
CC:
blink-reviews, pdr, f(malita), Stephen Chennney, eae+blinkwatch, lgombos
Visibility:
Public.

Description

Get rid of multiple inheritence for SVGViewElement interface Web IDL no longer supports multiple inheritence. As per the latest specification SVGViewElement should only inherit from SVGElement. 'implements' statements are used for the rest. This patch refactors the IDL files to match the latest specification: http://www.w3.org/TR/SVG2/linking.html#InterfaceSVGViewElement Note that there is a WebExposed change as SVGZoomAndPan used to be exposed on the Window and it is not anymore. SVGZoomAndPan merely supplements SVGViewElement and should not be exposed to JavaScript according to the latest specification. BUG=251772 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152827

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -32 lines) Patch
M LayoutTests/svg/custom/global-constructors-expected.txt View 1 1 chunk +0 lines, -3 lines 0 comments Download
M LayoutTests/svg/custom/js-svg-constructors.svg View 1 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/svg/custom/js-svg-constructors-expected.txt View 1 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/svg/custom/script-tests/global-constructors.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M LayoutTests/svg/dom/SVGViewSpec-defaults-expected.txt View 2 chunks +5 lines, -5 lines 0 comments Download
M LayoutTests/svg/dom/SVGViewSpec-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/svg/dom/script-tests/SVGViewSpec.js View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/svg/dom/script-tests/SVGViewSpec-defaults.js View 2 chunks +5 lines, -5 lines 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/core.gypi View 1 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGExternalResourcesRequired.idl View 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/svg/SVGFitToViewBox.idl View 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/svg/SVGViewElement.idl View 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/svg/SVGZoomAndPan.idl View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
do-not-use
Please note the change of behavior for SVGZoomAndPan. This is according to specification but I ...
7 years, 6 months ago (2013-06-19 15:41:27 UTC) #1
haraken
schenney: Could you take a look? This is a change to make the Blink IDL ...
7 years, 6 months ago (2013-06-19 15:45:30 UTC) #2
do-not-use
On 2013/06/19 15:45:30, haraken wrote: > schenney: Could you take a look? This is a ...
7 years, 6 months ago (2013-06-19 15:55:41 UTC) #3
arv (Not doing code reviews)
LGTM I think it is fine to remove the SVGZoomAndPan interface object.
7 years, 6 months ago (2013-06-19 16:14:34 UTC) #4
abarth-chromium
https://codereview.chromium.org/16959011/diff/1/Source/core/svg/SVGFitToViewBox.idl File Source/core/svg/SVGFitToViewBox.idl (right): https://codereview.chromium.org/16959011/diff/1/Source/core/svg/SVGFitToViewBox.idl#newcode34 Source/core/svg/SVGFitToViewBox.idl:34: SVGViewElement implements SVGFitToViewBox; Does this imply DoNotGenerateToV8? I guess ...
7 years, 6 months ago (2013-06-19 18:09:27 UTC) #5
Stephen Chennney
The change seems fine in itself. I have some concerns about the broader impact. Do ...
7 years, 6 months ago (2013-06-19 18:29:20 UTC) #6
do-not-use
On 2013/06/19 18:29:20, Stephen Chenney wrote: > The change seems fine in itself. I have ...
7 years, 6 months ago (2013-06-20 11:07:12 UTC) #7
do-not-use
https://codereview.chromium.org/16959011/diff/1/Source/core/svg/SVGExternalResourcesRequired.idl File Source/core/svg/SVGExternalResourcesRequired.idl (left): https://codereview.chromium.org/16959011/diff/1/Source/core/svg/SVGExternalResourcesRequired.idl#oldcode29 Source/core/svg/SVGExternalResourcesRequired.idl:29: ] interface SVGExternalResourcesRequired { Also note that while I ...
7 years, 6 months ago (2013-06-20 11:33:03 UTC) #8
Stephen Chennney
Upon retrospect, I'm fine with it. LGTM
7 years, 6 months ago (2013-06-20 17:31:18 UTC) #9
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/16959011/1
7 years, 6 months ago (2013-06-20 17:31:50 UTC) #10
commit-bot: I haz the power
Failed to apply patch for Source/core/core.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 6 months ago (2013-06-20 19:26:50 UTC) #11
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/16959011/13002
7 years, 6 months ago (2013-06-20 20:02:32 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-06-20 21:50:36 UTC) #13
Message was sent while issue was closed.
Change committed as 152827

Powered by Google App Engine
This is Rietveld 408576698