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

Issue 27769002: Fixing custom element type extensions to have correct native type (Closed)

Created:
7 years, 2 months ago by blois
Modified:
7 years, 2 months ago
Reviewers:
vsm, siva
CC:
reviews+dom_dartlang.org
Visibility:
Public.

Description

Fixing custom element type extensions to have correct native type This is for bug 14190. Basically the user has to pass the tag name of the native type that the class is using. Dartium already has validation to ensure that the custom class derives from the native class for that tag, this just saves off that type ID so we can apply it later. Not sure this is the absolute best approach for the problem, alternate approach is to modify DartHTMLElementWrapperFactory to generate classIds rather than wrappers. BUG= R=vsm@google.com Committed: https://src.chromium.org/viewvc/multivm?view=rev&revision=1456

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -21 lines) Patch
M Source/bindings/dart/DartCustomElementBinding.h View 1 chunk +4 lines, -2 lines 0 comments Download
M Source/bindings/dart/DartCustomElementBinding.cpp View 1 chunk +4 lines, -3 lines 0 comments Download
M Source/bindings/dart/DartCustomElementConstructorBuilder.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/dart/DartCustomElementConstructorBuilder.cpp View 1 5 chunks +10 lines, -2 lines 0 comments Download
M Source/bindings/dart/DartCustomElementWrapper.cpp View 1 2 chunks +2 lines, -4 lines 0 comments Download
M Source/bindings/dart/DartDOMWrapper.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/dart/DartUtilities.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/dart/DartUtilities.cpp View 1 chunk +4 lines, -9 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
blois
7 years, 2 months ago (2013-10-18 19:48:16 UTC) #1
vsm
https://chromiumcodereview.appspot.com/27769002/diff/32001/Source/bindings/dart/DartCustomElementConstructorBuilder.cpp File Source/bindings/dart/DartCustomElementConstructorBuilder.cpp (right): https://chromiumcodereview.appspot.com/27769002/diff/32001/Source/bindings/dart/DartCustomElementConstructorBuilder.cpp#newcode51 Source/bindings/dart/DartCustomElementConstructorBuilder.cpp:51: , m_nativeClassId(-1) We should make an enum for InvalidClassId ...
7 years, 2 months ago (2013-10-18 21:18:14 UTC) #2
blois
https://codereview.chromium.org/27769002/diff/32001/Source/bindings/dart/DartCustomElementConstructorBuilder.cpp File Source/bindings/dart/DartCustomElementConstructorBuilder.cpp (right): https://codereview.chromium.org/27769002/diff/32001/Source/bindings/dart/DartCustomElementConstructorBuilder.cpp#newcode51 Source/bindings/dart/DartCustomElementConstructorBuilder.cpp:51: , m_nativeClassId(-1) On 2013/10/18 21:18:15, vsm wrote: > We ...
7 years, 2 months ago (2013-10-18 23:03:40 UTC) #3
vsm
lgtm
7 years, 2 months ago (2013-10-18 23:16:19 UTC) #4
blois
7 years, 2 months ago (2013-10-18 23:43:08 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r1456 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698