[Title] Add empty API to RSA for applying Background diskcache to WRT.
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
Change-Id: I17292619991e02bfc4d7edde33f2d0b093e05ee6
#define ENABLE_TIZEN_CHECK_DID_PERFORM_FIRST_NAVIGATION 1 /* Sungman Kim(ssungmai.kim@samsung.com) : To skip sendSync message from WebProcess to UIProcess, doesn't use itemAtIndex() on BackForwardController */
#define ENABLE_TIZEN_CSS_FILTER_OPTIMIZATION 1 /* Hurnjoo Lee(hurnjoo.lee@samsung.com : Optimize performance of css filters */
+#define ENABLE_TIZEN_BACKGROUND_DISK_CACHE 1 /* Byeongha.cho(byeongha.cho@samsung.com), Sungman Kim(ssungmai.kim@samsung.com) : Cache encoded image data to disk on background state. */
+
#if ENABLE(NOTIFICATIONS)
#define ENABLE_TIZEN_NOTIFICATIONS 1 /* Kihong Kwon(kihong.kwon@samsung.com) : Temp patch for notification score in the html5test.com */
#endif
}
#endif
+#if ENABLE(TIZEN_BACKGROUND_DISK_CACHE)
+Eina_Bool ewk_view_foreground_set(Evas_Object* ewkView, Eina_Bool enable)
+{
+ return true;
+}
+#endif
+
Evas_Object* ewk_view_screenshot_contents_get(const Evas_Object* ewkView, Eina_Rectangle viewArea, float scaleFactor, Evas* canvas)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(canvas, 0);
EAPI Eina_Bool ewk_view_visibility_set(Evas_Object* o, Eina_Bool enable);
//#endif
+//#if ENABLE(TIZEN_BACKGROUND_DISK_CACHE)
+/**
+ * Notify the foreground/background status of app.
+ *
+ * @param o view object that is in given status.
+ * @param enable EINA_TRUE to notify that page is foreground, EINA_FALSE otherwise.
+ *
+ * @return @c EINA_TRUE on successful request, @c EINA_FALSE on errors
+ */
+EAPI Eina_Bool ewk_view_foreground_set(Evas_Object* o, Eina_Bool enable);
+//#endif
+
/**
* Returns the evas image object of the specified viewArea of page
*