X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fweb-view%2Fweb-settings.h;h=4d24b5823350bb9ddd193c0bfd940acd8705bb2e;hb=9ddd5fea6278d06b8874988498c7c4c6508750ba;hp=dc46e7c528f43b63a5ceb70e545ef3d549a61c82;hpb=f2039d47f9bed8104575da80a2ecf0bb6e37ff8d;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/web-view/web-settings.h b/dali-toolkit/devel-api/controls/web-view/web-settings.h old mode 100755 new mode 100644 index dc46e7c..4d24b58 --- a/dali-toolkit/devel-api/controls/web-view/web-settings.h +++ b/dali-toolkit/devel-api/controls/web-view/web-settings.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_WEB_SETTINGS_H /* - * 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. @@ -30,7 +30,6 @@ class WebEngineSettings; namespace Toolkit { - /** * @addtogroup dali_toolkit_controls_web_view * @{ @@ -51,7 +50,7 @@ public: * * @param[in] settings A settings of web engine. */ - WebSettings( Dali::WebEngineSettings& settings ); + WebSettings(Dali::WebEngineSettings& settings); /** * @brief Destructor. @@ -64,7 +63,7 @@ public: * @param[in] allowed if true, allow to run mixed contents, * otherwise not allow */ - void AllowMixedContents( bool allowed ); + void AllowMixedContents(bool allowed); /** * @brief Enable the spatial navigation or not. @@ -72,7 +71,7 @@ public: * @param[in] enabled if true, use spatial navigation, * otherwise to disable */ - void EnableSpatialNavigation( bool enabled ); + void EnableSpatialNavigation(bool enabled); /** * @brief Returns the default font size in pixel. The default value is 16. @@ -86,7 +85,7 @@ public: * * @param[in] defaultFontSize A new default font size to set */ - void SetDefaultFontSize( int defaultFontSize ); + void SetDefaultFontSize(int defaultFontSize); /** * @brief Enables/disables web security. @@ -94,7 +93,7 @@ public: * @param[in] enabled if true, to enable the web security * otherwise to disable */ - void EnableWebSecurity( bool enabled ); + void EnableWebSecurity(bool enabled); /** * @brief Allow/Disallow file access from external url @@ -102,7 +101,7 @@ public: * @param[in] allowed if true, to allow file access from external url * otherwise to disallow */ - void AllowFileAccessFromExternalUrl( bool allowed ); + void AllowFileAccessFromExternalUrl(bool allowed); /** * @brief Returns whether JavaScript can be executable. The default is true. @@ -116,7 +115,7 @@ public: * * @param[in] enabled True if JavaScript executing is enabled, false otherwise */ - void EnableJavaScript( bool enabled ); + void EnableJavaScript(bool enabled); /** * @brief Allow if the scripts can open new windows. @@ -124,7 +123,7 @@ public: * @param[in] allowed if true, the scripts can open new windows, * otherwise not */ - void AllowScriptsOpenWindows( bool allowed ); + void AllowScriptsOpenWindows(bool allowed); /** * @brief Returns whether images can be loaded automatically. The default is true. @@ -138,7 +137,7 @@ public: * * @param[in] automatic True if images are loaded automatically, false otherwise */ - void AllowImagesLoadAutomatically( bool automatic ); + void AllowImagesLoadAutomatically(bool automatic); /** * @brief Gets the default text encoding name (e.g. UTF-8). @@ -152,7 +151,7 @@ public: * * @param[in] defaultTextEncodingName The default text encoding name */ - void SetDefaultTextEncodingName( const std::string& defaultTextEncodingName ); + void SetDefaultTextEncodingName(const std::string& defaultTextEncodingName); private: Dali::WebEngineSettings& mWebEngineSettings;