Add changesWatch for webview cookie
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / controls / web-view / web-cookie-manager.h
old mode 100644 (file)
new mode 100755 (executable)
index a332e06..421db32
@@ -37,7 +37,7 @@ namespace Toolkit
  */
 
 /**
- * @brief WebCookieManager is a control for settings of WebView.
+ * @brief WebCookieManager is a control for cookie manager of WebView.
  *
  *
  * For working WebCookieManager, a WebView should be provided.
@@ -93,6 +93,13 @@ public:
    */
   void SetPersistentStorage(const std::string& path, Dali::WebEngineCookieManager::CookiePersistentStorage storage);
 
+  /**
+   * @brief Watch for cookies' changes in @a manager.
+   *
+   * @param[in] callback cookies are added, removed or modified.
+   */
+  void ChangesWatch(Dali::WebEngineCookieManager::WebEngineCookieManagerChangesWatchCallback callback);
+
 private:
   Dali::WebEngineCookieManager& mWebEngineCookieManager;
 };