[ITC][webkit2][Non-ACR][Fixed build fail issue] Beta_RC16
authorShashank Shekhar Shukla <shekhar1.s@samsung.com>
Fri, 8 Jul 2016 02:59:32 +0000 (11:59 +0900)
committerShashank Shekhar Shukla <shekhar1.s@samsung.com>
Fri, 8 Jul 2016 02:59:32 +0000 (11:59 +0900)
Change-Id: Iaa9649c8e38de6fbd8f03eb405d013c8305a1984
Signed-off-by: Shashank Shekhar Shukla <shekhar1.s@samsung.com>
src/itc/webkit2/ITs-webkit2-context.c
src/itc/webkit2/ITs-webkit2-view.c

index 53c7ed8..19adf8b 100755 (executable)
@@ -140,7 +140,7 @@ static void itc_webkit2_ewk_test_init()
     //evas_object_show(test_view.window);
     itc_webkit2_ewk_test_res_init();
 }
-
+#if defined(MOBILE) // Starts Mobile
 static void iconReceived_Local(void* data, Evas_Object* webview, void* event_info)
 {
     static const int PIXEL_SIZE = 4;
@@ -158,6 +158,7 @@ static void iconReceived_Local(void* data, Evas_Object* webview, void* event_inf
    
     itc_webkit2_main_loop_quit();
 }
+#endif // Ends Mobile
 
 /**
 * @function            Webkit_EFL_LoadError
@@ -528,7 +529,7 @@ int ITc_ewk_context_preferred_languages_set_p(void)
        Webkit_EFLDestroyWebKitView();
        return 0;
 }
-
+#if defined(MOBILE) // Starts MOBILE
 //& purpose: To get image representing the given URL
 //& type: auto
 /**
@@ -629,7 +630,7 @@ int ITc_ewk_context_icon_database_icon_object_add_p(void)
        return 0;
        
 }
-
+#endif // Ends Mobile
 //& purpose: Request for deleting all web application caches.
 //& type: auto
 /**
index eb6c06f..5bbf838 100755 (executable)
@@ -2670,6 +2670,7 @@ int ITc_ewk_view_orientation_send_p(void)
        return 0;
 }
 
+#if defined(MOBILE) // Starts Mobile
 //& purpose: To clear selected text
 //& type: auto
 /**
@@ -2784,6 +2785,8 @@ int ITc_ewk_view_text_selection_text_get_p(void)
        return 0;
 
 }
+#endif
+// Ends MOBILE
 
 //& purpose: To set the current page's visibility
 //& type: auto