Merge "[Release] Webkit2-efl-123997_0.11.39" into tizen_2.1
[framework/web/webkit-efl.git] / Source / WTF / wtf / Platform.h
old mode 100755 (executable)
new mode 100644 (file)
index 79ecee9..538ba03
 #define ENABLE_TIZEN_SYSTEM_FONT 1 /* Ryuan Choi(ryuan.choi@samsung.com) : Bug fix, default width of input field is too big. */
 #define ENABLE_TIZEN_THEME_STYLE_WORKAROUND 1 /* Ryuan Choi(ryuan.choi@samsung.com) : css of input should be flexible. workaround until trunk is upstreamed.*/
 #define ENABLE_TIZEN_VIEWPORT_META_TAG 1 /* Gyuyoung Kim(gyuyoung.kim@samsung.com) : Support viewport meta tag */
-#define ENABLE_TIZEN_YOUTUBE_HD 0 /* Jaehun Lim(ljaehun.lim@samsung.com) : */
 #define ENABLE_TIZEN_CERTIFICATE_HANDLING 1 /* Krzysztof Czech(k.czech@samsung.com) : support for certificate callback function set by UI */ /* DongJae KIM : Enable Patch*/
 #define ENABLE_TIZEN_ELEMENT_CREATED_BY_PARSER_INFO_STORE 1 /* Who is owner ? : support storing info about element's creation: from parser or JS */
 #define ENABLE_TIZEN_DOWNLOAD_LINK_FILTER 1 /* Jaehun Lim(ljaehun.lim@samsung.com) : show download context menus for only http(s) and ftp(s) link */
 #define ENABLE_TIZEN_DAILY_UPVERSIONING 1 /* Krzysztof Czech(k.czech@samsung.com) : Used for fixing building errors while doing daily upversioning, should be deleted before merging to master*/
 
 #define ENABLE_TIZEN_GRAPHICSCONTEXT_COLLECT_REGION 1 /*KyungTae Kim(ktf.kim@samsung.com) : Collect clip regions in GraphicsContext for clipping in endTransparencyLayer */
-#define ENABLE_TIZEN_FONTCACHE_DEPRECATED 0 /* JungJik Lee(jungjik.lee@samsung.com) : Deprecate FontCachePurgePreventer Temporarily*/
 #define ENABLE_TIZEN_SEARCH_FIELD_STYLE 1 /* Jaehun Lim(ljaehun.lim@samsung.com) : making search fields style-able */
 #define ENABLE_TIZEN_RELOAD_CACHE_POLICY_PATCH 1 /*Sungman Kim(ssungmai.kim@samsung.com) : Set cache policy of initialRequest to ReloadIgnoringCacheData from browser reload*/
 #define ENABLE_TIZEN_WEBGL_ANGLE_INTEGRATION 1 /*Shanmuga Pandi (shanmuga.m@samsung.com) : For ANGLE Integration for WEBGL*/
 #define ENABLE_TIZEN_CONSIDER_COOKIE_DISABLED_IF_SOUP_COOKIE_JAR_ACCEPT_NEVER_IS_SET 1 /* Raveendra Karu(r.karu@samsung.com) : Gets cookies enabled/disabled status from browser settings and returns the same to the Navigator Object */
 #define ENABLE_TIZEN_REDIRECTED_LOCATION_IS_NOT_UTF_8 1 /* Raveendra Karu(r.karu@samsung.com) : If redirected url is not utf-8 encoded, String:fromUTF8 (url) returns NULL. This patch is to avoid this problem*/
 #define ENABLE_TIZEN_CLEAR_HTTPBODY_IN_POST_TO_GET_REDIRECTION 1 /* Raveendra Karu(r.karu@samsung.com) : Clear request http body if redirection happens from POST/PUT to GET */
