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

Issue 715203002: Improve SkyElement. (Closed)

Created:
6 years, 1 month ago by esprehn
Modified:
6 years, 1 month ago
Reviewers:
rafaelw
CC:
abarth-chromium, mojo-reviews_chromium.org, ojan
Base URL:
git@github.com:domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Improve SkyElement. - Don't stamp the template repeatedly when attaching. - Don't use __proto__ - Store the template in an external map instead of a property on the prototype. - Add a created() callback. - Allow creating a SkyElement with no associated <template> or ShadowRoot. R=rafaelw@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/8a89ee55bafcb5615ec287714ed1b22005b71e6d

Patch Set 1 #

Patch Set 2 : Allow no shadows. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -15 lines) Patch
M sky/framework/sky-element/sky-element.sky View 1 2 chunks +33 lines, -15 lines 1 comment Download

Messages

Total messages: 5 (1 generated)
rafaelw
lgtm https://codereview.chromium.org/715203002/diff/20001/sky/framework/sky-element/sky-element.sky File sky/framework/sky-element/sky-element.sky (right): https://codereview.chromium.org/715203002/diff/20001/sky/framework/sky-element/sky-element.sky#newcode66 sky/framework/sky-element/sky-element.sky:66: templates.set(prototype.name, template); Nit: You want weak semantics here, ...
6 years, 1 month ago (2014-11-12 12:00:53 UTC) #2
esprehn
On 2014/11/12 at 12:00:53, rafaelw wrote: > lgtm > > https://codereview.chromium.org/715203002/diff/20001/sky/framework/sky-element/sky-element.sky > File sky/framework/sky-element/sky-element.sky (right): ...
6 years, 1 month ago (2014-11-12 18:10:25 UTC) #3
rafaelw
Yeah, I was thinking of the lifetime of the template being tied to the proto, ...
6 years, 1 month ago (2014-11-12 18:43:45 UTC) #4
esprehn
6 years, 1 month ago (2014-11-12 20:32:43 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
8a89ee55bafcb5615ec287714ed1b22005b71e6d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698