Updated all header files to new format
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / controls / web-view / web-settings.h
old mode 100755 (executable)
new mode 100644 (file)
index dc46e7c..4d24b58
@@ -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;