+#define ENABLE_TIZEN_AUTHENTICATION_CHALLENGE_ENABLED_IN_ALL_FRAMES 1 /* Raveendra Karu(r.karu@samsung.com) : Authentication challenge is enabled even if the frame is not a main frame*/
+#define ENABLE_TIZEN_UNIVERSAL_FILE_READ_ACCESS 1 /* Raveendra Karu(r.karu@samsung.com) : Enabling universal file read access for file: type urls */
 #define ENABLE_TIZEN_FIX_SHOULD_AA_LINES_CONDITION 1 /*Younghwan Cho(yhwan.cho@samsung.com) : Add some conditions for AA to draw box-lines */
 #define ENABLE_TIZEN_JPEGIMAGE_DECODING_THREAD 0 /* Keunyong Lee(ky07.lee@samsung.com) : Make new thread for Jpeg image decoding */
 #define ENABLE_TIZEN_CLEAR_MEMORY_CACHE_BUG_FIX 1 /* Keunyong Lee(ky07.lee@samsung.com) : Fix decoded data contolling problem after memory cache clearing */
 #define ENABLE_TIZEN_LAYOUTSTATE_NULL_CHECKING_WORKAROUND 1 /* Jaehun Lim(ljaehun.lim@samsung.com) : Add null checking for LayoutState, LayoutState can be null while push and pop */
 #define ENABLE_TIZEN_DONT_DISPATCH_FAKEMOUSEMOVEEVENT_WHEN_SCROLLING_ON_TOUCH_DEVICES 1 /* Jaehun Lim (ljaehun.lim@samsung.com) : Don't dispatch fake mouse move events on touch devices for fixing hover problem */
 #define ENABLE_TIZEN_LOAD_HTML_STRING_AS_UTF8 1 /* KwangYong Choi (ky0.choi@samsung.com) : Use UTF-8 instead of UTF-16 when the page is loaded by WebPage::loadHTMLString() */
+#define ENABLE_TIZEN_DRAW_SCALED_PATTERN 1 /* Kyungjin Kim(gen.kim@samsung.com) : Scale image prior to draw it's pattern to enhance performance */
+#define ENABLE_TIZEN_PAINT_SELECTION_ANTIALIAS_NONE 1 /* Hyeonji Kim(hyeonji.kim@samsung.com) : Remove the line between the preceding text block and the next text block which are selected */
+#define ENABLE_TIZEN_USE_SETTINGS_FONT 1 /* Hyeonji Kim(hyeonji.kim@samsung.com) : When font-family is "Tizen", use system's setting font as default font-family */
+#define ENABLE_TIZEN_CONTENT_EDITABLE_BACKSPACE 1 /* Wojciech Bielawski(w.bielawski.com) : This is a quick fix for a bug where after pressing backspace image was moved not correctly */
+
+#if ENABLE(TEXT_AUTOSIZING)
+#define ENABLE_TIZEN_TEXT_AUTOSIZING 1 /* Jaehun Lim(ljaehun.lim@samsung.com) : for Tizen environment */
+#endif
 
 /* Download Patches */
 #define ENABLE_TIZEN_DOWNLOAD 1 /* Keunsoon Lee(keunsoon.lee@samsung.com) : */
 #define ENABLE_TIZEN_ALLOW_CERTIFICATE_TRUSTED_URI  1 /*Sungman Kim(ssungmai.kim@samsung.com : Allow the specific uri to continue without certificate error. This is workaround. */
 #endif
 #define ENABLE_TIZEN_RESTARTED_CALLBACK_BUG_FIX 1 /*Sungman Kim(ssungmai.kim@samsung.com) : Resource handle ref count bug fix when restarted callback call*/
