Lines Matching refs:initArgs
679 auto initArgs = std::make_shared<NWebEngineInitArgsImpl>();
680 NWebAdapterHelper::Instance().ParseConfig(initArgs);
682 initArgs->AddArg(std::string("--user-data-dir=").append(ctx->GetBaseDir()));
683 initArgs->AddArg(std::string("--bundle-installation-dir=").append(bundlePath_));
687 initArgs->AddArg(std::string("--arkwebcore-install-path=").append(arkWebInstallPath));
693 initArgs->AddArg(std::string("--ohos-custom-scheme=").append(customSchemeCmdLine_));
701 initArgs->AddArg(std::string("--lang=").append(systemLanguage + "-" + systemRegion));
703 initArgs->AddArg(std::string("--lang=").append(systemLanguage.substr(0, dashPos) + "-" + systemRegion));
707 initArgs->AddArg(backForwardCacheCmdLine);
711 nwebEngine_->InitializeWebEngine(initArgs);
1047 std::shared_ptr<NWebEngineInitArgsImpl> initArgs, uint32_t width, uint32_t height, bool incognitoMode)
1058 auto createInfo = NWebSurfaceAdapter::Instance().GetCreateInfo(surface, initArgs, width, height, incognitoMode);
1059 NWebConfigHelper::Instance().ParseConfig(initArgs);
1066 initArgs->AddArg(std::string("--bundle-name=").append(bundleName));
1080 std::shared_ptr<NWebEngineInitArgsImpl> initArgs, uint32_t width, uint32_t height, bool incognitoMode)
1092 NWebEnhanceSurfaceAdapter::Instance().GetCreateInfo(enhanceSurfaceInfo, initArgs, width, height, incognitoMode);
1103 void NWebAdapterHelper::ParseConfig(std::shared_ptr<NWebEngineInitArgsImpl> initArgs)
1105 NWebConfigHelper::Instance().ParseConfig(initArgs);