| | 83 | * Don't use the C API except for the C client callbacks |
| | 84 | * Use toImpl() to pass C API pointers to other methods from the client callbacks |
| | 85 | * Use toAPI() to pass objects back to C client callbacks |
| | 86 | {{{ |
| | 87 | static WKPageRef createNewPage(WKPageRef page, WKURLRequestRef, WKDictionaryRef wkWindowFeatures, WKEventModifiers, WKEventMouseButton, const void* clientInfo) |
| | 88 | { |
| | 89 | return static_cast<WKPageRef>(toAPI(webkitWebViewCreateNewPage(WEBKIT_WEB_VIEW(clientInfo), toImpl(wkWindowFeatures)))); |
| | 90 | } |
| | 91 | }}} |