DescriptionReplace custom EventTarget toNative call with [ToNativeArg] extended attribute
EventTarget has custom bindings code for the V8 -> C++ conversion.
This is just to handle which argument to pass to
V8EventListenerList::getEventListener
|ListenerFindOrCreate| or |ListenerFindOnly|.
This replaces the custom bindings with an extended attribute,
[ToNativeArg], which specifies exactly such an argument.
This fixes the main remaining ugliness in EventTarget bindings!
Documentation:
http://www.chromium.org/blink/webidl/blink-idl-extended-attributes#TOC-ToNativeArg-p-
Followup to:
Simplify EventTarget bindings generation (2)
https://codereview.chromium.org/203143002/
R=haraken
BUG=345503
Patch Set 1 #
Total comments: 2
Messages
Total messages: 6 (0 generated)
|