Merge "fix: use EINA_* booleans instread of TRUE/FALSE" into tizen
[platform/framework/web/wrt.git] / src / view / webkit / view_logic_web_storage_support.h
index 537489d..a274030 100644 (file)
 
 #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_