Searched refs:webPrintDoc (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | napi_webview_controller.cpp | 786 napi_value webPrintDoc = nullptr; in Init() local 794 WebPrintDocumentClass, &webPrintDoc); in Init() 795 napi_create_reference(env, webPrintDoc, 1, &g_webPrintDocClassRef); in Init() 796 napi_set_named_property(env, exports, WEB_PRINT_DOCUMENT_CLASS_NAME.c_str(), webPrintDoc); in Init() 4858 napi_value webPrintDoc = nullptr; in CreateWebPrintDocumentAdapter() local 4859 NAPI_CALL(env, napi_get_reference_value(env, g_webPrintDocClassRef, &webPrintDoc)); in CreateWebPrintDocumentAdapter() 4864 status = napi_new_instance(env, webPrintDoc, INTEGER_ONE, &consParam[INTEGER_ZERO], &proxy); in CreateWebPrintDocumentAdapter() 5143 WebPrintDocument *webPrintDoc = new (std::nothrow) WebPrintDocument(webPrintDocPtr); in JsConstructor() local 5144 if (webPrintDoc == nullptr) { in JsConstructor() 5148 NAPI_CALL(env, napi_wrap(env, thisVar, webPrintDoc, in JsConstructor()
|