X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fweb-view%2Fweb-context.cpp;h=c72012c7a0b57942cc051a64c1eac152144d2fb0;hb=b8da2e53925b9abb9fa362560069e8ca4aa62f81;hp=1e0cbbdd84d608ba25fa8d9676defc7dd8afdc97;hpb=06390b11a4bbb71ee3d9a0508ed33cb3aa14d8a3;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/web-view/web-context.cpp b/dali-toolkit/devel-api/controls/web-view/web-context.cpp old mode 100755 new mode 100644 index 1e0cbbd..c72012c --- a/dali-toolkit/devel-api/controls/web-view/web-context.cpp +++ b/dali-toolkit/devel-api/controls/web-view/web-context.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,9 +22,8 @@ namespace Dali { namespace Toolkit { - -WebContext::WebContext( Dali::WebEngineContext& context) -: mWebEngineContext( context ) +WebContext::WebContext(Dali::WebEngineContext& context) +: mWebEngineContext(context) { } @@ -37,29 +36,29 @@ Dali::WebEngineContext::CacheModel WebContext::GetCacheModel() const return mWebEngineContext.GetCacheModel(); } -void WebContext::SetCacheModel(Dali::WebEngineContext::CacheModel cacheModel ) +void WebContext::SetCacheModel(Dali::WebEngineContext::CacheModel cacheModel) { - mWebEngineContext.SetCacheModel( cacheModel ); + mWebEngineContext.SetCacheModel(cacheModel); } -void WebContext::SetProxyUri( const std::string& uri ) +void WebContext::SetProxyUri(const std::string& uri) { - mWebEngineContext.SetProxyUri( uri ); + mWebEngineContext.SetProxyUri(uri); } -void WebContext::SetCertificateFilePath( const std::string& certificatePath ) +void WebContext::SetCertificateFilePath(const std::string& certificatePath) { - mWebEngineContext.SetCertificateFilePath( certificatePath ); + mWebEngineContext.SetCertificateFilePath(certificatePath); } -void WebContext::DisableCache( bool cacheDisabled ) +void WebContext::DisableCache(bool cacheDisabled) { - mWebEngineContext.DisableCache( cacheDisabled ); + mWebEngineContext.DisableCache(cacheDisabled); } -void WebContext::SetDefaultProxyAuth( const std::string& username, const std::string& password ) +void WebContext::SetDefaultProxyAuth(const std::string& username, const std::string& password) { - mWebEngineContext.SetDefaultProxyAuth( username, password ); + mWebEngineContext.SetDefaultProxyAuth(username, password); } void WebContext::DeleteWebDatabase()