/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_web_controller.h | 47 void PostWebMessage(const JSCallbackInfo& args);
|
H A D | js_web_controller.cpp | 530 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 D | arkweb-ndk-page-data-channel.md | 3 前端页面和应用侧之间可以使用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 D | arkweb-ndk-page-data-channel.md | 3 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 D | nweb_create_window.h | 155 void PostWebMessage( in PostWebMessage() function
|
/ohos5.0/base/web/webview/test/unittest/common/ |
H A D | nweb_create_window.h | 200 …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 D | ark_web_nweb_impl.cpp | 391 void ArkWebNWebImpl::PostWebMessage( in PostWebMessage() function in OHOS::ArkWeb::ArkWebNWebImpl 394 …nweb_nweb_->PostWebMessage(ArkWebStringStructToClass(message), ArkWebStringVectorStructToClass(por… in PostWebMessage()
|
H A D | ark_web_nweb_impl.h | 391 void PostWebMessage(
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/ |
H A D | ark_web_nweb.h | 501 virtual void PostWebMessage(const ArkWebString& message,
|
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | webview_controller.h | 184 …ErrCode PostWebMessage(std::string& message, std::vector<std::string>& ports, std::string& targetU…
|
H A D | webview_controller.cpp | 498 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 D | napi_webview_controller.cpp | 1988 webviewController->PostWebMessage(portName, sendPorts, urlStr); in PostMessage()
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/ |
H A D | ark_web_nweb_wrapper.cpp | 449 void ArkWebNWebWrapper::PostWebMessage( in PostWebMessage() function in OHOS::ArkWeb::ArkWebNWebWrapper 456 ark_web_nweb_->PostWebMessage(stMessage, stPorts, stTargetUrl); in PostWebMessage()
|
H A D | ark_web_nweb_wrapper.h | 397 void PostWebMessage(
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/ |
H A D | web_property.h | 597 …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 D | nweb.h | 611 virtual void PostWebMessage(
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_delegate.h | 743 …void PostWebMessage(std::string& message, std::vector<RefPtr<WebMessagePort>>& ports, std::string&…
|
H A D | web_delegate.cpp | 1301 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()
|