#include <memory.h>
#include <Elementary.h>
+#include <EWebKit2.h>
namespace SecurityOriginDB {
- class SecurityOriginDAO;
+class SecurityOriginDAO;
}
namespace ViewModule {
namespace WebStorageSupport {
-
-void webStorageCreatePermissionRequest(
- Evas_Object* window,
- SecurityOriginDB::SecurityOriginDAO* securityOriginDAO,
- void* data);
+typedef void (*ewkQuotaReply)(Evas_Object* ewkView, Eina_Bool allow);
+bool isNeedPermissionRequest(void);
+void createPermissionRequest(
+ Evas_Object* window,
+ SecurityOriginDB::SecurityOriginDAO* securityOriginDAO,
+ Evas_Object* ewkView,
+ Ewk_Security_Origin* ewkOrigin,
+ ewkQuotaReply replyEAPI);
} // namespace WebStorageSupport
} // namespace ViewModule
-#endif // VIEW_LOGIC_WEB_STORAGE_SUPPORT_H_
\ No newline at end of file
+#endif // VIEW_LOGIC_WEB_STORAGE_SUPPORT_H_