+#define ENABLE_TIZEN_SOUP_CACHE_DIRECTORY_SET 1 /*Sungman Kim(ssungmai.kim@samsung.com) : Set the Soup, Cache directory path of SoupDataDirectory*/
 
 #define ENABLE_TIZEN_PERSISTENT_COOKIES_SQL 1 /* Kwangtae Ko(kwangtae.ko@samsung.com : */
 
 #define ENABLE_TIZEN_JPEG_IMAGE_SCALE_DECODING 1 /* Keunyong Lee(ky07.lee@samsung.com) : Scaled decoding Feature for Jpeg Image. Becuase this Feature replace Down Sampling, IMAGE_DECODER_DOWN_SAMPLING should be false when you want to use it. */
 #define ENABLE_TIZEN_REMOVE_DRAWLINE_ANTIALIAS_NONE 1 /* Keunyong Lee(ky07.lee@samsung.com) : Dash/Dot Box border and Text UnderLine display Bug Fix*/
 
-#define ENABLE_TIZEN_DEVICE_ROTATION 1 /* Seonae Kim(sunaeluv.kim@samsung.com) : Manage sensor apis to check device's rotation */
-
 #if ENABLE(TIZEN_WEBKIT2)
 
 #define ENABLE_TIZEN_CONTEXT_MENU_WEBKIT_2 1 /* Gyuyoung Kim(gyuyoung.kim@samsung.com), Eunmi Lee(eunmi15.lee@samsung.com) : Support Context Menu for EFL WebKit2 */
 #define ENABLE_TIZEN_CORRECT_CLIPPING_WITH_INTERMEDIATE_SURFACE 1 /* Hyowon Kim(hw1008.kim@samsung.com) : compute the correct clipping rect when using an intermediate surface */
 #define ENABLE_TIZEN_PREVENT_CRASH_OF_UI_SIDE_ANIMATION 1 /* Hurnjoo Lee(hurnjoo.lee@samsung.com) : Prevent crashes of UI side animation */
 #define ENABLE_TIZEN_WEBKIT2_PRE_RENDERING_WITH_DIRECTIVITY 1 /*JungJik Lee(jungjik.lee@samsung.com : Calculates cover-rect with trajectory vector scalar value to consider directivity. */
-#define ENABLE_TIZEN_CSS_OVERFLOW_CLIPPING_BACKING_STORE 1 /* JungJik Lee(jungjik.lee@samsung.com) : Clipping BackingStore off if parent layer is css overflow hidden */
+#define ENABLE_TIZEN_CSS_OVERFLOW_CLIPPING_BACKING_STORE 0 /* JungJik Lee(jungjik.lee@samsung.com) : Clipping BackingStore off if parent layer is css overflow hidden */
+#define ENABLE_TIZEN_USE_FIXED_SCALE_ANIMATION 1 /* JungJik Lee(jungjik.lee@samsung.com) : use fixed scale if the layer is animating */
 #if ENABLE(TIZEN_RUNTIME_BACKEND_SELECTION)
 #define TIZEN_VIRTUAL virtual
 #else
 #define ENABLE_TIZEN_UV_MAPPING 1 /* Hyowon Kim(hw1008.kim@samsung.com) : UV mapping to use the platform-surface whose width should be multiple of 8 */
 #endif
 #define ENABLE_TIZEN_NOT_USE_TRANSFORM_INFO_WHEN_GETTING_CARET_RECT 1 /* Youngtaeck Song(youngtaeck.song@samsung.com) : Patch to do not use transform infomation when getting caret rect */
+#define ENABLE_TIZEN_PRERENDERING_FOR_ROTATION 1 /* Youngtaeck Song(youngtaeck.song@samsung.com) : Prerender contents so that we display whole image immediately when rotating */
 #endif
 #define ENABLE_TIZEN_WEBKIT2_TILED_AC_DONT_ADJUST_COVER_RECT 1 /* Eunsol Park(eunsol47.park@samsung.
 com) : Patch to do not adjust cover rect as fixed pixel size*/
 #define ENABLE_TIZEN_GSTREAMER_VIDEO 1 /* Kwangyong Choi : Fixed media control display when using gstreamer video */
 #define ENABLE_TIZEN_GSTREAMER_AUDIO 1 /* Keonho Kim : Audio session manager for media element */
 
