Begin fleshing out an API test for WKRemoteObjectRegistry
https://bugs.webkit.org/show_bug.cgi?id=123531
Reviewed by Andreas Kling.
Source/WebKit2:
* Shared/API/Cocoa/WKRemoteObjectInterface.h:
Add WK_API_CLASS annotation.
* Shared/API/Cocoa/WKRemoteObjectRegistry.h:
Add WK_API_CLASS annotation.
* Shared/API/Cocoa/WKRemoteObjectRegistry.mm:
Add a WebConnection ivar.
(-[WKRemoteObjectRegistry _initWithConnectionRef:]):
Add SPI to create an WKRemoteObjectRegistry object with an existing WKConnectionRef.
(-[WKRemoteObjectRegistry _handleMessageWithName:body:]):
Add SPI that will be used to process incoming messages from an existing WKConnectionRef.
* Shared/API/Cocoa/WKRemoteObjectRegistryPrivate.h: Added.
Add SPI header.
* WebKit2.xcodeproj/project.pbxproj:
Add new files.
Tools:
Add a very simple test that doesn't really test anything for now.
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm: Added.
* TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Bundle.mm: Added.
* TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Shared.h: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
11 files changed