Home
last modified time | relevance | path

Searched refs:PostWebMessage (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_web_controller.h47 void PostWebMessage(const JSCallbackInfo& args);
H A Djs_web_controller.cpp530 JSClass<JSWebController>::CustomMethod("postMessage", &JSWebController::PostWebMessage); in JSBind()
588 void JSWebController::PostWebMessage(const JSCallbackInfo& args) in PostWebMessage() function in OHOS::Ace::Framework::JSWebController
616 webController_->PostWebMessage(eventData, sendPorts, uri); in PostWebMessage()
/ohos5.0/docs/zh-cn/application-dev/web/
H A Darkweb-ndk-page-data-channel.md3 前端页面和应用侧之间可以使用Native方法实现两端通信(以下简称Native PostWebMessage),可解决ArkTS环境的冗余切换,同时允许发送消息、回调在非UI线程上运行,避免造成UI…
7 …rence/apis-arkweb/_ark_web___web_message_port_a_p_i.md#arkweb_webmessageportapi)实现PostWebMessage功能。
11 …个已有的C++环境中运行。通过Native接口,逻辑层能够直接在C++环境中与视图层(其中ArkWeb充当渲染器)进行通信,无需回退至ArkTS环境使用ArkTS PostWebMessage接口。
13 …左图是使用ArkTS PostWebMessage接口构建小程序的方案,,如红框所示,应用需要先调用到ArkTS环境,再调用到C++环境。右图是使用Native PostWebMessage接口构…
17 ## 使用Native接口实现PostWebMessage通信
/ohos5.0/docs/en/application-dev/web/
H A Darkweb-ndk-page-data-channel.md3 The native **PostWebMessage** is provided to implement communication between the frontend page and …
7 …bmessageportapi) provided by ArkWeb on the native side to implement the **PostWebMessage** feature.
11 …C++ environment through the native API, instead of using the ArkTS **PostWebMessage** API in the A…
13 …environment to build an applet using the ArkTS **PostWebMessage** API. Using the native **PostWebM…
17 ## Using the Native API to Implement PostWebMessage
/ohos5.0/base/web/webview/test/fuzztest/ohos_nweb/nwebhelper_fuzzer/
H A Dnweb_create_window.h155 void PostWebMessage( in PostWebMessage() function
/ohos5.0/base/web/webview/test/unittest/common/
H A Dnweb_create_window.h200 …void PostWebMessage(const std::string& message, const std::vector<std::string>& ports, const std::… in PostWebMessage() function
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_nweb_impl.cpp391 void ArkWebNWebImpl::PostWebMessage( in PostWebMessage() function in OHOS::ArkWeb::ArkWebNWebImpl
394 …nweb_nweb_->PostWebMessage(ArkWebStringStructToClass(message), ArkWebStringVectorStructToClass(por… in PostWebMessage()
H A Dark_web_nweb_impl.h391 void PostWebMessage(
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/
H A Dark_web_nweb.h501 virtual void PostWebMessage(const ArkWebString& message,
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_controller.h184 …ErrCode PostWebMessage(std::string& message, std::vector<std::string>& ports, std::string& targetU…
H A Dwebview_controller.cpp498 ErrCode WebviewController::PostWebMessage(std::string& message, std::vector<std::string>& ports, st… in PostWebMessage() function in OHOS::NWeb::WebviewController
505 nweb_ptr->PostWebMessage(message, ports, targetUrl); in PostWebMessage()
H A Dnapi_webview_controller.cpp1988 webviewController->PostWebMessage(portName, sendPorts, urlStr); in PostMessage()
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_nweb_wrapper.cpp449 void ArkWebNWebWrapper::PostWebMessage( in PostWebMessage() function in OHOS::ArkWeb::ArkWebNWebWrapper
456 ark_web_nweb_->PostWebMessage(stMessage, stPorts, stTargetUrl); in PostWebMessage()
H A Dark_web_nweb_wrapper.h397 void PostWebMessage(
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/
H A Dweb_property.h597 …void PostWebMessage(std::string& message, std::vector<RefPtr<WebMessagePort>>& ports, std::string&… in PostWebMessage() function
/ohos5.0/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb.h611 virtual void PostWebMessage(
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_delegate.h743 …void PostWebMessage(std::string& message, std::vector<RefPtr<WebMessagePort>>& ports, std::string&…
H A Dweb_delegate.cpp1301 void WebDelegate::PostWebMessage(std::string& message, std::vector<RefPtr<WebMessagePort>>& ports, … in PostWebMessage() function in OHOS::Ace::WebDelegate
1308 nweb_->PostWebMessage(message, sendPorts, uri); in PostWebMessage()
2341 delegate->PostWebMessage(message, ports, uri); in SetWebCallBack()