Rietveld is deathly ill today, so we'll go straight to the source...
Created attachment 28230 [details] Add custom V8 bindings for Element, Attr, HTMLFrame, and HTMLIFrame, v1 WebCore/ChangeLog | 14 ++ WebCore/bindings/v8/custom/V8AttrCustom.cpp | 58 +++++++ WebCore/bindings/v8/custom/V8CustomBinding.cpp | 59 +++++++ WebCore/bindings/v8/custom/V8CustomBinding.h | 11 ++ WebCore/bindings/v8/custom/V8ElementCustom.cpp | 169 ++++++++++++++++++++ .../v8/custom/V8HTMLFrameElementCustom.cpp | 62 +++++++ .../v8/custom/V8HTMLIFrameElementCustom.cpp | 51 ++++++ 7 files changed, 424 insertions(+), 0 deletions(-)
Comment on attachment 28230 [details] Add custom V8 bindings for Element, Attr, HTMLFrame, and HTMLIFrame, v1 Looks fine. I would have put toEventType closer to where it's used in the file. I don't think we have any rule about statics being at the top or anything (maybe we should?)
Landed (after moving toEventType down to event handler code) as http://trac.webkit.org/changeset/41399.