summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/DOMObjectsInclude.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/DOMObjectsInclude.h')
-rw-r--r--WebCore/bindings/v8/DOMObjectsInclude.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/WebCore/bindings/v8/DOMObjectsInclude.h b/WebCore/bindings/v8/DOMObjectsInclude.h
index fe04518..ec5c466 100644
--- a/WebCore/bindings/v8/DOMObjectsInclude.h
+++ b/WebCore/bindings/v8/DOMObjectsInclude.h
@@ -105,7 +105,6 @@
#include "HTMLSelectElement.h"
#include "HTMLOptionsCollection.h"
#include "ImageData.h"
-#include "InspectorBackend.h"
#include "KeyboardEvent.h"
#include "Location.h"
#include "Media.h"
@@ -233,11 +232,14 @@
#include "V8SVGPODTypeWrapper.h"
#endif // SVG
-#if ENABLE(TOUCH_EVENTS) // Android
+#if PLATFORM(ANDROID)
+// TODO: Upstream TOUCH_EVENTS guard.
+#if ENABLE(TOUCH_EVENTS)
#include "Touch.h"
#include "TouchList.h"
#include "TouchEvent.h"
#endif
+#endif
#if ENABLE(WEB_SOCKETS)
#include "WebSocket.h"
@@ -260,6 +262,13 @@
#include "XPathEvaluator.h"
#endif // XPATH
+#if PLATFORM(ANDROID)
+// TODO: Upstream INSPECTOR guard.
+#if ENABLE(INSPECTOR)
+#include "InspectorBackend.h"
+#endif // INSPECTOR
+#endif
+
namespace WebCore {
// A helper class for undetectable document.all