Lines Matching refs:NWebHelper
106 void* fn = OHOS::NWeb::NWebHelper::Instance().LoadFuncSymbol(functionName);
573 bool NWebHelper::LoadNWebSDK()
583 NWebHelper& NWebHelper::Instance()
585 static NWebHelper helper;
589 void NWebHelper::TryPreReadLib(bool isFirstTimeStartUpWeb, const std::string& bundlePath)
610 bool NWebHelper::Init(bool from_ark)
615 bool NWebHelper::InitAndRun(bool from_ark)
620 bool NWebHelper::GetWebEngine(bool fromArk)
666 bool NWebHelper::InitWebEngine()
717 bool NWebHelper::LoadWebEngine(bool fromArk, bool runFlag)
734 void* NWebHelper::LoadFuncSymbol(const char* funcName)
744 void NWebHelper::SetBundlePath(const std::string& path)
749 std::shared_ptr<NWeb> NWebHelper::CreateNWeb(std::shared_ptr<NWebCreateInfo> create_info)
759 std::shared_ptr<NWebCookieManager> NWebHelper::GetCookieManager()
769 std::shared_ptr<NWeb> NWebHelper::GetNWeb(int32_t nweb_id)
779 void NWebHelper::SetWebTag(int32_t nweb_id, const char* webTag)
789 void NWebHelper::SetHttpDns(std::shared_ptr<NWebDOHConfig> config)
805 void NWebHelper::PrepareForPageLoad(std::string url, bool preconnectable, int32_t numSockets)
815 std::shared_ptr<NWebDataBase> NWebHelper::GetDataBase()
825 std::shared_ptr<NWebWebStorage> NWebHelper::GetWebStorage()
835 void NWebHelper::SetConnectionTimeout(const int32_t& timeout)
849 WVLOG_I("timeout value in NWebHelper: %{public}d", timeout);
852 void NWebHelper::AddIntelligentTrackingPreventionBypassingList(const std::vector<std::string>& hosts)
862 void NWebHelper::RemoveIntelligentTrackingPreventionBypassingList(const std::vector<std::string>& hosts)
872 void NWebHelper::ClearIntelligentTrackingPreventionBypassingList()
882 std::string NWebHelper::GetDefaultUserAgent()
892 void NWebHelper::PauseAllTimers()
902 void NWebHelper::ResumeAllTimers()
912 void NWebHelper::PrefetchResource(const std::shared_ptr<NWebEnginePrefetchArgs>& pre_args,
924 void NWebHelper::ClearPrefetchedResource(const std::vector<std::string>& cache_key_list)
934 void NWebHelper::SetRenderProcessMode(RenderProcessMode mode)
944 RenderProcessMode NWebHelper::GetRenderProcessMode()
954 void NWebHelper::SetHostIP(const std::string& hostName, const std::string& address, int32_t aliveTime)
964 void NWebHelper::EnableBackForwardCache(bool enableNativeEmbed, bool enableMediaTakeOver)
976 void NWebHelper::ClearHostIP(const std::string& hostName)
986 void NWebHelper::WarmupServiceWorker(const std::string& url)
996 void NWebHelper::EnableWholeWebPageDrawing()
1006 std::shared_ptr<NWebAdsBlockManager> NWebHelper::GetAdsBlockManager()
1016 void NWebHelper::TrimMemoryByPressureLevel(int32_t memoryLevel)
1034 return NWebHelper::Instance().Init(from_ark);
1069 auto nweb = NWebHelper::Instance().CreateNWeb(createInfo);
1093 auto nweb = NWebHelper::Instance().CreateNWeb(createInfo);