Changes between Version 108 and Version 109 of WebKitIDL
- Timestamp:
- May 8, 2013, 1:45:01 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitIDL
v108 v109 45 45 - [#JSGenerateToJSObject JSGenerateToJSObject(i), JSGenerateToNativeObject(i)][[br]] 46 46 - [#GenerateIsReachable GenerateIsReachable(i)] 47 - [#V8CustomIsReachable V8CustomIsReachable(i)]48 47 - [#JSCustomHeader JSCustomHeader(i)][[br]] 49 48 - [#JSLegacyParent JSLegacyParent(i)][[br]] … … 1270 1269 }}} 1271 1270 1272 == `[JSCustomToNativeObject]`(i), `[JSCustomFinalize]`(i), `[ JSCustomIsReachable]`(i), `[JSCustomMarkFunction]`(i), `[JSCustomNamedGetterOnPrototype]`(i), `[JSCustomPushEventHandlerScope]`(i), `[JSCustomDefineOwnProperty]`(i), `[JSCustomDefineOwnPropertyOnPrototype]`(i), `[JSCustomGetOwnPropertySlotAndDescriptor]`(i) == #JSCustomToNativeObject1271 == `[JSCustomToNativeObject]`(i), `[JSCustomFinalize]`(i), `[CustomIsReachable]`(i), `[JSCustomMarkFunction]`(i), `[JSCustomNamedGetterOnPrototype]`(i), `[JSCustomPushEventHandlerScope]`(i), `[JSCustomDefineOwnProperty]`(i), `[JSCustomDefineOwnPropertyOnPrototype]`(i), `[JSCustomGetOwnPropertySlotAndDescriptor]`(i) == #JSCustomToNativeObject 1273 1272 1274 1273 Summary: They allow you to write custom bindings for the JavaScriptCore-specific code that would be generated automatically by default. … … 1279 1278 JSCustomToNativeObject, 1280 1279 JSCustomFinalize, 1281 JSCustomIsReachable,1280 CustomIsReachable, 1282 1281 JSCustomMarkFunction, 1283 1282 JSCustomNamedGetterOnPrototype, … … 1309 1308 } 1310 1309 }}} 1311 * `[ JSCustomIsReachable]`: You can write custom `JSXXXOwner::isReachableFromOpaqueRoots(...)`:1310 * `[CustomIsReachable]`: You can write custom `JSXXXOwner::isReachableFromOpaqueRoots(...)`: 1312 1311 1313 1312 {{{ … … 1414 1413 1415 1414 The value of these represents the functions to call to get the object that determines whether the object is reachable or not. See CodeGeneratorJS.pm for more details. The values that end with Root calls WebCore::root to get the root. If the value is left out then WebCore::root is called on impl(). 1416 1417 == [V8CustomIsReachable(i) == #V8CustomIsReachable1418 1419 Summary: Allows you to write custom code for visitDOMWrapper.1420 1421 Usage:1422 1423 {{{1424 interface [1425 V8CustomIsReachable1426 ] XXX {1427 };1428 }}}1429 1430 And then in V8XXXCustom.cpp:1431 1432 {{{1433 void V8XXX::visitDOMWrapper(DOMDataStore* store, void* object, v8::Persistent<v8::Object> wrapper)1434 {1435 ...1436 }1437 }}}1438 1415 1439 1416 == `[JSLegacyParent]`(i) == #JSLegacyParent