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

Issue 1818223002: Introduce PaintWorkletGlobalScope, rename renderWorklet attribute to paintWorklet. (Closed)

Created:
4 years, 9 months ago by ikilpatrick
Modified:
4 years, 9 months ago
Reviewers:
kinuko, haraken
CC:
chromium-reviews, tfarina, sof, eae+blinkwatch, abarth-chromium, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews-bindings_chromium.org, blink-reviews, kinuko+watch, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce PaintWorkletGlobalScope, rename renderWorklet attribute to paintWorklet. Was decided at Sydney F2F to split everything out into it's own worklet at the moment. This may get revisited at some point in time. https://drafts.css-houdini.org/css-paint-api/#dom-window-paintworklet Introduces PaintWorkletGlobalScope with stub function for implementing registerPaint(). https://drafts.css-houdini.org/css-paint-api/#paintworkletglobalscope BUG=578252 Committed: https://crrev.com/fc7ba0faafadec3816f944d186854b9491dd3098 Cr-Commit-Position: refs/heads/master@{#382744}

Patch Set 1 #

Patch Set 2 : sim=156 #

Patch Set 3 : fix thing. #

Total comments: 6

Patch Set 4 : address comments #

Patch Set 5 : . #

Patch Set 6 : fix interface listing order. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -198 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/worklet/import.html View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_utilities.py View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ExecutionContext.h View 1 chunk +1 line, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/csspaint/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/csspaint/OWNERS View 1 chunk +1 line, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/csspaint/PaintWorklet.h View 1 2 3 1 chunk +17 lines, -10 lines 0 comments Download
A third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp View 2 1 chunk +37 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.h View 2 1 chunk +31 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp View 2 1 chunk +30 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
A + third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h View 1 2 3 2 chunks +13 lines, -12 lines 0 comments Download
A + third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp View 1 2 3 1 chunk +17 lines, -17 lines 0 comments Download
A + third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.idl View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 3 5 chunks +8 lines, -3 lines 0 comments Download
D third_party/WebKit/Source/modules/worklet/DOMWindowWorklet.h View 1 chunk +0 lines, -38 lines 0 comments Download
D third_party/WebKit/Source/modules/worklet/DOMWindowWorklet.cpp View 1 chunk +0 lines, -56 lines 0 comments Download
D third_party/WebKit/Source/modules/worklet/WindowWorklet.idl View 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/worklet/Worklet.h View 1 2 3 1 chunk +9 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/worklet/Worklet.cpp View 4 chunks +4 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h View 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp View 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.idl View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
ikilpatrick
@kinuko, for worklet changes. This is probably the last patch in the immediate future you'll ...
4 years, 9 months ago (2016-03-22 00:22:52 UTC) #2
haraken
LGTM https://codereview.chromium.org/1818223002/diff/40001/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h File third_party/WebKit/Source/modules/csspaint/PaintWorklet.h (right): https://codereview.chromium.org/1818223002/diff/40001/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h#newcode14 third_party/WebKit/Source/modules/csspaint/PaintWorklet.h:14: WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PaintWorklet); You can remove this since Worklet has ...
4 years, 9 months ago (2016-03-22 01:52:56 UTC) #3
kinuko
lgtm/2
4 years, 9 months ago (2016-03-22 02:04:02 UTC) #4
ikilpatrick
https://codereview.chromium.org/1818223002/diff/40001/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h File third_party/WebKit/Source/modules/csspaint/PaintWorklet.h (right): https://codereview.chromium.org/1818223002/diff/40001/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h#newcode14 third_party/WebKit/Source/modules/csspaint/PaintWorklet.h:14: WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PaintWorklet); On 2016/03/22 01:52:56, haraken wrote: > > You ...
4 years, 9 months ago (2016-03-22 20:31:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1818223002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1818223002/100001
4 years, 9 months ago (2016-03-22 20:32:18 UTC) #8
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-23 00:18:23 UTC) #9
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 00:21:32 UTC) #11
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fc7ba0faafadec3816f944d186854b9491dd3098
Cr-Commit-Position: refs/heads/master@{#382744}

Powered by Google App Engine
This is Rietveld 408576698