summaryrefslogtreecommitdiffstats
path: root/WebCore/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/config.h')
-rw-r--r--WebCore/config.h31
1 files changed, 26 insertions, 5 deletions
diff --git a/WebCore/config.h b/WebCore/config.h
index 1fb55eb..8a4cf56 100644
--- a/WebCore/config.h
+++ b/WebCore/config.h
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2004, 2005, 2006 Apple Inc.
- *
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
@@ -76,23 +76,36 @@
#define WTF_USE_JAVASCRIPTCORE_BINDINGS 1
#define WTF_USE_NPOBJECT 1
#endif
-#define WTF_USE_LOW_BANDWIDTH_DISPLAY 1
#define LOG_DISABLED 1
#include <wtf/Assertions.h>
// center place to handle which option feature ANDROID will enable
#undef ENABLE_DATABASE
-#define ENABLE_DATABASE 0
+#define ENABLE_DATABASE 1
#undef ENABLE_FTPDIR
#define ENABLE_FTPDIR 0
+#ifndef ENABLE_SVG
#define ENABLE_SVG 0
-#define ENABLE_SVG_EXPERIMENTAL_FEATURES 0
+#endif
+#if ENABLE_SVG
+#if !defined(ENABLE_SVG_ANIMATION)
+#define ENABLE_SVG_ANIMATION 0 // to enable:
+ // fix error: no matching function for call to 'sort(WebCore::SVGSMILElement**, WebCore::SVGSMILElement**, WebCore::PriorityCompare)'
+ // fix error: no matching function for call to 'sort(WebCore::SMILTime*, WebCore::SMILTime*)'
+ // add ENABLE_SVG_ANIMATION=1 to SVG_FLAGS in JavaScriptCore.derived.mk
+#endif
+#define ENABLE_SVG_AS_IMAGE 1
+#define ENABLE_SVG_FILTERS 1
+#define ENABLE_SVG_FONTS 1
+#define ENABLE_SVG_FOREIGN_OBJECT 1
+#define ENABLE_SVG_USE 1
+#endif
#define ENABLE_XBL 0
#define ENABLE_XPATH 0
#define ENABLE_XSLT 0
#define ENABLE_VIDEO 0
#undef ENABLE_ARCHIVE
#define ENABLE_ARCHIVE 0 // ANDROID addition: allow web archive to be disabled
-#define ENABLE_OFFLINE_WEB_APPLICATIONS 0
+#define ENABLE_OFFLINE_WEB_APPLICATIONS 1
#define ENABLE_TOUCH_EVENTS 1
#endif
@@ -129,6 +142,7 @@
#endif
#if PLATFORM(MAC)
+// ATSUI vs. CoreText
#if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD)
#define WTF_USE_ATSUI 0
#define WTF_USE_CORE_TEXT 1
@@ -136,8 +150,15 @@
#define WTF_USE_ATSUI 1
#define WTF_USE_CORE_TEXT 0
#endif
+
+// New theme
#define WTF_USE_NEW_THEME 1
+
+// Accelerated compositing
+#if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD)
+#define WTF_USE_ACCELERATED_COMPOSITING 0
#endif
+#endif // PLATFORM(MAC)
#if PLATFORM(SYMBIAN)
#undef WIN32