Add to ewk api for setting/getting the User Agent by using system info library.
[framework/web/webkit-efl.git] / Source / WebKit2 / UIProcess / API / efl / EwkViewImpl.h
index 52fa3da..fd78c49 100755 (executable)
@@ -152,6 +152,18 @@ struct Ewk_View_Callback_Context {
         Ewk_View_Before_Unload_Confirm_Panel_Callback beforeUnloadConfirmPanelCallback;
 #endif
         Ewk_View_Open_Panel_Callback openPanelCallback;
+#if ENABLE(TIZEN_APPLICATION_CACHE)
+        Ewk_View_Applicacion_Cache_Permission_Callback applicationCachePermissionCallback;
+#endif
+#if ENABLE(TIZEN_INDEXED_DATABASE)
+        Ewk_View_Exceeded_Indexed_Database_Quota_Callback exceededIndexedDatabaseQuotaCallback;
+#endif
+#if ENABLE(TIZEN_SQL_DATABASE)
+        Ewk_View_Exceeded_Database_Quota_Callback exceededDatabaseQuotaCallback;
+#endif
+#if ENABLE(TIZEN_FILE_SYSTEM)
+        Ewk_View_Exceeded_Local_File_System_Quota_Callback exceededLocalFileSystemQuotaCallback;
+#endif
     };
 
     Evas_Object* ewkView;
@@ -304,10 +316,19 @@ public:
     const WebCore::IntPoint scrollPosition() const { return m_scrollPosition; }
 #endif
 
-#if ENABLE(TOUCH_EVENTS) && ENABLE(TIZEN_GESTURE)
-    void feedCancelTouchEvents();
+#if ENABLE(TIZEN_GESTURE)
+#if ENABLE(TOUCH_EVENTS)
+    void feedTouchEventsByType(Ewk_Touch_Event_Type);
+#endif
+    void setDoubleTapEnabled(bool);
 #endif
+
+    void didChangeScrollAndScale(const WebCore::IntPoint&, float);
+
+#if ENABLE(TIZEN_FOCUS_UI)
+    static void pages(Vector<RefPtr<WebKit::WebPageProxy> >&);
 #endif
+#endif // #if OS(TIZEN)
 
     // FIXME: Make members private for encapsulation.
     OwnPtr<WebKit::PageClientImpl> pageClient;
@@ -346,6 +367,10 @@ public:
 
     WKEinaSharedString userAgent;
 
+#if OS(TIZEN)
+    WKEinaSharedString applicationName;
+#endif
+
 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
     WKEinaSharedString webAppIconURL;
     Eina_List* webAppIconURLs;
@@ -395,10 +420,6 @@ public:
     Eina_List* notificationPermissionRequests;
 #endif
 
-#if ENABLE(TIZEN_SQL_DATABASE)
-    Ewk_Context_Exceeded_Quota* exceededDatabaseQuota;
-#endif
-
 #if ENABLE(TIZEN_WEBKIT2_POPUP_INTERNAL)
     Ewk_Popup_Picker* popupPicker;
 #endif
@@ -449,6 +470,23 @@ public:
 #if ENABLE(TIZEN_WEBKIT2_CREATE_VIEW_WITH_CREATED_PAGE_GROUP_WITH_IDENTIFIER)
     RefPtr<WebKit::WebPageGroup> pageGroup;
 #endif
+
+#if ENABLE(TIZEN_APPLICATION_CACHE)
+    OwnPtr<Ewk_View_Callback_Context> applicationCachePermissionContext;
+    Ewk_Security_Origin* applicationCachePermissionOrigin;
+    bool isWaitingForApplicationCachePermission;
+#endif
+#if ENABLE(TIZEN_INDEXED_DATABASE)
+    OwnPtr<Ewk_View_Callback_Context> exceededIndexedDatabaseQuotaContext;
+#endif
+#if ENABLE(TIZEN_SQL_DATABASE)
+    OwnPtr<Ewk_View_Callback_Context> exceededDatabaseQuotaContext;
+#endif
+#if ENABLE(TIZEN_FILE_SYSTEM)
+    OwnPtr<Ewk_View_Callback_Context> exceededLocalFileSystemQuotaContext;
+#endif
+    Ewk_Security_Origin* exceededQuotaOrigin;
+    bool isWaitingForExceededQuotaPopupReply;
 #endif // #if OS(TIZEN)
 
 private: