X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fweb-view%2Fweb-cookie-manager.h;h=b7b5bf1eb8f33e36f4f1bce749b0d940e15217c3;hp=adb133ad3b26cb3bb0839457e4f81cd89f1e266e;hb=a0389a25a5ce0e8b539c75a6f37b75d3286dacef;hpb=c8d4ad61a4b79eeaa077611d52b5a7271cd6af01 diff --git a/dali-toolkit/devel-api/controls/web-view/web-cookie-manager.h b/dali-toolkit/devel-api/controls/web-view/web-cookie-manager.h index adb133a..b7b5bf1 100755 --- a/dali-toolkit/devel-api/controls/web-view/web-cookie-manager.h +++ b/dali-toolkit/devel-api/controls/web-view/web-cookie-manager.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_WEB_COOKIE_MANAGER_H /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 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. @@ -19,7 +19,7 @@ */ // EXTERNAL INCLUDES -#include +#include #include // INTERNAL INCLUDES @@ -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; };