Index: Source/WTF/wtf/FeatureDefines.h |
diff --git a/Source/WTF/wtf/FeatureDefines.h b/Source/WTF/wtf/FeatureDefines.h |
index 21f5c582773f834f50acde48c3945f51373ff424..b822569a45c158982f5d9a8a409fce0cd96cdf6c 100644 |
--- a/Source/WTF/wtf/FeatureDefines.h |
+++ b/Source/WTF/wtf/FeatureDefines.h |
@@ -51,197 +51,12 @@ |
/* FIXME: Move out the PLATFORM specific rules into platform specific files. */ |
-/* --------- Apple IOS (but not MAC) port --------- */ |
-/* PLATFORM(IOS) is a specialization of PLATFORM(MAC). */ |
-/* PLATFORM(MAC) is always enabled when PLATFORM(IOS) is enabled. */ |
-#if PLATFORM(IOS) |
- |
-#if !defined(ENABLE_8BIT_TEXTRUN) |
-#define ENABLE_8BIT_TEXTRUN 1 |
-#endif |
- |
-#if !defined(ENABLE_CONTEXT_MENUS) |
-#define ENABLE_CONTEXT_MENUS 0 |
-#endif |
- |
-#if !defined(ENABLE_CSS_IMAGE_SET) |
-#define ENABLE_CSS_IMAGE_SET 1 |
-#endif |
- |
-#if !defined(ENABLE_GEOLOCATION) |
-#define ENABLE_GEOLOCATION 1 |
-#endif |
- |
-#if !defined(ENABLE_ICONDATABASE) |
-#define ENABLE_ICONDATABASE 0 |
-#endif |
- |
-#if !defined(ENABLE_NETSCAPE_PLUGIN_API) |
-#define ENABLE_NETSCAPE_PLUGIN_API 0 |
-#endif |
- |
-#if !defined(ENABLE_ORIENTATION_EVENTS) |
-#define ENABLE_ORIENTATION_EVENTS 1 |
-#endif |
- |
-#if !defined(ENABLE_REPAINT_THROTTLING) |
-#define ENABLE_REPAINT_THROTTLING 1 |
-#endif |
- |
-#if !defined(ENABLE_TEXT_CARET) |
-#define ENABLE_TEXT_CARET 0 |
-#endif |
- |
-#if ENABLE(NOTIFICATIONS) |
-#if !defined(ENABLE_TEXT_NOTIFICATIONS_ONLY) |
-#define ENABLE_TEXT_NOTIFICATIONS_ONLY 1 |
-#endif |
-#endif |
- |
-#if !defined(ENABLE_VIEW_MODE_CSS_MEDIA) |
-#define ENABLE_VIEW_MODE_CSS_MEDIA 0 |
-#endif |
- |
-#if !defined(ENABLE_WEBGL) |
-#define ENABLE_WEBGL 1 |
-#endif |
- |
-#endif /* PLATFORM(IOS) */ |
- |
-/* --------- Apple MAC port (not IOS) --------- */ |
-#if PLATFORM(MAC) && !PLATFORM(IOS) |
- |
-#if !defined(ENABLE_8BIT_TEXTRUN) |
-#define ENABLE_8BIT_TEXTRUN 1 |
-#endif |
- |
-#if !defined(ENABLE_CSS_IMAGE_SET) |
-#define ENABLE_CSS_IMAGE_SET 1 |
-#endif |
- |
-#if !defined(ENABLE_DELETION_UI) |
-#define ENABLE_DELETION_UI 1 |
-#endif |
- |
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 |
-#if !defined(ENABLE_ENCRYPTED_MEDIA) |
-#define ENABLE_ENCRYPTED_MEDIA 1 |
-#endif |
-#if !defined(ENABLE_ENCRYPTED_MEDIA_V2) |
-#define ENABLE_ENCRYPTED_MEDIA_V2 1 |
-#endif |
-#endif |
- |
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 |
-#if !defined(ENABLE_GESTURE_EVENTS) |
-#define ENABLE_GESTURE_EVENTS 1 |
-#endif |
-#endif |
- |
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 |
-#if !defined(ENABLE_RUBBER_BANDING) |
-#define ENABLE_RUBBER_BANDING 1 |
-#endif |
-#endif |
- |
-#if !defined(ENABLE_SMOOTH_SCROLLING) |
-#define ENABLE_SMOOTH_SCROLLING 1 |
-#endif |
- |
-#if ENABLE(NOTIFICATIONS) |
-#if !defined(ENABLE_TEXT_NOTIFICATIONS_ONLY) |
-#define ENABLE_TEXT_NOTIFICATIONS_ONLY 1 |
-#endif |
-#endif |
- |
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 |
-#if !defined(ENABLE_THREADED_SCROLLING) |
-#define ENABLE_THREADED_SCROLLING 1 |
-#endif |
-#endif |
- |
-#if ENABLE(VIDEO) |
-#if !defined(ENABLE_VIDEO_TRACK) |
-#define ENABLE_VIDEO_TRACK 1 |
-#endif |
-#endif |
- |
-#if !defined(ENABLE_VIEW_MODE_CSS_MEDIA) |
-#define ENABLE_VIEW_MODE_CSS_MEDIA 0 |
-#endif |
- |
-#if !defined(ENABLE_WEB_AUDIO) |
-#define ENABLE_WEB_AUDIO 1 |
-#endif |
- |
-#if !defined(ENABLE_CURSOR_VISIBILITY) |
-#define ENABLE_CURSOR_VISIBILITY 1 |
-#endif |
- |
-#endif /* PLATFORM(MAC) && !PLATFORM(IOS) */ |
- |
-/* --------- Apple Windows port --------- */ |
-#if PLATFORM(WIN) && !OS(WINCE) |
- |
-#endif /* PLATFORM(WIN) && !OS(WINCE) */ |
- |
-/* --------- WinCE port --------- */ |
-/* WinCE port is a specialization of PLATFORM(WIN). */ |
-/* PLATFORM(WIN) is always enabled when building for the WinCE port. */ |
-#if PLATFORM(WIN) && OS(WINCE) |
- |
-#if !defined(ENABLE_FTPDIR) |
-#define ENABLE_FTPDIR 0 |
-#endif |
- |
-#if !defined(ENABLE_INSPECTOR) |
-#define ENABLE_INSPECTOR 0 |
-#endif |
- |
-#endif /* PLATFORM(WIN) && OS(WINCE) */ |
- |
-/* --------- WX port (Mac OS and Windows) --------- */ |
-#if PLATFORM(WX) |
- |
#if OS(UNIX) |
#if !defined(ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH) |
#define ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH 1 |
#endif |
#endif |
-#endif /* PLATFORM(WX) */ |
- |
-/* --------- Gtk port (Unix, Windows, Mac) --------- */ |
-#if PLATFORM(GTK) |
- |
-#if OS(UNIX) |
-#if !defined(ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH) |
-#define ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH 1 |
-#endif |
-#endif |
- |
-#endif /* PLATFORM(GTK) */ |
- |
-/* --------- Qt port (Unix, Windows, Mac, WinCE) --------- */ |
-#if PLATFORM(QT) |
- |
-#if OS(UNIX) |
-#if !defined(ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH) |
-#define ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH 1 |
-#endif |
-#endif |
- |
-#endif /* PLATFORM(QT) */ |
- |
-/* --------- Blackberry port (QNX) --------- */ |
-#if PLATFORM(BLACKBERRY) |
- |
-#if !defined(ENABLE_BLACKBERRY_CREDENTIAL_PERSIST) |
-#define ENABLE_BLACKBERRY_CREDENTIAL_PERSIST 1 |
-#endif |
- |
-#endif /* PLATFORM(BLACKBERRY) */ |
- |
/* ENABLE macro defaults for WebCore */ |
/* Do not use PLATFORM() tests in this section ! */ |