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

Issue 1024233002: compositor-worker: Introduce CompositorProxy. (Closed)

Created:
5 years, 9 months ago by sadrul
Modified:
5 years, 7 months ago
Reviewers:
haraken, esprehn, adamk
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-dom_chromium.org, Inactive, dglazkov+blink, eae+blinkwatch, rwlbuis, sof, vivekg_samsung, vivekg
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

compositor-worker: Introduce CompositorProxy. Notable changes: . Make it possible to send a CompositorProxy object via post-message between threads. . Add a test to verify that the proxy objects for the same element get the same |elementId|, and different set of attributes set the correct flags on the proxies. BUG=436952 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192715

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 3

Patch Set 4 : . #

Total comments: 29

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : bitfields #

Patch Set 10 : . #

Total comments: 2

Patch Set 11 : ctrl-z-bitfields #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -0 lines) Patch
A LayoutTests/fast/compositorworker/compositor-proxy-postmessage.html View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
A LayoutTests/fast/compositorworker/resources/proxy-echo.js View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptValueSerializer.h View 1 2 3 4 5 6 4 chunks +4 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptValueSerializer.cpp View 1 2 3 4 5 6 6 chunks +40 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/SerializationTag.h View 1 chunk +1 line, -0 lines 2 comments Download
M Source/core/core.gypi View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
A Source/core/dom/CompositorProxy.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +54 lines, -0 lines 0 comments Download
A Source/core/dom/CompositorProxy.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +111 lines, -0 lines 0 comments Download
A Source/core/dom/CompositorProxy.idl View 1 2 3 4 5 6 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
sadrul
haraken@ Would you please review the changes in Source/bindings/? We want to be able to ...
5 years, 9 months ago (2015-03-24 07:22:47 UTC) #2
haraken
bindings/ LGTM.
5 years, 9 months ago (2015-03-24 08:02:14 UTC) #3
esprehn
https://codereview.chromium.org/1024233002/diff/40001/Source/core/dom/CompositorProxy.h File Source/core/dom/CompositorProxy.h (right): https://codereview.chromium.org/1024233002/diff/40001/Source/core/dom/CompositorProxy.h#newcode21 Source/core/dom/CompositorProxy.h:21: class CompositorProxy : public GarbageCollectedFinalized<CompositorProxy>, public ScriptWrappable { final ...
5 years, 9 months ago (2015-03-25 23:21:48 UTC) #4
esprehn
Sorry you can ignore my comment about non-oilpan mode, I guess we always have it ...
5 years, 9 months ago (2015-03-25 23:22:16 UTC) #5
sadrul
https://codereview.chromium.org/1024233002/diff/60001/Source/core/dom/CompositorProxy.cpp File Source/core/dom/CompositorProxy.cpp (right): https://codereview.chromium.org/1024233002/diff/60001/Source/core/dom/CompositorProxy.cpp#newcode18 Source/core/dom/CompositorProxy.cpp:18: } allowedAttributes[] = { On 2015/03/25 23:21:48, esprehn wrote: ...
5 years, 9 months ago (2015-03-27 17:23:29 UTC) #6
sadrul
https://codereview.chromium.org/1024233002/diff/60001/Source/core/dom/CompositorProxy.h File Source/core/dom/CompositorProxy.h (right): https://codereview.chromium.org/1024233002/diff/60001/Source/core/dom/CompositorProxy.h#newcode39 Source/core/dom/CompositorProxy.h:39: uint32_t attributes() const { return m_attributes; } On 2015/03/27 ...
5 years, 9 months ago (2015-03-27 18:14:56 UTC) #7
esprehn
The bitfield like this seems kind of worse, maybe we don't do that. lgtm https://codereview.chromium.org/1024233002/diff/180001/Source/core/dom/CompositorProxy.cpp ...
5 years, 9 months ago (2015-03-27 23:48:42 UTC) #8
sadrul
https://codereview.chromium.org/1024233002/diff/180001/Source/core/dom/CompositorProxy.cpp File Source/core/dom/CompositorProxy.cpp (right): https://codereview.chromium.org/1024233002/diff/180001/Source/core/dom/CompositorProxy.cpp#newcode55 Source/core/dom/CompositorProxy.cpp:55: attributesBitfield.m_attributes.m_opacity = true; On 2015/03/27 23:48:42, esprehn wrote: > ...
5 years, 9 months ago (2015-03-28 02:12:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1024233002/200001
5 years, 9 months ago (2015-03-28 02:12:52 UTC) #12
commit-bot: I haz the power
Committed patchset #11 (id:200001) as https://src.chromium.org/viewvc/blink?view=rev&revision=192715
5 years, 9 months ago (2015-03-28 03:36:18 UTC) #13
adamk
https://codereview.chromium.org/1024233002/diff/200001/Source/bindings/core/v8/SerializationTag.h File Source/bindings/core/v8/SerializationTag.h (right): https://codereview.chromium.org/1024233002/diff/200001/Source/bindings/core/v8/SerializationTag.h#newcode81 Source/bindings/core/v8/SerializationTag.h:81: CompositorProxyTag = 'C', Sorry for the month-late comment, but ...
5 years, 7 months ago (2015-05-19 21:38:53 UTC) #15
sadrul
5 years, 7 months ago (2015-05-23 23:53:43 UTC) #16
Message was sent while issue was closed.
https://codereview.chromium.org/1024233002/diff/200001/Source/bindings/core/v...
File Source/bindings/core/v8/SerializationTag.h (right):

https://codereview.chromium.org/1024233002/diff/200001/Source/bindings/core/v...
Source/bindings/core/v8/SerializationTag.h:81: CompositorProxyTag = 'C',
On 2015/05/19 21:38:53, adamk wrote:
> Sorry for the month-late comment, but can you please put a comment here
matching
> the format of the rest of the comments in this file?

Put up for review at: https://codereview.chromium.org/1152943002

Powered by Google App Engine
This is Rietveld 408576698