[webkit-dev] EventConstructors.h

Kentaro Hara haraken at chromium.org
Thu Nov 17 06:47:56 PST 2011


Done.
https://bugs.webkit.org/show_bug.cgi?id=71379

Now you can generate Event constructors just by
[ConstructorTemplate=Event] IDL. For example, please look at
ProgressEvent.idl.

module events {
    interface [
        ConstructorTemplate=Event
    ] ProgressEvent : Event {
        readonly attribute [InitializedByConstructor] boolean lengthComputable;
        ...
    }
}


2011年11月2日11:45 Sam Weinig <weinig at apple.com>:
> It should long term be generated from the EventInit dictionary IDLs, but it was handy to implement it in a macro based DSL initially.
>
> -Sam
>
> On Nov 2, 2011, at 11:02 AM, Adam Barth wrote:
>
>> This file seems to be growing a list of ever feature in the project:
>>
>> Source/WebCore/bindings/generic/EventConstructors.h
>>
>> Can we generate this file from the event IDL files?
>>
>> Adam
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>



-- 
Kentaro Hara, Tokyo, Japan (http://haraken.info)


More information about the webkit-dev mailing list