|
Lines 29-34
WebCore/bindings/objc/DOMInternal.h_sec1
|
| 29 |
|
29 |
|
| 30 |
#import "DOMObject.h" |
30 |
#import "DOMObject.h" |
| 31 |
#import "HitTestResult.h" |
31 |
#import "HitTestResult.h" |
|
|
32 |
#import "WebScriptObjectPrivate.h" |
| 32 |
|
33 |
|
| 33 |
#if ENABLE(XPATH) |
34 |
#if ENABLE(XPATH) |
| 34 |
#import "DOMXPathExpressionInternal.h" |
35 |
#import "DOMXPathExpressionInternal.h" |
|
Lines 290-296
WebCore/bindings/objc/DOMInternal.h_sec2
|
| 290 |
|
291 |
|
| 291 |
namespace JSC { |
292 |
namespace JSC { |
| 292 |
class JSObject; |
293 |
class JSObject; |
| 293 |
|
|
|
| 294 |
namespace Bindings { |
294 |
namespace Bindings { |
| 295 |
class RootObject; |
295 |
class RootObject; |
| 296 |
} |
296 |
} |
|
Lines 300-325
namespace WebCore {
WebCore/bindings/objc/DOMInternal.h_sec3
|
| 300 |
class NodeFilter; |
300 |
class NodeFilter; |
| 301 |
|
301 |
|
| 302 |
#if ENABLE(SVG_DOM_OBJC_BINDINGS) |
302 |
#if ENABLE(SVG_DOM_OBJC_BINDINGS) |
| 303 |
class TransformationMatrix; |
|
|
| 304 |
class FloatPoint; |
303 |
class FloatPoint; |
| 305 |
class FloatRect; |
304 |
class FloatRect; |
| 306 |
#endif // ENABLE(SVG_DOM_OBJC_BINDINGS) |
305 |
class TransformationMatrix; |
|
|
306 |
#endif |
| 307 |
|
307 |
|
| 308 |
#if ENABLE(XPATH) |
308 |
#if ENABLE(XPATH) |
| 309 |
class XPathNSResolver; |
309 |
class XPathNSResolver; |
| 310 |
#endif // ENABLE(XPATH) |
310 |
#endif |
| 311 |
} |
|
|
| 312 |
|
| 313 |
// Core Internal Interfaces |
| 314 |
|
311 |
|
| 315 |
@interface DOMObject (WebCoreInternal) |
312 |
} |
| 316 |
- (id)_init; |
|
|
| 317 |
@end |
| 318 |
|
313 |
|
| 319 |
// Traversal Internal Interfaces |
314 |
// Traversal Internal Interfaces |
| 320 |
|
315 |
|
| 321 |
@interface DOMNodeFilter : DOMObject <DOMNodeFilter> |
316 |
@interface DOMNodeFilter : DOMObject <DOMNodeFilter> |
| 322 |
+ (DOMNodeFilter *)_wrapNodeFilter:(WebCore::NodeFilter *)impl; |
|
|
| 323 |
@end |
317 |
@end |
| 324 |
|
318 |
|
| 325 |
#if ENABLE(XPATH) |
319 |
#if ENABLE(XPATH) |
|
Lines 327-342
namespace WebCore {
WebCore/bindings/objc/DOMInternal.h_sec4
|
| 327 |
// XPath Internal Interfaces |
321 |
// XPath Internal Interfaces |
| 328 |
|
322 |
|
| 329 |
@interface DOMNativeXPathNSResolver : DOMObject <DOMXPathNSResolver> |
323 |
@interface DOMNativeXPathNSResolver : DOMObject <DOMXPathNSResolver> |
| 330 |
+ (DOMNativeXPathNSResolver *)_wrapXPathNSResolver:(WebCore::XPathNSResolver *)impl; |
|
|
| 331 |
- (WebCore::XPathNSResolver *)_xpathNSResolver; |
| 332 |
@end |
324 |
@end |
| 333 |
|
325 |
|
| 334 |
#endif // ENABLE(XPATH) |
326 |
#endif // ENABLE(XPATH) |
| 335 |
|
327 |
|
| 336 |
// Helper functions for DOM wrappers and gluing to Objective-C |
|
|
| 337 |
|
| 338 |
namespace WebCore { |
328 |
namespace WebCore { |
| 339 |
|
329 |
|
|
|
330 |
// Helper functions for DOM wrappers and gluing to Objective-C |
| 331 |
|
| 340 |
// Create an NSMapTable mapping from pointers to ObjC objects held with zeroing weak references. |
332 |
// Create an NSMapTable mapping from pointers to ObjC objects held with zeroing weak references. |
| 341 |
NSMapTable* createWrapperCache(); |
333 |
NSMapTable* createWrapperCache(); |
| 342 |
NSMapTable* createWrapperCacheWithIntegerKeys(); // Same, but from integers to ObjC objects. |
334 |
NSMapTable* createWrapperCacheWithIntegerKeys(); // Same, but from integers to ObjC objects. |
|
Lines 359-362
namespace WebCore {
WebCore/bindings/objc/DOMInternal.h_sec5
|
| 359 |
addDOMWrapper(wrapper, reinterpret_cast<DOMObjectInternal*>(impl)); |
351 |
addDOMWrapper(wrapper, reinterpret_cast<DOMObjectInternal*>(impl)); |
| 360 |
} |
352 |
} |
| 361 |
|
353 |
|
|
|
354 |
DOMNodeFilter *wrapObjC(NodeFilter*); |
| 355 |
|
| 356 |
#if ENABLE(XPATH) |
| 357 |
DOMNativeXPathNSResolver *wrapObjC(XPathNSResolver*); |
| 358 |
XPathNSResolver *unwrap(DOMNativeXPathNSResolver *); |
| 359 |
#endif // ENABLE(XPATH) |
| 360 |
|
| 362 |
} // namespace WebCore |
361 |
} // namespace WebCore |