mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-23 06:39:54 +00:00
!1597 添加interface_sdk_c getLastJavascriptProxyCallingFrameUrl接口
Merge pull request !1597 from xiaye/master
This commit is contained in:
commit
224260db6e
@ -214,6 +214,15 @@ typedef struct {
|
||||
*/
|
||||
ArkWeb_ErrorCode (*postWebMessage)(
|
||||
const char* webTag, const char* name, ArkWeb_WebMessagePortPtr* webMessagePorts, size_t size, const char* url);
|
||||
|
||||
/**
|
||||
* @brief Get the url of the last frame that calls the JavaScriptProxy.
|
||||
* This should be call on the thread which JavaScriptProxy called.
|
||||
*
|
||||
* @return The url of the last frame that calls the JavaScriptProxy.
|
||||
* @since 14
|
||||
*/
|
||||
const char* (*getLastJavascriptProxyCallingFrameUrl)();
|
||||
} ArkWeb_ControllerAPI;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user