diff options
Diffstat (limited to 'JavaScriptCore/wtf/Platform.h')
-rw-r--r-- | JavaScriptCore/wtf/Platform.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/JavaScriptCore/wtf/Platform.h b/JavaScriptCore/wtf/Platform.h index 221cda6..4143996 100644 --- a/JavaScriptCore/wtf/Platform.h +++ b/JavaScriptCore/wtf/Platform.h @@ -530,6 +530,9 @@ #if PLATFORM(MAC) && !PLATFORM(IOS) #define WTF_PLATFORM_CI 1 #endif +#if PLATFORM(MAC) || PLATFORM(IOS) || (PLATFORM(WIN) && PLATFORM(CG)) +#define WTF_PLATFORM_CA 1 +#endif /* PLATFORM(SKIA) for Win/Linux, CG/CI for Mac */ #if PLATFORM(CHROMIUM) @@ -610,6 +613,10 @@ #define ENABLE_SMOOTH_SCROLLING 1 #endif /* PLATFORM(MAC) && !PLATFORM(IOS) */ +#if PLATFORM(ANDROID) +#define ENABLE_FULLSCREEN_API 1 +#endif + #if PLATFORM(MAC) #define WTF_USE_CARBON_SECURE_INPUT_MODE 1 #endif @@ -819,13 +826,6 @@ #endif -#if HAVE(MMAP) || (HAVE(VIRTUALALLOC) && HAVE(ALIGNED_MALLOC)) -#define HAVE_PAGE_ALLOCATE_ALIGNED 1 -#endif -#if HAVE(MMAP) -#define HAVE_PAGE_ALLOCATE_AT 1 -#endif - /* ENABLE macro defaults */ #if PLATFORM(QT) @@ -1120,6 +1120,10 @@ #define WTF_USE_PLATFORM_STRATEGIES 1 #endif +#if PLATFORM(WIN) +#define WTF_USE_CROSS_PLATFORM_CONTEXT_MENUS 1 +#endif + /* Geolocation request policy. pre-emptive policy is to acquire user permission before acquiring location. Client based implementations will have option to choose between pre-emptive and nonpre-emptive permission policy. pre-emptive permission policy is enabled by default for all client-based implementations. */ |