-#if USE(TILED_BACKING_STORE) && ENABLE(TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE)
-#define ENABLE_TIZEN_RECORDING_SURFACE_SET 0 /* Hyunki Baik(hyunki.baik@samsung.com) : recording surface features for WK2 */
-#if ENABLE(TIZEN_RECORDING_SURFACE_SET)
-#define ENABLE_TIZEN_RECORDING_SURFACE_PAINT_THREAD 0 /* Hyunki Baik(hyunki.baik@samsung.com), Hyeonji Kim(hyeonji.kim@samsung.com) : enable paint thread for parallelization in WK2 */
-#endif
-#else
-#define ENABLE_TIZEN_RECORDING_SURFACE_SET 0 /* Hyunki Baik(hyunki.baik@samsung.com) : recording surface features for WK2 */
-#define ENABLE_TIZEN_RECORDING_SURFACE_PAINT_THREAD 0 /* Hyunki Baik(hyunki.baik@samsung.com), Hyeonji Kim(hyeonji.kim@samsung.com) : enable paint thread for parallelization in WK2 */
-#endif
-
 #define ENABLE_TIZEN_PREFERENCE 1 /* Eunmi Lee(eunmi15.lee@samsung.com) : for slp specific preferences */
 #define ENABLE_TIZEN_LOAD_REMOTE_IMAGES 1 /* Dongjae Kim(dongjae1.kim@samsung.com) : for tizen remode image load setting */
 
@@ -704,6 +703,7 @@ com) : Patch to do not adjust cover rect as fixed pixel size*/
 #if USE(ACCELERATED_COMPOSITING)
 #define ENABLE_TIZEN_ACCELERATED_COMPOSITING 1 /* Hyowon Kim(hw1008.kim@samsung.com) */
 #define ENABLE_TIZEN_FIX_REPAINTING_BUG_OF_COMPOSITED_LAYER 1 /* Hurnjoo Lee(hurnjoo.lee@samsung.com) : Fix a bug of rendering of Accelerated Compositing */
+#define ENABLE_TIZEN_FIX_DEPTH_TEST_BUG_OF_WEBGL 1 /* YongGeol Jung(yg48.jung@samsung.com) : Fix webgl bug related to depth-test */
 #if USE(TEXTURE_MAPPER)
 #define WTF_USE_TIZEN_TEXTURE_MAPPER 1
 #endif
@@ -719,7 +719,10 @@ com) : Patch to do not adjust cover rect as fixed pixel size*/
 #endif
 #endif
 #if ENABLE(TIZEN_CANVAS_CAIRO_GLES_RENDERING)
+#define ENABLE_TIZEN_USE_XPIXMAP_DECODED_IMAGESOURCE 0 /* Byeongha Cho(byeongha.cho@samsung.com) : Use pixmap surface to decode image and share the buffer between CPU and GPU */
+#if !ENABLE(TIZEN_USE_XPIXMAP_DECODED_IMAGESOURCE)
 #define ENABLE_TIZEN_CAIROGLES_IMAGE_CACHE 1
+#endif
 #if ENABLE(TIZEN_CAIROGLES_IMAGE_CACHE)
 #define ENABLE_TIZEN_CAIROGLES_IMAGE_AUTOSCALE 1
 #endif
@@ -755,7 +758,6 @@ com) : Patch to do not adjust cover rect as fixed pixel size*/
 
 #if ENABLE(PAGE_VISIBILITY_API)
 #define ENABLE_TIZEN_PAGE_VISIBILITY_API 1 /* Kihong Kwon(kihong.kwon@samsung.com) : Support the Page Visibility API */
-#define ENABLE_TIZEN_SUSPEND_CSS_ANIMATION_FOR_HIDDEN_PAGE 1
 #endif
 
 #if ENABLE(SPELLCHECKING)
