X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Source%2FWTF%2Fwtf%2FPlatform.h;h=dd07c103fdaa0019a55c47e6cbac20514366258b;hb=bd348776913930c0837e5638a8bc68ef5ab24419;hp=1223d1f544471e67ffe8927c4656acdd6e8ac582;hpb=b881049b22b53198305fef9c049213ff80f1fc0f;p=framework%2Fweb%2Fwebkit-efl.git diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h old mode 100644 new mode 100755 index 1223d1f..dd07c10 --- a/Source/WTF/wtf/Platform.h +++ b/Source/WTF/wtf/Platform.h @@ -413,6 +413,8 @@ #define ENABLE_TIZEN_INFLATE_NONE_BLUR_SHADOW_AREA 1 /*KyungTae Kim(ktf.kim@samsung.com) : Enlarge the clipping area 1 pixel so that the fill does not bleed (due to antialiasing) if the context is transformed*/ #define ENABLE_TIZEN_NOT_INITIAIZE_BACKGROUND_SIZE_IN_SHORTHAND_WORKAROUND 1 /*KyungTae Kim(ktf.kim@samsung.com) : Do not initialize background-size when the background shorthand doesn't include it(Bug 97761)*/ +#define ENABLE_TIZEN_SET_CARET_HEIGHT_TO_OBJECT_HEIGHT 1 /*KyungTae Kim(ktf.kim@samsung.com) : Set caret height from selection height to object height for fix the case that image and text are in the same line (Bug 116424)*/ +#define ENABLE_TIZEN_POSITIONED_CHILD_RELAYOUT 1 /*KyungTae Kim(ktf.kim@samsung.com) : If posChildNeedsLayout() but !m_positionedObjects, normal layout is needed for updating m_positionedObjects*/ #if USE(FREETYPE) #define ENABLE_TIZEN_FT_EMBOLDEN_FOR_SYNTHETIC_BOLD 1 /*Younghwan Cho(yhwan.cho@samsung.com) : Use freetype's 'embolden' instead of drawing twice for synthetic bold*/ #endif @@ -436,6 +438,7 @@ #define ENABLE_TIZEN_WRT_APP_URI_SCHEME 1 /*Sungman Kim(ssungmai.kim@samsung.com) : WRT app:// scheme support*/ #define ENABLE_TIZEN_SUPPORT_COMPLEX_FONTS_SHAPING 1 /* Hyeonji Kim(hyeonji.kim@samsung.com) : Support complex fonts shaping */ #define ENABLE_TIZEN_FALLBACK_FONTDATA 1 /* Hyeonji Kim(hyeonji.kim@samsung.com) : Add the fallback fontData to FontFallbackList */ +#define ENABLE_TIZEN_COLLECT_HARFBUZZRUN 1 /* Rashmi Shyamasundar(rashmi.s2@samsung.com) Create proper harfBuzzRun for a word which follows a space */ #define ENABLE_TIZEN_CONTEXTSHADOW_BLUR_NEON 0 /* use neon shadowblur function in ContextShadow.cpp */ #define ENABLE_TIZEN_ON_AUTHENTICATION_REQUESTED 1 /* Sungman Kim(ssungmai.kim@samsung.com) : Implement to requested authentication signal handling method */ @@ -446,10 +449,10 @@ #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_PRESERVE_STYLE_WHILE_COPYING 1 /* Grzegorz Czajkowski (g.czajkowski@samsung.com): while copying elements, their style are not being copied. It happens for span tag if it occurs alone. This is cherry-pick from https://bugs.webkit.org/show_bug.cgi?id=112329 which is under review. */ #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_PARAGRAPH_SEPARATOR_FIX 1 /* Michal Pakula (m.pakula@samsung.com) : This is a quick fix for a bug where new paragraph was not created on contenteditable area with image and text nodes inside span tag */ #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 */ +#define ENABLE_TIZEN_PRESERVE_PROPERTIES_WHEN_PARAGRAPH_MERGE 1 /* Grzegorz Czajkowski (g.czajkowski@samsung.com): This is a quick fix for background-color and text-decoration defined in class are not copied when paragraph is merged. We erroneously copy only CSS inheritable properties via removeNonEditingProperties(). */ #if ENABLE(TEXT_AUTOSIZING) #define ENABLE_TIZEN_TEXT_AUTOSIZING 1 /* Jaehun Lim(ljaehun.lim@samsung.com) : for Tizen environment */ @@ -458,11 +461,6 @@ /* Download Patches */ #define ENABLE_TIZEN_DOWNLOAD 1 /* Keunsoon Lee(keunsoon.lee@samsung.com) : */ -/* Geolocation's patches */ -#if ENABLE(GEOLOCATION) -#define ENABLE_TIZEN_GEOLOCATION_TIMEOUT_INCREASE 1 /* Gyuyoung Kim(gyuyoung.kim@samsung.com) : Need to increase timeout time because slp gps's connection needs to wait about 45 sec */ -#endif - /* Plugin Patches */ #define ENABLE_TIZEN_SUPPORT_PLUGINS 1 /* Mariusz Grzegorczyk(mariusz.g@samsung.com) : */ #define ENABLE_TIZEN_PLUGIN_SHOW_MISSING_PLUGIN_STATEMENT_EVEN_IF_PLUGIN_IS_DISABLED_ON_PREFERENCE 1 /* Keunsoon Lee(keunsoon.lee@samsung.com): show "missing plugin" even if preference setting for plugin is disabled. */ @@ -527,13 +525,11 @@ #define ENABLE_TIZEN_PERSISTENT_COOKIES_SQL 1 /* Kwangtae Ko(kwangtae.ko@samsung.com : */ #define ENABLE_TIZEN_PAUSE_NETWORK 1 /* Gyuyoung Kim(gyuyoung.kim@samsung.com) : */ -#define ENABLE_TIZEN_HTTP_REQUEST_HEADER_APPEND 1 /* Kwangtae Ko(kwangtae.ko@samsung.com : Append request headers for accept-charset and x-wap-proxy-cookie */ +#define ENABLE_TIZEN_HTTP_REQUEST_HEADER_APPEND 1 /* Sungman Kim(ssungmai.kim@samsung.com : Append request headers for accept-charset. This is refered to other browser's header information. */ #define ENABLE_TIZEN_EXPONENTIAL_BUFFER_SIZE 1 /* Jie Chen(jie.a.chen@intel.com) */ /* Workaround Patches */ #define ENABLE_TIZEN_PREVENT_INCREMENTAL_IMAGE_RENDERING_WORKAROUND 1 /* Ryuan Choi(ryuan.choi@samsung.com) : */ -/* fix for showing callendar on expedia site when frame flattening enabled */ -#define ENABLE_TIZEN_EXPEDIA_CALENDAR_FIX 1 #define ENABLE_TIZEN_POPUP_FIX 1 /* fix for connection timeout */ #define ENABLE_TIZEN_TIMEOUT_FIX 1 /* Łukasz Ślachciak(l.slachciak@samsung.com) : */ @@ -547,7 +543,6 @@ #define ENABLE_TIZEN_FIX_BUILD_BREAK_GCC 1 /* Sanggyu Lee(sg5.lee@samsung.com) : Fixed a fastMalloc compile error for Thumb2 with GCC */ /* View mode patches */ #define ENABLE_TIZEN_VIEW_MODE 1 /* Who is ownver ? : */ -#define ENABLE_TIZEN_PREVENT_CRASH_VIMEO_SITE 1 /* Jaehun Lim(ljaehun.lim@samsung.com) : Add NULL check to prevent crash in vimeo.com (for i386 or non-flash environment) */ /* Workaround for using the defaut encoding set */ #define ENABLE_TIZEN_FIX_CLIP_PATTERN_RECT 1 /* Kyungjin Kim(gen.kim@samsung.com) : adjust clip rect to the min of pattern and clip for repeatX, repeatY */ #define ENABLE_TIZEN_2D_CANVAS_ZERO_GRADIENT 1 /* Rashmi Shyamasundar (rashmi.s2@samsung.com) : If the gradient size is zero, then the functions fillXXX/strokeXXX should paint nothing */ @@ -641,9 +636,7 @@ com) : Patch to do not adjust cover rect as fixed pixel size*/ #define ENABLE_TIZEN_CACHE_MEMORY_OPTIMIZATION 1 /* Keunyong Lee(ky07.lee@samsung.com) : The Patches that can reduce memory usage */ #endif #define ENABLE_TIZEN_WEBKIT2_NUMBER_TYPE_SUPPORT 1 /* Seonae Kim(sunaeluv.kim@samsung.com) : add number types for switching WK number types */ -#if ENABLE(INSPECTOR) -#define ENABLE_TIZEN_WEBKIT2_REMOTE_WEB_INSPECTOR 1 /* Seokju Kwon(seokju.kwon@samsung.com) : Remote Web Inspector implementation for WK2 */ -#endif +#define ENABLE_TIZEN_WEBKIT2_NOTIFY_SUSPEND_BY_REMOTE_WEB_INSPECTOR 1 /* Bunam Jeon(bunam.jeon@samsung.com) : Notify to UI process that the content has been suspended by inspector */ #define ENABLE_TIZEN_WEBKIT2_VISITED_LINKS 1 /* Jaehun Lim(ljaehun.lim@samsung.com) : workaround patch for coloring visited links. * this patch should be removed after WK2 HistoryClient is implemented. */ @@ -657,6 +650,7 @@ com) : Patch to do not adjust cover rect as fixed pixel size*/ #endif #define ENABLE_TIZEN_WEBKIT2_CONTEXT_MENU_TEXT_SELECTION_MODE 1 /* Yuni Jeong(yhnet.jung@samsung.com) : Patchs to add "Text selection mode" options to context menu */ #define ENABLE_TIZEN_WEBKIT2_CREATE_VIEW_WITH_CREATED_PAGE_GROUP_WITH_IDENTIFIER 1 /* Yuni Jeong(yhnet.jung@samsung.com) : Patchs to create view with created page group with identifier */ +#define ENABLE_TIZEN_WEBKIT2_SAME_PAGE_GROUP_FOR_CREATE_WINDOW_OPERATION 1 /* Jongseok Yang (js45.yang@samsung.com) : The page frome create window operation has same page group as the caller page */ #define ENABLE_TIZEN_WEBKIT2_SEPERATE_LOAD_PROGRESS 1 /* Yuni Jeong(yhnet.jung@samsung.com) : Patchs to seperate load progress callback for supporting OSP requirement - "load,progress,started", "load,progress", "load,progress,finished" */ #define ENABLE_TIZEN_WEBKIT2_CONTEXT_MENU_ICON_TYPE_SUPPORT 1 /* Yuni Jeong(yhnet.jung@samsung.com) : Support icon type's option to context menu */ #define ENABLE_TIZEN_WEBKIT2_LOCAL_IMPLEMENTATION_FOR_ERROR 1 /* Jongseok Yang(js45.yang@samsung.com) : temporary pathes to maintain local implementation for error operation */ @@ -680,6 +674,7 @@ com) : Patch to do not adjust cover rect as fixed pixel size*/ #define ENABLE_TIZEN_WEBKIT2_MEMORY_SAVING_MODE 1 /*Eunsol Park(eunsol47.park@samsung.com) : Used for lower memory usage profiling*/ #define ENABLE_TIZEN_WEBKIT2_CONTEXT_X_WINDOW 1 /* Changhyup Jwa(ch.jwa@samsung.com) : WebProcess cannot access to evas, so it needs to obtain window id to get window's orientation. Default root window has sync issue. */ #define ENABLE_TIZEN_WEBKIT2_FOR_MOVING_TEXT_SELECTION_HANDLE_FROM_OSP 1 /* Yuni Jeong(yhnet.jung@samsung.com) : Patchs for moving text selection handle from OSP */ +#define ENABLE_TIZEN_WEBKIT2_FIX_INVAlID_SCROLL_FOR_NEW_PAGE 1 /* Jongseok Yang (js45.yang@samsung.com) : Patch to fix the invalid scroll position by open source patch */ #endif /* ENABLE(TIZEN_WEBKIT2) */ /* When displaying menu list using menu icon, a additional scrollbar is displayed in the screen center @@ -745,6 +740,9 @@ com) : Patch to do not adjust cover rect as fixed pixel size*/ #define ENABLE_TIZEN_EVAS_GL_DIRECT_RENDERING 1 /* Hyowon Kim(hw1008.kim@samsung.com) */ #if ENABLE(OVERFLOW_SCROLLING) #define ENABLE_TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION 1 /* ChangSeok Oh(midow.oh@samsung.com) : Accelerated CSS overflow:scroll elements */ +#if ENABLE (TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION) +#define ENABLE_TIZEN_CSS_OVERFLOW_SCROLL_FIX_WRONG_CLIPPING 1 /* Younghwan Cho (yhwan.cho@samsung.com) : patch for wrong clipping from 'Bug 91117 - Add support for compositing the contents of overflow:scroll areas', test-code */ +#endif #define ENABLE_TIZEN_INPUT_BOX_SCROLL 1 /* Prathmesh Manurkar(prathmesh.m@samsung.com) : Added for scrolling contents of input box */ #endif #if ENABLE(TIZEN_WEBKIT2) @@ -807,6 +805,12 @@ com) : Patch to do not adjust cover rect as fixed pixel size*/ #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 */ + +#define ENABLE_TIZEN_WEBSOCKET_ADD_CANCELLABLE 1 /* Praveen (praveen.ks@samsung.com) : Add cancellable to input stream and cancel the cancellable when we close the platform */ + +#if ENABLE(WORKERS) +#define ENABLE_TIZEN_WORKERS 1 /* Jihye Kang(jye.kang@samsung.com) : Use allowUniversalAccessFromFileURLs setting for workers */ +#endif #endif /* OS(TIZEN) */ /* ==== OS() - underlying operating system; only to be used for mandated low-level services like