summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/V8Index.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/V8Index.h')
-rw-r--r--WebCore/bindings/v8/V8Index.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/WebCore/bindings/v8/V8Index.h b/WebCore/bindings/v8/V8Index.h
index 097197e..6255079 100644
--- a/WebCore/bindings/v8/V8Index.h
+++ b/WebCore/bindings/v8/V8Index.h
@@ -463,6 +463,8 @@ typedef v8::Persistent<v8::FunctionTemplate> (*FunctionTemplateFactory)();
#define DOM_OBJECT_3D_CANVAS_TYPES(V)
#endif
+#if PLATFORM(ANDROID)
+// TODO: Upstream these guards.
#if ENABLE(TOUCH_EVENTS)
#define DOM_OBJECT_TOUCH_EVENT_TYPES(V) \
V(TOUCHLIST, TouchList) \
@@ -500,12 +502,13 @@ typedef v8::Persistent<v8::FunctionTemplate> (*FunctionTemplateFactory)();
#define DOM_OBJECT_GEOLOCATION_TYPES(V)
#endif
-#if !PLATFORM(ANDROID)
+#if ENABLE(INSPECTOR)
#define DOM_OBJECT_INSPECTOR_TYPES(V) \
V(INSPECTORBACKEND, InspectorBackend)
#else
#define DOM_OBJECT_INSPECTOR_TYPES(V)
#endif
+#endif
#if PLATFORM(ANDROID)
#define DOM_OBJECT_VOIDCALLBACK_TYPES(V) \