Home
last modified time | relevance | path

Searched refs:WebMessagePort (Results 1 – 3 of 3) sorted by relevance

/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_controller.h263 class WebMessagePort {
265 WebMessagePort(int32_t nwebId, std::string& port, bool isExtentionType);
267 ~WebMessagePort() = default;
Dwebview_controller.cpp460 WebMessagePort::WebMessagePort(int32_t nwebId, std::string& port, bool isExtentionType) in WebMessagePort() function in OHOS::NWeb::WebMessagePort
464 ErrCode WebMessagePort::ClosePort() in ClosePort()
476 ErrCode WebMessagePort::PostPortMessage(std::shared_ptr<NWebMessage> data) in PostPortMessage()
491 ErrCode WebMessagePort::SetPortMessageCallback( in SetPortMessageCallback()
507 std::string WebMessagePort::GetPortHandle() const in GetPortHandle()
Dnapi_webview_controller.cpp1438 WebMessagePort *msgPort = nullptr; in GetSendPorts()
1527 WebMessagePort *msgPort = new (std::nothrow) WebMessagePort(webId, portHandle, isExtentionType); in JsConstructor()
1534 WebMessagePort *msgPort = static_cast<WebMessagePort *>(data); in JsConstructor()
1548 WebMessagePort *msgPort = nullptr; in Close()
1626 WebMessagePort *msgPort = nullptr; in PostMessageEvent()
1669 WebMessagePort *msgPort = nullptr; in PostMessageEventExt()
1716 WebMessagePort *msgPort = nullptr; in OnMessageEventExt()
1931 WebMessagePort *msgPort = nullptr; in OnMessageEvent()