Bug 11248

Summary: Even More auto-generated Objective-C DOM bindings changes
Product: WebKit Reporter: Sam Weinig <sam>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: timothy
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
patch
none
patch 2 timothy: review+

Description Sam Weinig 2006-10-10 15:38:18 PDT
Patch forthcoming.
Comment 1 Sam Weinig 2006-10-10 15:46:55 PDT
Created attachment 11025 [details]
patch

- Auto-generate DOMSVGPathElement. (I think this is the final SVG class to generate!!)

- Auto-generate the internal interfaces even for classes that have custom internal implementations.  Change IDL property from ObjCNoInternal to ObjCCustomInternalImpl to indicate the change.

- Add SVG classes to DOMNode and DOMEvent internal interfaces.

- Add isSVGZoomEvent() method to Event class to match other Event subclasses and make DOM binding possible.

- Assorted cleanups.
Comment 2 Sam Weinig 2006-10-10 15:49:36 PDT
As noted in a FIXME in the patch, I use two HashMaps to differentiate between HTML and SVG classes in DOM.mm.  I did not try to make to a HashMap that mapped from QualifiedNames to Classes, as I've had some issues getting HashMaps to work in the last couple days, but, it this is easy, I think it would be a better solution.
Comment 3 Sam Weinig 2006-10-10 18:25:07 PDT
Created attachment 11027 [details]
patch 2

Scratch that last comment.  The patch now uses one HashMap that maps from a QualifedName to a Class.
Comment 4 Sam Weinig 2006-10-10 20:52:27 PDT
Landed in r16982.