Searched refs:webTag (Results 1 – 10 of 10) sorted by relevance
/base/web/webview/interfaces/native/ |
D | native_interface_arkweb.cpp | 35 void OH_NativeArkWeb_RunJavaScript(const char* webTag, const char* jsCode, NativeArkWeb_OnJavaScrip… in OH_NativeArkWeb_RunJavaScript() argument 37 std::weak_ptr<OHOS::NWeb::NWeb> nwebWeak = OH_NativeArkWeb_GetWebInstanceByWebTag(webTag); in OH_NativeArkWeb_RunJavaScript() 40 WVLOG_I("native RunJavaScript webTag: %{public}s", webTag); in OH_NativeArkWeb_RunJavaScript() 43 WVLOG_E("native RunJavaScript get nweb null: %{public}s", webTag); in OH_NativeArkWeb_RunJavaScript() 47 void OH_NativeArkWeb_RegisterJavaScriptProxy(const char* webTag, const char* objName, const char** … in OH_NativeArkWeb_RegisterJavaScriptProxy() argument 50 WVLOG_I("native OH_NativeArkWeb_RegisterJavaScriptProxy webTag:%{public}s", webTag); in OH_NativeArkWeb_RegisterJavaScriptProxy() 56 std::weak_ptr<OHOS::NWeb::NWeb> nwebWeak = OH_NativeArkWeb_GetWebInstanceByWebTag(webTag); in OH_NativeArkWeb_RegisterJavaScriptProxy() 63 WVLOG_E("native RegisterJavaScriptProxy get nweb null: %{public}s", webTag); in OH_NativeArkWeb_RegisterJavaScriptProxy() 67 void OH_NativeArkWeb_UnregisterJavaScriptProxy(const char* webTag, const char* objName) in OH_NativeArkWeb_UnregisterJavaScriptProxy() argument 69 WVLOG_I("native OH_NativeArkWeb_RegisterJavaScriptProxy: %{public}s", webTag); in OH_NativeArkWeb_UnregisterJavaScriptProxy() [all …]
|
D | native_interface_arkweb.h | 78 void OH_NativeArkWeb_RunJavaScript(const char* webTag, const char* jsCode, NativeArkWeb_OnJavaScrip… 93 void OH_NativeArkWeb_RegisterJavaScriptProxy(const char* webTag, const char* objName, const char** … 105 void OH_NativeArkWeb_UnregisterJavaScriptProxy(const char* webTag, const char* objName); 116 void OH_NativeArkWeb_SetJavaScriptProxyValidCallback(const char* webTag, NativeArkWeb_OnValidCallba… 127 NativeArkWeb_OnValidCallback OH_NativeArkWeb_GetJavaScriptProxyValidCallback(const char* webTag); 138 void OH_NativeArkWeb_SetDestroyCallback(const char* webTag, NativeArkWeb_OnDestroyCallback callback… 149 NativeArkWeb_OnDestroyCallback OH_NativeArkWeb_GetDestroyCallback(const char* webTag);
|
D | native_arkweb_utils.cpp | 29 void OH_NativeArkWeb_BindWebTagToWebInstance(const char* webTag, std::weak_ptr<OHOS::NWeb::NWeb> nw… in OH_NativeArkWeb_BindWebTagToWebInstance() argument 31 WVLOG_I("native OH_NativeArkWeb_BindWebTagToWebInstance webTag: %{public}s", webTag); in OH_NativeArkWeb_BindWebTagToWebInstance() 32 g_nwebMap[webTag] = nwebPtr; in OH_NativeArkWeb_BindWebTagToWebInstance() 35 std::weak_ptr<OHOS::NWeb::NWeb> OH_NativeArkWeb_GetWebInstanceByWebTag(const char* webTag) in OH_NativeArkWeb_GetWebInstanceByWebTag() argument 37 if (!webTag) { in OH_NativeArkWeb_GetWebInstanceByWebTag() 40 return g_nwebMap[webTag]; in OH_NativeArkWeb_GetWebInstanceByWebTag()
|
D | native_arkweb_utils.h | 22 void OH_NativeArkWeb_BindWebTagToWebInstance(const char* webTag, std::weak_ptr<OHOS::NWeb::NWeb> nw… 23 std::weak_ptr<OHOS::NWeb::NWeb> OH_NativeArkWeb_GetWebInstanceByWebTag(const char* webTag);
|
D | arkweb_scheme_handler.h | 501 bool OH_ArkWeb_SetSchemeHandler(const char* scheme, const char* webTag, ArkWeb_SchemeHandler* schem… 518 void OH_ArkWeb_ClearSchemeHandlers(const char* webTag);
|
D | arkweb_scheme_handler.cpp | 383 bool OH_ArkWeb_SetSchemeHandler(const char* scheme, const char* webTag, ArkWeb_SchemeHandler* schem… in OH_ArkWeb_SetSchemeHandler() argument 398 return g_SchemeHandlerApi->impl_OH_ArkWeb_SetSchemeHandler(scheme, webTag, schemeHandler); in OH_ArkWeb_SetSchemeHandler() 419 void OH_ArkWeb_ClearSchemeHandlers(const char* webTag) in OH_ArkWeb_ClearSchemeHandlers() argument 426 return g_SchemeHandlerApi->impl_OH_ArkWeb_ClearSchemeHandlers(webTag); in OH_ArkWeb_ClearSchemeHandlers()
|
/base/web/webview/ohos_nweb/include/ |
D | nweb_helper.h | 44 void SetWebTag(int32_t nwebId, const char* webTag);
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | webview_controller.h | 94 explicit WebviewController(const std::string& webTag) : webTag_(webTag) {}; in WebviewController() argument
|
D | napi_webview_controller.cpp | 419 std::string webTag; in JsConstructor() local 420 NapiParseUtils::ParseString(env, argv[INTEGER_ZERO], webTag); in JsConstructor() 421 if (webTag.empty()) { in JsConstructor() 425 webviewController = new (std::nothrow) WebviewController(webTag); in JsConstructor() 426 WVLOG_I("new webview controller webname:%{public}s", webTag.c_str()); in JsConstructor()
|
/base/web/webview/ohos_nweb/src/ |
D | nweb_helper.cpp | 846 void NWebHelper::SetWebTag(int32_t nweb_id, const char* webTag) 861 setWebTagFunc(nweb_id, webTag);
|