Changes between Version 53 and Version 54 of WebKitIDL


Ignore:
Timestamp:
Feb 20, 2012 6:13:46 AM (10 years ago)
Author:
haraken@chromium.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitIDL

    v53 v54  
    11541154[CustomIndexedSetter] allows you to write the custom bindings, as follows.
    11551155
    1156  * JavaScriptCore: You can write JSXXX::indexSetter(...) in WebCore/bindings/js/JSXXXCustom.cpp:
     1156 * JavaScriptCore: You can write custom JSXXX::indexSetter(...) in WebCore/bindings/js/JSXXXCustom.cpp:
    11571157
    11581158{{{
     
    11621162    }
    11631163}}}
    1164  * In V8: You can write V8XXX::indexedPropertySetter(...) in WebCore/bindings/v8/custom/V8XXXCustom.cpp:
     1164 * In V8: You can write custom V8XXX::indexedPropertySetter(...) in WebCore/bindings/v8/custom/V8XXXCustom.cpp:
    11651165
    11661166{{{
     
    12071207[CustomNamedGetter] or [CustomNamedSetter] allow you to write the custom bindings, as follows:
    12081208
    1209  * [CustomNamedGetter] in JavaScriptCore: You can write JSXXX::canGetItemsForName(...) and JSXXX::nameGetter(...) in WebCore/bindings/js/JSXXXCustom.cpp:
     1209 * [CustomNamedGetter] in JavaScriptCore: You can write custom JSXXX::canGetItemsForName(...) and JSXXX::nameGetter(...) in WebCore/bindings/js/JSXXXCustom.cpp:
    12101210
    12111211{{{
     
    12201220    }
    12211221}}}
    1222  * [CustomNamedGetter] in V8: You can write V8XXX::namedPropertyGetter(...) in WebCore/bindings/v8/custom/V8XXXCustom.cpp:
     1222 * [CustomNamedGetter] in V8: You can write custom V8XXX::namedPropertyGetter(...) in WebCore/bindings/v8/custom/V8XXXCustom.cpp:
    12231223
    12241224{{{
     
    12281228    }
    12291229}}}
    1230  * [CustomNamedSetter] in JavaScriptCore: You can write JSXXX::putDelegate(...) in WebCore/bindings/js/JSXXXCustom.cpp:
     1230 * [CustomNamedSetter] in JavaScriptCore: You can write custom JSXXX::putDelegate(...) in WebCore/bindings/js/JSXXXCustom.cpp:
    12311231
    12321232{{{
     
    12361236    }
    12371237}}}
    1238  * [CustomNamedSetter] in V8: You can write V8XXX::namedPropertySetter(...) in WebCore/bindings/v8/custom/V8XXXCustom.cpp:
     1238 * [CustomNamedSetter] in V8: You can write custom V8XXX::namedPropertySetter(...) in WebCore/bindings/v8/custom/V8XXXCustom.cpp:
    12391239
    12401240{{{
     
    13291329
    13301330 * [CustomEnumerateProperty] in JavaScriptCore: You can write custom bindings when properties of XXX are enumerated.
    1331 Specifically, you can write JSXXX::getOwnPropertyNames(...) in WebCore/bindings/js/JSXXXCustom.cpp:
     1331Specifically, you can write custom JSXXX::getOwnPropertyNames(...) in WebCore/bindings/js/JSXXXCustom.cpp:
    13321332
    13331333{{{
     
    13531353
    13541354 * [CustomDeleteProperty] in JavaScriptCore: You can write custom bindings for the case where a property of XXX is deleted.
    1355 Specifically, you can write JSXXX::deleteProperty(...) in WebCore/bindings/js/JSXXXCustom.cpp:
     1355Specifically, you can write custom JSXXX::deleteProperty(...) in WebCore/bindings/js/JSXXXCustom.cpp:
    13561356
    13571357{{{
     
    13971397If you want to write custom bindings for XXX.call(...), you can use [CustomCall].
    13981398
    1399  * JavaScriptCore: You can write JSXXX::getCallData(...) in WebCore/bindings/js/JSXXXCustom.cpp:
     1399 * JavaScriptCore: You can write custom JSXXX::getCallData(...) in WebCore/bindings/js/JSXXXCustom.cpp:
    14001400
    14011401{{{
     
    14051405    }
    14061406}}}
    1407  * V8: You can write V8XXX::callAsFunctionCallback(...) in WebCore/bindings/v8/custom/V8XXXCustom.cpp:
     1407 * V8: You can write custom V8XXX::callAsFunctionCallback(...) in WebCore/bindings/v8/custom/V8XXXCustom.cpp:
    14081408
    14091409{{{
     
    14161416== [JSCustomToNativeObject](i), [JSCustomFinalize](i), [JSCustomIsReachable](i), [JSCustomMarkFunction](i), [JSCustomNamedGetterOnPrototype](i), [JSCustomPushEventHandlerScope](i), [JSCustomDefineOwnProperty](i), [JSCustomDefineOwnPropertyOnPrototype](i), [JSCustomGetOwnPropertySlotAndDescriptor](i) == #JSCustomToNativeObject
    14171417
    1418 Summary: They allow you to write custom code for the JavaScriptCore code that would be generated automatically by default.
     1418Summary: They allow you to write custom bindings for the JavaScriptCore-specific code that would be generated automatically by default.
    14191419
    14201420Usage: They can be specified on interfaces:
     
    14341434}}}
    14351435
    1436 You can write the following custom code in WebCore/bindings/js/JSXXXCustom.cpp.
     1436You can write the following custom bindings in WebCore/bindings/js/JSXXXCustom.cpp.
    14371437Refer to use cases in WebCore/bindings/js/JSXXXCustom.cpp for more details.
    14381438
    1439  * [JSCustomToNativeObject]: you can write custom toXXX(...):
     1439 * [JSCustomToNativeObject]: You can write custom toXXX(...):
    14401440
    14411441{{{
     
    14691469    }
    14701470}}}
    1471  * [JSCustomNamedGetterOnPrototype]: You can write custom JSXXX::putDelegate(...):
    1472 
    1473 {{{
    1474     bool JSXXX::putDelegate(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
     1471 * [JSCustomNamedGetterOnPrototype]: You can write custom JSXXXPrototype::putDelegate(...):
     1472
     1473{{{
     1474    bool JSXXXPrototype::putDelegate(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
    14751475    {
    14761476        ...;