Lines Matching refs:WebviewController
37 std::string WebviewController::customeSchemeCmdLine_ = "";
38 bool WebviewController::existNweb_ = false;
39 bool WebviewController::webDebuggingAccess_ = false;
40 WebviewController::WebviewController(int32_t nwebId) : nweb_(NWebHelper::Instance().GetNWeb(nwebId)… in WebviewController() function in OHOS::NWeb::WebviewController
42 void WebviewController::SetWebId(int32_t nwebId) in SetWebId()
47 bool WebviewController::IsInit() in IsInit()
52 bool WebviewController::AccessForward() in AccessForward()
62 bool WebviewController::AccessBackward() in AccessBackward()
72 bool WebviewController::AccessStep(int32_t step) in AccessStep()
82 void WebviewController::ClearHistory() in ClearHistory()
90 void WebviewController::Forward() in Forward()
98 void WebviewController::Backward() in Backward()
106 void WebviewController::OnActive() in OnActive()
114 void WebviewController::OnInactive() in OnInactive()
122 void WebviewController::Refresh() in Refresh()
130 ErrCode WebviewController::ZoomIn() in ZoomIn()
142 ErrCode WebviewController::ZoomOut() in ZoomOut()
154 int32_t WebviewController::GetWebId() const in GetWebId()
164 std::string WebviewController::GetUserAgent() in GetUserAgent()
177 std::string WebviewController::GetCustomUserAgent() const in GetCustomUserAgent()
190 ErrCode WebviewController::SetCustomUserAgent(const std::string& userAgent) in SetCustomUserAgent()
204 std::string WebviewController::GetTitle() in GetTitle()
214 int32_t WebviewController::GetPageHeight() in GetPageHeight()
224 ErrCode WebviewController::BackOrForward(int32_t step) in BackOrForward()
235 void WebviewController::StoreWebArchiveCallback(const std::string &baseName, bool autoName, napi_en… in StoreWebArchiveCallback()
289 void WebviewController::StoreWebArchivePromise(const std::string &baseName, bool autoName, napi_env… in StoreWebArchivePromise()
330 ErrCode WebviewController::CreateWebMessagePorts(std::vector<std::string>& ports) in CreateWebMessagePorts()
341 ErrCode WebviewController::PostWebMessage(std::string& message, std::vector<std::string>& ports, st… in PostWebMessage()
404 HitTestResult WebviewController::GetHitTestValue() in GetHitTestValue()
415 void WebviewController::RequestFocus() in RequestFocus()
423 bool WebviewController::GetRawFileUrl(const std::string &fileName, std::string &result) in GetRawFileUrl()
446 bool WebviewController::ParseUrl(napi_env env, napi_value urlObj, std::string& result) in ParseUrl()
488 ErrCode WebviewController::LoadUrl(std::string url) in LoadUrl()
497 ErrCode WebviewController::LoadUrl(std::string url, std::map<std::string, std::string> httpHeaders) in LoadUrl()
506 ErrCode WebviewController::LoadData(std::string data, std::string mimeType, std::string encoding, in LoadData()
519 int WebviewController::ConverToWebHitTestType(int hitType) in ConverToWebHitTestType()
560 int WebviewController::GetHitTest() in GetHitTest()
570 void WebviewController::ClearMatches() in ClearMatches()
578 void WebviewController::SearchNext(bool forward) in SearchNext()
586 void WebviewController::SearchAllAsync(const std::string& searchString) in SearchAllAsync()
594 void WebviewController::ClearSslCache() in ClearSslCache()
602 void WebviewController::ClearClientAuthenticationCache() in ClearClientAuthenticationCache()
610 void WebviewController::Stop() in Stop()
618 ErrCode WebviewController::Zoom(float factor) in Zoom()
630 ErrCode WebviewController::DeleteJavaScriptRegister(const std::string& objName, in DeleteJavaScriptRegister()
648 void WebviewController::SetNWebJavaScriptResultCallBack() in SetNWebJavaScriptResultCallBack()
659 void WebviewController::RegisterJavaScriptProxy(napi_env env, napi_value obj, in RegisterJavaScriptProxy()
672 void WebviewController::RunJavaScriptCallback( in RunJavaScriptCallback()
698 void WebviewController::RunJavaScriptPromise(const std::string &script, napi_env env, in RunJavaScriptPromise()
717 std::string WebviewController::GetUrl() in GetUrl()
727 std::string WebviewController::GetOriginalUrl() in GetOriginalUrl()
737 void WebviewController::PutNetworkAvailable(bool available) in PutNetworkAvailable()
745 ErrCode WebviewController::HasImagesCallback(napi_env env, napi_ref jsCallback) in HasImagesCallback()
771 ErrCode WebviewController::HasImagesPromise(napi_env env, napi_deferred deferred) in HasImagesPromise()
790 void WebviewController::RemoveCache(bool include_disk_files) in RemoveCache()
798 std::shared_ptr<NWebHistoryList> WebviewController::GetHistoryList() in GetHistoryList()
826 bool WebviewController::GetFavicon( in GetFavicon()
837 WebState WebviewController::SerializeWebState() in SerializeWebState()
846 bool WebviewController::RestoreWebState(WebState state) in RestoreWebState()
856 void WebviewController::ScrollPageDown(bool bottom) in ScrollPageDown()
865 void WebviewController::ScrollPageUp(bool top) in ScrollPageUp()
874 void WebviewController::ScrollTo(float x, float y) in ScrollTo()
883 void WebviewController::ScrollBy(float deltaX, float deltaY) in ScrollBy()
892 void WebviewController::SlideScroll(float vx, float vy) in SlideScroll()
901 void WebviewController::InnerSetHapPath(const std::string &hapPath) in InnerSetHapPath()
906 bool WebviewController::GetCertChainDerData(std::vector<std::string> &certChainDerData) in GetCertChainDerData()
917 ErrCode WebviewController::SetAudioMuted(bool muted) in SetAudioMuted()
928 ErrCode WebviewController::PrefetchPage(std::string& url, std::map<std::string, std::string> additi… in PrefetchPage()