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

Issue 2802813002: Adds SVGImageElement as a ImageBitmapSource (Closed)

Created:
3 years, 8 months ago by fserb
Modified:
3 years, 8 months ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-frames_chromium.org, chromium-reviews, krit, fmalita+watch_chromium.org, fs, gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds SVGImageElement as a ImageBitmapSource BUG=707815 Review-Url: https://codereview.chromium.org/2802813002 Cr-Original-Commit-Position: refs/heads/master@{#464487} Committed: https://chromium.googlesource.com/chromium/src/+/060c140872ae52c49ba012edc39a39b0a09040cf Review-Url: https://codereview.chromium.org/2802813002 Cr-Commit-Position: refs/heads/master@{#465882} Committed: https://chromium.googlesource.com/chromium/src/+/dfc40833a6cfeded6637f7570ff51be6933e44dd

Patch Set 1 #

Patch Set 2 : test #

Total comments: 9

Patch Set 3 : useless #

Patch Set 4 : tests #

Total comments: 8

Patch Set 5 : fixes #

Patch Set 6 : done #

Patch Set 7 : merge #

Total comments: 2

Patch Set 8 : rename #

Patch Set 9 : x #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -260 lines) Patch
M third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-in-workers-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-svg-image.html View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-svg-image-expected.html View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/utilities.py View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmap.h View 1 2 3 4 5 6 7 4 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmap.cpp View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageElement.h View 1 2 3 4 5 6 7 3 chunks +2 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageElement.cpp View 1 2 3 4 5 6 7 2 chunks +0 lines, -32 lines 0 comments Download
D third_party/WebKit/Source/core/html/canvas/CanvasImageElementSource.h View 1 2 3 4 5 6 1 chunk +0 lines, -52 lines 0 comments Download
D third_party/WebKit/Source/core/html/canvas/CanvasImageElementSource.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -126 lines 0 comments Download
A + third_party/WebKit/Source/core/html/canvas/ImageElementBase.h View 1 2 3 4 5 6 7 3 chunks +15 lines, -5 lines 0 comments Download
A + third_party/WebKit/Source/core/html/canvas/ImageElementBase.cpp View 1 2 3 4 5 6 7 6 chunks +49 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp View 1 2 3 4 5 6 7 2 chunks +10 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGImageElement.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGImageElement.cpp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 55 (32 generated)
fserb
esprehn: third_party/WebKit/Source/bindings/core/v8/BUILD.gn junov: everything else
3 years, 8 months ago (2017-04-06 15:25:37 UTC) #6
fserb
3 years, 8 months ago (2017-04-06 15:26:24 UTC) #9
fs
This looks ok to me (lotm!), I just wish we could de-dupe the code a ...
3 years, 8 months ago (2017-04-06 16:48:12 UTC) #11
fserb
Refactored the dependency. It looks much better now that both SVGImageElement and HTMLImageElement have a ...
3 years, 8 months ago (2017-04-06 20:06:16 UTC) #15
fs
On 2017/04/06 at 20:06:16, fserb wrote: > Refactored the dependency. It looks much better now ...
3 years, 8 months ago (2017-04-06 20:27:54 UTC) #19
fserb
https://codereview.chromium.org/2802813002/diff/60001/third_party/WebKit/Source/core/frame/ImageBitmap.h File third_party/WebKit/Source/core/frame/ImageBitmap.h (right): https://codereview.chromium.org/2802813002/diff/60001/third_party/WebKit/Source/core/frame/ImageBitmap.h#newcode15 third_party/WebKit/Source/core/frame/ImageBitmap.h:15: #include "core/svg/SVGImageElement.h" On 2017/04/06 at 20:27:54, fs wrote: > ...
3 years, 8 months ago (2017-04-06 21:03:49 UTC) #20
fs
https://codereview.chromium.org/2802813002/diff/60001/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp File third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp (right): https://codereview.chromium.org/2802813002/diff/60001/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp#newcode64 third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp:64: ExceptionState* exceptionState, On 2017/04/06 at 21:03:49, fserb wrote: > ...
3 years, 8 months ago (2017-04-06 21:11:28 UTC) #23
blink-reviews
Maybe my cpplint was high. :/ I'll revert that tomorrow. On Thu, Apr 6, 2017 ...
3 years, 8 months ago (2017-04-06 21:49:46 UTC) #24
chromium-reviews
Maybe my cpplint was high. :/ I'll revert that tomorrow. On Thu, Apr 6, 2017 ...
3 years, 8 months ago (2017-04-06 21:49:47 UTC) #25
fserb
done done. https://codereview.chromium.org/2802813002/diff/60001/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp File third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp (right): https://codereview.chromium.org/2802813002/diff/60001/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp#newcode64 third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp:64: ExceptionState* exceptionState, On 2017/04/06 at 21:11:27, fs ...
3 years, 8 months ago (2017-04-07 18:36:28 UTC) #29
fs
This looks good to me (although personally I'd have stuck with the CanvasImageElementSource naming), but ...
3 years, 8 months ago (2017-04-08 16:38:31 UTC) #30
Justin Novosad
https://codereview.chromium.org/2802813002/diff/120001/third_party/WebKit/Source/core/html/canvas/HTMLAndSVGImageElementSource.h File third_party/WebKit/Source/core/html/canvas/HTMLAndSVGImageElementSource.h (right): https://codereview.chromium.org/2802813002/diff/120001/third_party/WebKit/Source/core/html/canvas/HTMLAndSVGImageElementSource.h#newcode18 third_party/WebKit/Source/core/html/canvas/HTMLAndSVGImageElementSource.h:18: class CORE_EXPORT HTMLAndSVGImageElementSource : public CanvasImageSource, I find the ...
3 years, 8 months ago (2017-04-12 22:17:04 UTC) #31
fserb
https://codereview.chromium.org/2802813002/diff/120001/third_party/WebKit/Source/core/html/canvas/HTMLAndSVGImageElementSource.h File third_party/WebKit/Source/core/html/canvas/HTMLAndSVGImageElementSource.h (right): https://codereview.chromium.org/2802813002/diff/120001/third_party/WebKit/Source/core/html/canvas/HTMLAndSVGImageElementSource.h#newcode18 third_party/WebKit/Source/core/html/canvas/HTMLAndSVGImageElementSource.h:18: class CORE_EXPORT HTMLAndSVGImageElementSource : public CanvasImageSource, On 2017/04/12 at ...
3 years, 8 months ago (2017-04-13 15:50:48 UTC) #32
Justin Novosad
lgtm
3 years, 8 months ago (2017-04-13 16:43:00 UTC) #33
fserb
esprehn: third_party/WebKit/Source/bindings/core/v8/BUILD.gn
3 years, 8 months ago (2017-04-13 16:58:10 UTC) #37
esprehn
lgtm
3 years, 8 months ago (2017-04-13 18:10:58 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2802813002/140001
3 years, 8 months ago (2017-04-13 18:43:55 UTC) #42
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/chromium/src/+/060c140872ae52c49ba012edc39a39b0a09040cf
3 years, 8 months ago (2017-04-13 19:02:48 UTC) #45
brucedawson
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/2817093002/ by brucedawson@chromium.org. ...
3 years, 8 months ago (2017-04-13 21:54:13 UTC) #46
fserb
bashi: third_party/WebKit/Source/bindings/scripts/utilities.py :)
3 years, 8 months ago (2017-04-18 19:10:19 UTC) #48
bashi
lgtm
3 years, 8 months ago (2017-04-20 00:37:23 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2802813002/160001
3 years, 8 months ago (2017-04-20 01:35:15 UTC) #52
commit-bot: I haz the power
3 years, 8 months ago (2017-04-20 03:18:11 UTC) #55
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/dfc40833a6cfeded6637f7570ff5...

Powered by Google App Engine
This is Rietveld 408576698