Home
last modified time | relevance | path

Searched refs:webSrc (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/cross_platform/
H A Dweb_pattern.h92 WebPattern(const std::string& webSrc, const RefPtr<WebController>& webController,
95 WebPattern(const std::string& webSrc, const SetWebIdCallback& setWebIdCallback,
137 void SetWebSrc(const std::string& webSrc) in SetWebSrc() argument
141 webSrc_ = webSrc; in SetWebSrc()
144 webPaintProperty_->SetWebPaintData(webSrc); in SetWebSrc()
H A Dweb_pattern.cpp60 WebPattern::WebPattern(const std::string& webSrc, const RefPtr<WebController>& webController, Rende… in WebPattern() argument
62 …: webSrc_(std::move(webSrc)), webController_(webController), renderMode_(renderMode), incognitoMod… in WebPattern()
66 WebPattern::WebPattern(const std::string& webSrc, const SetWebIdCallback& setWebIdCallback, RenderM… in WebPattern() argument
68 : webSrc_(std::move(webSrc)), setWebIdCallback_(setWebIdCallback), renderMode_(renderMode), in WebPattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_web_controller.cpp632 std::string webSrc; in LoadUrl() local
633 if (!JSViewAbstract::ParseJsMedia(valUrl, webSrc)) { in LoadUrl()
636 auto np = webSrc.find_first_of("/"); in LoadUrl()
637 url = (np == std::string::npos) ? webSrc : webSrc.erase(np, 1); in LoadUrl()
H A Djs_web.h172 static void ParseRawfileWebSrc(const JSRef<JSVal>& srcValue, std::string& webSrc);
H A Djs_web.cpp2285 void JSWeb::ParseRawfileWebSrc(const JSRef<JSVal>& srcValue, std::string& webSrc) in ParseRawfileWebSrc() argument
2287 if (!srcValue->IsObject() || webSrc.substr(0, RAWFILE_PREFIX.size()) != RAWFILE_PREFIX) { in ParseRawfileWebSrc()
2298webSrc = RAWFILE_PREFIX + BUNDLE_NAME_PREFIX + bundleName + "/" + MODULE_NAME_PREFIX + moduleName … in ParseRawfileWebSrc()
2299 webSrc.substr(RAWFILE_PREFIX.size()); in ParseRawfileWebSrc()
2310 std::string webSrc; in Create() local
2314 } else if (ParseJsMedia(srcValue, webSrc)) { in Create()
2315 ParseRawfileWebSrc(srcValue, webSrc); in Create()
2316 int np = static_cast<int>(webSrc.find_first_of("/")); in Create()
2317 dstSrc = np < 0 ? webSrc : webSrc.erase(np, 1); in Create()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.h122 WebPattern(const std::string& webSrc, const RefPtr<WebController>& webController,
125 WebPattern(const std::string& webSrc, const SetWebIdCallback& setWebIdCallback,
208 void SetWebSrc(const std::string& webSrc) in SetWebSrc() argument
212 webSrc_ = webSrc; in SetWebSrc()
215 webPaintProperty_->SetWebPaintData(webSrc); in SetWebSrc()
H A Dweb_pattern.cpp368 WebPattern::WebPattern(const std::string& webSrc, const RefPtr<WebController>& webController, Rende… in WebPattern() argument
370 …: webSrc_(std::move(webSrc)), webController_(webController), renderMode_(renderMode), incognitoMod… in WebPattern()
376 WebPattern::WebPattern(const std::string& webSrc, const SetWebIdCallback& setWebIdCallback, RenderM… in WebPattern() argument
378 : webSrc_(std::move(webSrc)), setWebIdCallback_(setWebIdCallback), renderMode_(renderMode), in WebPattern()
/ohos5.0/base/web/webview/interfaces/kits/cj/src/
H A Dwebview_ffi.cpp102 std::string webSrc = url; in FfiOHOSWebviewCtlLoadUrl() local
104 return nativeWebviewCtl->LoadUrl(webSrc); in FfiOHOSWebviewCtlLoadUrl()
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp2887 std::string webSrc; in LoadUrl() local
2888 if (!webviewController->ParseUrl(env, argv[INTEGER_ZERO], webSrc)) { in LoadUrl()
2893 ErrCode ret = webviewController->LoadUrl(webSrc); in LoadUrl()
2904 return LoadUrlWithHttpHeaders(env, info, webSrc, argv, webviewController); in LoadUrl()