[ITC/UTC][webkit2][NON-ACR][Update TC environment]
authorsihoons.yang <sihoons.yang@samsung.com>
Mon, 27 Jun 2016 06:03:40 +0000 (15:03 +0900)
committersihoons.yang <sihoons.yang@samsung.com>
Mon, 27 Jun 2016 06:08:32 +0000 (15:08 +0900)
-fix tpk build error on mobile profile.
-update the scroll-size(changed the scroll-logic in webengine)

Change-Id: If00d46d0b1c83a57bb12658460899d6a7fabb7fc
Signed-off-by: sihoons.yang <sihoons.yang@samsung.com>
src/itc/webkit2/ITs-webkit2-common.h
src/utc/webkit2/utc_webkit2_ewk_context_icon_database_icon_object_add_func.c
src/utc/webkit2/utc_webkit2_ewk_cookie_manager_file_scheme_cookies_allow_get_func.c
src/utc/webkit2/utc_webkit2_ewk_cookie_manager_file_scheme_cookies_allow_set_func.c
src/utc/webkit2/utc_webkit2_ewk_view_scroll_by_func.c

index 8e90ee3..fa41c9e 100755 (executable)
@@ -72,8 +72,8 @@
 #define SAMPLE_SCROLL_FILE             "webkit2_files/resources/ewk_view/scroll.html"
 #define SAMPLE_HTML_FILE_VIEW          "webkit2_files/resources/ewk_view/sample.html"
 #define SAMPLE_FILE_VIEW_TEXT_FIND     "webkit2_files/resources/ewk_view/text_find.html"
-#define SCROLL_BY_X                                    2
-#define SCROLL_BY_Y                                    7
+#define SCROLL_BY_X                                    4
+#define SCROLL_BY_Y                                    14
 #define PATH_LEN                                       1024
 #define LAUNCH_URL                                     "https://www.tizen.org"
 #define API_NAMESPACE                          "WEBKIT2_ITC"
index df42746..bdaa3d5 100755 (executable)
@@ -20,7 +20,7 @@ static Eina_Bool loadURL(const char* url)
     return ewk_view_url_set(test_view.webview, url);
 }
 
-static void iconReceived(void* data, Evas_Object* webview, void* event_info)
+static int iconReceived(void* data, Evas_Object* webview, void* event_info)
 {
     static const int PIXEL_SIZE = 4;
     static int w = 0 , h = 0;
index 533f0ce..5802634 100755 (executable)
@@ -15,6 +15,7 @@
 //
 #include "assert.h"
 #include "utc_webkit2_ewk.h"
+#include "tct-autofill-profile.h"
 
 /**
  * @function        utc_webkit2_ewk_cookie_manager_file_scheme_cookies_allow_get_startup
index d15a020..4a2ac08 100755 (executable)
@@ -15,6 +15,7 @@
 //
 #include "assert.h"
 #include "utc_webkit2_ewk.h"
+#include "tct-autofill-profile.h"
 
 /**
  * @function        utc_webkit2_ewk_cookie_manager_file_scheme_cookies_allow_set_startup
index 004d04d..d64849c 100755 (executable)
@@ -16,8 +16,8 @@
 #include "assert.h"
 #include "utc_webkit2_ewk.h"
 
-static const int scrollOffset1 = 2;
-static const int scrollOffset2 = 7;
+static const int scrollOffset1 = 4;
+static const int scrollOffset2 = 14;
 static Eina_Bool isLoadSucceed = EINA_TRUE;
 
 static Eina_Bool loadURL(const char* url)