| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2007-2009 Torch Mobile, Inc. | 3 * Copyright (C) 2007-2009 Torch Mobile, Inc. |
| 4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. | 4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. |
| 5 * Copyright (C) 2013 Samsung Electronics. All rights reserved. | 5 * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 #define ENABLE_WEB_AUDIO 1 | 190 #define ENABLE_WEB_AUDIO 1 |
| 191 #endif | 191 #endif |
| 192 | 192 |
| 193 #if !defined(ENABLE_CURSOR_VISIBILITY) | 193 #if !defined(ENABLE_CURSOR_VISIBILITY) |
| 194 #define ENABLE_CURSOR_VISIBILITY 1 | 194 #define ENABLE_CURSOR_VISIBILITY 1 |
| 195 #endif | 195 #endif |
| 196 | 196 |
| 197 #endif /* PLATFORM(MAC) && !PLATFORM(IOS) */ | 197 #endif /* PLATFORM(MAC) && !PLATFORM(IOS) */ |
| 198 | 198 |
| 199 /* --------- Apple Windows port --------- */ | 199 /* --------- Apple Windows port --------- */ |
| 200 #if PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(WIN_CAIRO) | 200 #if PLATFORM(WIN) && !OS(WINCE) |
| 201 | 201 |
| 202 #if !defined(ENABLE_FULLSCREEN_API) | 202 #if !defined(ENABLE_FULLSCREEN_API) |
| 203 #define ENABLE_FULLSCREEN_API 1 | 203 #define ENABLE_FULLSCREEN_API 1 |
| 204 #endif | 204 #endif |
| 205 | 205 |
| 206 #if !defined(ENABLE_WEB_ARCHIVE) | 206 #if !defined(ENABLE_WEB_ARCHIVE) |
| 207 #define ENABLE_WEB_ARCHIVE 1 | 207 #define ENABLE_WEB_ARCHIVE 1 |
| 208 #endif | 208 #endif |
| 209 | 209 |
| 210 #endif /* PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(WIN_CAIRO) */ | 210 #endif /* PLATFORM(WIN) && !OS(WINCE) */ |
| 211 | 211 |
| 212 /* --------- WinCE port --------- */ | 212 /* --------- WinCE port --------- */ |
| 213 /* WinCE port is a specialization of PLATFORM(WIN). */ | 213 /* WinCE port is a specialization of PLATFORM(WIN). */ |
| 214 /* PLATFORM(WIN) is always enabled when building for the WinCE port. */ | 214 /* PLATFORM(WIN) is always enabled when building for the WinCE port. */ |
| 215 #if PLATFORM(WIN) && OS(WINCE) | 215 #if PLATFORM(WIN) && OS(WINCE) |
| 216 | 216 |
| 217 #if !defined(ENABLE_DRAG_SUPPORT) | 217 #if !defined(ENABLE_DRAG_SUPPORT) |
| 218 #define ENABLE_DRAG_SUPPORT 0 | 218 #define ENABLE_DRAG_SUPPORT 0 |
| 219 #endif | 219 #endif |
| 220 | 220 |
| 221 #if !defined(ENABLE_FTPDIR) | 221 #if !defined(ENABLE_FTPDIR) |
| 222 #define ENABLE_FTPDIR 0 | 222 #define ENABLE_FTPDIR 0 |
| 223 #endif | 223 #endif |
| 224 | 224 |
| 225 #if !defined(ENABLE_INSPECTOR) | 225 #if !defined(ENABLE_INSPECTOR) |
| 226 #define ENABLE_INSPECTOR 0 | 226 #define ENABLE_INSPECTOR 0 |
| 227 #endif | 227 #endif |
| 228 | 228 |
| 229 #endif /* PLATFORM(WIN) && OS(WINCE) */ | 229 #endif /* PLATFORM(WIN) && OS(WINCE) */ |
| 230 | 230 |
| 231 /* --------- Windows CAIRO port --------- */ | |
| 232 /* PLATFORM(WIN_CAIRO) is a specialization of PLATFORM(WIN). */ | |
| 233 /* PLATFORM(WIN) is always enabled when PLATFORM(WIN_CAIRO) is enabled. */ | |
| 234 #if PLATFORM(WIN_CAIRO) | |
| 235 | |
| 236 #if !defined(ENABLE_WEB_ARCHIVE) | |
| 237 #define ENABLE_WEB_ARCHIVE 1 | |
| 238 #endif | |
| 239 | |
| 240 #endif /* PLATFORM(WIN_CAIRO) */ | |
| 241 | |
| 242 /* --------- WX port (Mac OS and Windows) --------- */ | 231 /* --------- WX port (Mac OS and Windows) --------- */ |
| 243 #if PLATFORM(WX) | 232 #if PLATFORM(WX) |
| 244 | 233 |
| 245 #if OS(DARWIN) | 234 #if OS(DARWIN) |
| 246 #if !defined(ENABLE_WEB_ARCHIVE) | 235 #if !defined(ENABLE_WEB_ARCHIVE) |
| 247 #define ENABLE_WEB_ARCHIVE 1 | 236 #define ENABLE_WEB_ARCHIVE 1 |
| 248 #endif | 237 #endif |
| 249 #endif | 238 #endif |
| 250 | 239 |
| 251 #if OS(UNIX) | 240 #if OS(UNIX) |
| (...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 | 860 |
| 872 #if ENABLE(SVG_FONTS) && !ENABLE(SVG) | 861 #if ENABLE(SVG_FONTS) && !ENABLE(SVG) |
| 873 #error "ENABLE(SVG_FONTS) requires ENABLE(SVG)" | 862 #error "ENABLE(SVG_FONTS) requires ENABLE(SVG)" |
| 874 #endif | 863 #endif |
| 875 | 864 |
| 876 #if ENABLE(VIDEO_TRACK) && !ENABLE(VIDEO) | 865 #if ENABLE(VIDEO_TRACK) && !ENABLE(VIDEO) |
| 877 #error "ENABLE(VIDEO_TRACK) requires ENABLE(VIDEO)" | 866 #error "ENABLE(VIDEO_TRACK) requires ENABLE(VIDEO)" |
| 878 #endif | 867 #endif |
| 879 | 868 |
| 880 #endif /* WTF_FeatureDefines_h */ | 869 #endif /* WTF_FeatureDefines_h */ |
| OLD | NEW |