mWebEngineContext.SetProxyUri(uri);
}
+std::string WebContext::GetProxyUri() const
+{
+ return mWebEngineContext.GetProxyUri();
+}
+
+void WebContext::SetProxyBypassRule(const std::string& proxy, const std::string& bypass)
+{
+ mWebEngineContext.SetProxyBypassRule(proxy, bypass);
+}
+
+std::string WebContext::GetProxyBypassRule() const
+{
+ return mWebEngineContext.GetProxyBypassRule();
+}
+
void WebContext::SetCertificateFilePath(const std::string& certificatePath)
{
mWebEngineContext.SetCertificateFilePath(certificatePath);
}
-void WebContext::DisableCache(bool cacheDisabled)
+std::string WebContext::GetCertificateFilePath() const
{
- mWebEngineContext.DisableCache(cacheDisabled);
+ return mWebEngineContext.GetCertificateFilePath();
}
void WebContext::SetDefaultProxyAuth(const std::string& username, const std::string& password)
mWebEngineContext.DeleteAllWebStorage();
}
-bool WebContext::DeleteWebStorageOrigin(Dali::WebEngineSecurityOrigin& origin)
+bool WebContext::DeleteWebStorage(Dali::WebEngineSecurityOrigin& origin)
{
- return mWebEngineContext.DeleteWebStorageOrigin(origin);
+ return mWebEngineContext.DeleteWebStorage(origin);
}
void WebContext::DeleteLocalFileSystem()
mWebEngineContext.RegisterMimeOverriddenCallback(callback);
}
+void WebContext::RegisterRequestInterceptedCallback(Dali::WebEngineContext::WebEngineRequestInterceptedCallback callback)
+{
+ mWebEngineContext.RegisterRequestInterceptedCallback(callback);
+}
+
+void WebContext::EnableCache(bool cacheEnabled)
+{
+ mWebEngineContext.EnableCache(cacheEnabled);
+}
+
+bool WebContext::IsCacheEnabled() const
+{
+ return mWebEngineContext.IsCacheEnabled();
+}
+
+void WebContext::SetAppId(const std::string& appId)
+{
+ mWebEngineContext.SetAppId(appId);
+}
+
+bool WebContext::SetAppVersion(const std::string& appVersion)
+{
+ return mWebEngineContext.SetAppVersion(appVersion);
+}
+
+void WebContext::SetApplicationType(const Dali::WebEngineContext::ApplicationType applicationType)
+{
+ mWebEngineContext.SetApplicationType(applicationType);
+}
+
+void WebContext::SetTimeOffset(float timeOffset)
+{
+ mWebEngineContext.SetTimeOffset(timeOffset);
+}
+
+void WebContext::SetTimeZoneOffset(float timeZoneOffset, float daylightSavingTime)
+{
+ mWebEngineContext.SetTimeZoneOffset(timeZoneOffset, daylightSavingTime);
+}
+
+void WebContext::SetDefaultZoomFactor(float zoomFactor)
+{
+ mWebEngineContext.SetDefaultZoomFactor(zoomFactor);
+}
+
+float WebContext::GetDefaultZoomFactor() const
+{
+ return mWebEngineContext.GetDefaultZoomFactor();
+}
+
+void WebContext::RegisterUrlSchemesAsCorsEnabled(const std::vector<std::string>& schemes)
+{
+ mWebEngineContext.RegisterUrlSchemesAsCorsEnabled(schemes);
+}
+
+void WebContext::RegisterJsPluginMimeTypes(const std::vector<std::string>& mimeTypes)
+{
+ mWebEngineContext.RegisterJsPluginMimeTypes(mimeTypes);
+}
+
+bool WebContext::DeleteAllApplicationCache()
+{
+ return mWebEngineContext.DeleteAllApplicationCache();
+}
+
+bool WebContext::DeleteAllWebIndexedDatabase()
+{
+ return mWebEngineContext.DeleteAllWebIndexedDatabase();
+}
+
+void WebContext::DeleteFormPasswordDataList(const std::vector<std::string>& list)
+{
+ mWebEngineContext.DeleteFormPasswordDataList(list);
+}
+
+void WebContext::DeleteAllFormPasswordData()
+{
+ mWebEngineContext.DeleteAllFormPasswordData();
+}
+
+void WebContext::DeleteAllFormCandidateData()
+{
+ mWebEngineContext.DeleteAllFormCandidateData();
+}
+
+bool WebContext::FreeUnusedMemory()
+{
+ return mWebEngineContext.FreeUnusedMemory();
+}
+
} // namespace Toolkit
} // namespace Dali