@@ -777,6 +779,7 @@ com) : Patch to do not adjust cover rect as fixed pixel size*/
 #define ENABLE_TIZEN_TEXT_CODEC_MEMORY_REDUCTION 1 /*KyungTae Kim(ktf.kim@samsung.com) : Share Encode & Decode buffer for TextCodecUTF8 for memory reduction */
 #define ENABLE_TIZEN_ADJUST_CONTENTS_SIZE_FOR_MINUS_X_WORKAROUND 1 /*KyungTae Kim(ktf.kim@samsung.com) : Workaround patch that adjusts contents size of minus x position contents */
 #define ENABLE_TIZEN_EWK_CONTEXT_CACHE_MANAGER_NULL_CHECK_WORKAROUND 1 /* KyungTae Kim(ktf.kim@samsung.com) : Add null check to fix crash issue. */
+#define ENABLE_TIZEN_FRAMEVIEW_NULL_CHECK_WORKAROUND 1 /* KyungTae Kim(ktf.kim@samsung.com) : Add null check to fix crash issue. */
 
 #define ENABLE_TIZEN_DO_NOT_APPLY_SCROLLOFFSET_FOR_DELEGATESSCROLLING 1 /* Eunmi Lee(eunmi15.lee@samsung.com) : Fix the wrong position of hitTest result when we do hit test in the subFrame (It should be contributed to the opensource) */
 
@@ -787,6 +790,8 @@ com) : Patch to do not adjust cover rect as fixed pixel size*/
 #define ENABLE_TIZEN_CSP 1 /* Seonae Kim(sunaeluv.kim@samsung.com) : Support CSP to provide EWK API to web applicatoin */
 #define ENABLE_TIZEN_SUPPORT_MHTML 1 /* KwangYong Choi(ky0.choi@samsung.com) : Add support for exporting MHTML data */
 
+#define ENABLE_TIZEN_MHTML_CSS_IMPORT_URL_RELATIVE_TO_PARENT 1 /*Santosh Mahto(santosh.ma@samsung.com) : URL of stylesheet specified in @import should be relative to parent Stylesheet  in page Serializing */
+
 #define ENABLE_TIZEN_OFFLINE_PAGE_SAVE 1 /* Nikhil Bansal (n.bansal@samsung.com) : Tizen feature for offline page save */
 
 #define ENABLE_TIZEN_SIGNAL_APP_BACK_FORWARD_LIST_CHANGED 1 /* Praveen(praveen.ks@samsung.com) : Add API to signal application for change in back forward list */
@@ -794,7 +799,11 @@ com) : Patch to do not adjust cover rect as fixed pixel size*/
 #define ENABLE_TIZEN_FIND_STRING 1 /* Jinwoo Song(jinwoo7.song@samsung.com) : Fix the bug to enable searching the web page which has the 'webkit-user-select: none' CSS property and value. */
 
 #define ENABLE_TIZEN_GET_EXTERNAL_RESOURCES_IN_MHTML_FROM_NETWORK 1 /* Praveen(praveen.ks@samsung.com) : Allow external resources in MHTML file to be fetched from network rather than failing them */
+#define ENABLE_TIZEN_MHTML_CSS_MEDIA_RULE_RESOURCE 1 /* Santosh Mahto(santosh.ma@samsung.com) : Collect the subresource specified in css media rule in mhtml PageSerializing */
+
+#define ENABLE_TIZEN_MAIN_THREAD_SCHEDULE_DISCARD_DUPLICATE_REQUEST 1 /* Jihye Kang(jye.kang@samsung.com) : Fix lockup while doing stress test for filewriter */
 
+#define ENABLE_TIZEN_FULLSCREEN_API 1 /* Jongseok Yang(js45.yang@samsung.com) : Implement the smart function for fullscreen API */
 #endif /* OS(TIZEN) */
 
 /* ==== OS() - underlying operating system; only to be used for mandated low-level services like