#include "bindings/V8NodeIterator.cpp"
#include "bindings/V8NodeList.cpp"
#include "bindings/V8Notation.cpp"
+#if PLATFORM(ANDROID)
+// TODO: Upstream NOTIFICATIONS guard.
+#if ENABLE(NOTIFICATIONS)
#include "bindings/V8Notification.cpp"
#include "bindings/V8NotificationCenter.cpp"
+#endif
+#endif
#include "bindings/V8OverflowEvent.cpp"
#include "bindings/V8PageTransitionEvent.cpp"
#include "bindings/V8Plugin.cpp"
#include "DocumentLoader.h"
#include "FrameLoaderClient.h"
#include "Notification.h"
+#if PLATFORM(ANDROID)
+// TODO: Upstream SVG guard.
+#if ENABLE(SVG)
#include "SVGElementInstance.h"
+#endif
+#endif
#include "ScriptController.h"
#include "V8AbstractEventListener.h"
#include "V8Binding.h"
return 0;
}
+#if PLATFORM(ANDROID)
+#if ENABLE(SVG)
PassRefPtr<EventListener> V8DOMWrapper::getEventListener(SVGElementInstance* element, v8::Local<v8::Value> value, bool isAttribute, ListenerLookupType lookup)
{
return getEventListener(element->correspondingElement(), value, isAttribute, lookup);
}
+#endif
+#endif
PassRefPtr<EventListener> V8DOMWrapper::getEventListener(AbstractWorker* worker, v8::Local<v8::Value> value, bool isAttribute, ListenerLookupType lookup)
{
static PassRefPtr<EventListener> getEventListener(V8Proxy* proxy, v8::Local<v8::Value> value, bool isAttribute, ListenerLookupType lookup);
+#if PLATFORM(ANDROID)
+// TODO: upstream XPATH guard.
+#if ENABLE(XPATH)
// XPath-related utilities
static RefPtr<XPathNSResolver> getXPathNSResolver(v8::Handle<v8::Value> value)
{
resolver = V8CustomXPathNSResolver::create(value->ToObject());
return resolver;
}
+#endif
+#endif
// DOMImplementation is a singleton and it is handled in a special
// way. A wrapper is generated per document and stored in an