summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-04-21 14:58:19 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-24 10:37:08 +0200
commit691878e20f7080340642784e3009a52e71f003bc (patch)
tree6ca361de111b1ce9566df59ac3ffc352e6a6bfbb
parentbf1fa93b9174c7acbc983c1f6bcb4048f5f2ee4a (diff)
downloadUXP-691878e20f7080340642784e3009a52e71f003bc.tar
UXP-691878e20f7080340642784e3009a52e71f003bc.tar.gz
UXP-691878e20f7080340642784e3009a52e71f003bc.tar.lz
UXP-691878e20f7080340642784e3009a52e71f003bc.tar.xz
UXP-691878e20f7080340642784e3009a52e71f003bc.zip
Issue #80 - De-unify dom/html
-rw-r--r--dom/html/HTMLBodyElement.cpp1
-rw-r--r--dom/html/HTMLFrameSetElement.cpp1
-rw-r--r--dom/html/HTMLLabelElement.cpp1
-rw-r--r--dom/html/HTMLMetaElement.cpp1
-rw-r--r--dom/html/ValidityState.h1
-rw-r--r--dom/html/moz.build8
-rw-r--r--dom/html/nsBrowserElement.cpp2
-rw-r--r--dom/html/nsHTMLDocument.cpp1
-rw-r--r--dom/html/nsIConstraintValidation.cpp2
9 files changed, 12 insertions, 6 deletions
diff --git a/dom/html/HTMLBodyElement.cpp b/dom/html/HTMLBodyElement.cpp
index 6230cb6ca..ee1bced02 100644
--- a/dom/html/HTMLBodyElement.cpp
+++ b/dom/html/HTMLBodyElement.cpp
@@ -7,6 +7,7 @@
#include "HTMLBodyElement.h"
#include "mozilla/dom/HTMLBodyElementBinding.h"
#include "nsAttrValueInlines.h"
+#include "nsContentUtils.h"
#include "nsGkAtoms.h"
#include "nsStyleConsts.h"
#include "nsPresContext.h"
diff --git a/dom/html/HTMLFrameSetElement.cpp b/dom/html/HTMLFrameSetElement.cpp
index 6d39caa19..5d49cd78e 100644
--- a/dom/html/HTMLFrameSetElement.cpp
+++ b/dom/html/HTMLFrameSetElement.cpp
@@ -7,6 +7,7 @@
#include "HTMLFrameSetElement.h"
#include "mozilla/dom/HTMLFrameSetElementBinding.h"
#include "mozilla/dom/EventHandlerBinding.h"
+#include "nsContentUtils.h"
#include "nsGlobalWindow.h"
#include "mozilla/UniquePtrExtensions.h"
diff --git a/dom/html/HTMLLabelElement.cpp b/dom/html/HTMLLabelElement.cpp
index d1c037336..ec36c8b99 100644
--- a/dom/html/HTMLLabelElement.cpp
+++ b/dom/html/HTMLLabelElement.cpp
@@ -8,6 +8,7 @@
* Implementation of HTML <label> elements.
*/
#include "HTMLLabelElement.h"
+#include "HTMLFormElement.h"
#include "mozilla/EventDispatcher.h"
#include "mozilla/MouseEvents.h"
#include "mozilla/dom/HTMLLabelElementBinding.h"
diff --git a/dom/html/HTMLMetaElement.cpp b/dom/html/HTMLMetaElement.cpp
index 47effa2bc..de7dc184c 100644
--- a/dom/html/HTMLMetaElement.cpp
+++ b/dom/html/HTMLMetaElement.cpp
@@ -11,6 +11,7 @@
#include "nsContentUtils.h"
#include "nsStyleConsts.h"
#include "nsIContentSecurityPolicy.h"
+#include "nsIDOMDocument.h"
NS_IMPL_NS_NEW_HTML_ELEMENT(Meta)
diff --git a/dom/html/ValidityState.h b/dom/html/ValidityState.h
index 4dbb94aad..adbd86c1d 100644
--- a/dom/html/ValidityState.h
+++ b/dom/html/ValidityState.h
@@ -11,6 +11,7 @@
#include "nsIConstraintValidation.h"
#include "nsWrapperCache.h"
#include "js/TypeDecls.h"
+#include "nsCOMPtr.h"
namespace mozilla {
namespace dom {
diff --git a/dom/html/moz.build b/dom/html/moz.build
index c86c169b5..82d6e07b3 100644
--- a/dom/html/moz.build
+++ b/dom/html/moz.build
@@ -122,7 +122,7 @@ EXPORTS.mozilla.dom += [
'ValidityState.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'HTMLAllCollection.cpp',
'HTMLAnchorElement.cpp',
'HTMLAreaElement.cpp',
@@ -206,6 +206,7 @@ UNIFIED_SOURCES += [
'nsIConstraintValidation.cpp',
'nsRadioVisitor.cpp',
'nsTextEditorState.cpp',
+ 'PluginDocument.cpp',
'RadioNodeList.cpp',
'TextTrackManager.cpp',
'TimeRanges.cpp',
@@ -213,11 +214,6 @@ UNIFIED_SOURCES += [
'VideoDocument.cpp',
]
-SOURCES += [
- # Includes npapi.h.
- 'PluginDocument.cpp',
-]
-
EXTRA_COMPONENTS += [
'htmlMenuBuilder.js',
'htmlMenuBuilder.manifest'
diff --git a/dom/html/nsBrowserElement.cpp b/dom/html/nsBrowserElement.cpp
index 858d1c7cb..1c2f00c15 100644
--- a/dom/html/nsBrowserElement.cpp
+++ b/dom/html/nsBrowserElement.cpp
@@ -18,8 +18,10 @@
#include "mozIApplication.h"
#include "nsComponentManagerUtils.h"
+#include "nsContentUtils.h"
#include "nsFrameLoader.h"
#include "nsIAppsService.h"
+#include "nsIDOMDocument.h"
#include "nsIDOMDOMRequest.h"
#include "nsIDOMElement.h"
#include "nsIMozBrowserFrame.h"
diff --git a/dom/html/nsHTMLDocument.cpp b/dom/html/nsHTMLDocument.cpp
index 0f2d90673..fc5268acc 100644
--- a/dom/html/nsHTMLDocument.cpp
+++ b/dom/html/nsHTMLDocument.cpp
@@ -28,6 +28,7 @@
#include "nsIDOMElement.h"
#include "nsPIDOMWindow.h"
#include "nsDOMString.h"
+#include "nsIProtocolHandler.h"
#include "nsIStreamListener.h"
#include "nsIURI.h"
#include "nsIIOService.h"
diff --git a/dom/html/nsIConstraintValidation.cpp b/dom/html/nsIConstraintValidation.cpp
index 00f34df67..db69cba07 100644
--- a/dom/html/nsIConstraintValidation.cpp
+++ b/dom/html/nsIConstraintValidation.cpp
@@ -13,6 +13,8 @@
#include "mozilla/dom/HTMLInputElement.h"
#include "mozilla/dom/ValidityState.h"
#include "nsIFormControl.h"
+#include "nsIMutableArray.h"
+#include "nsISimpleEnumerator.h"
#include "nsContentUtils.h"
#include "nsIFormSubmitObserver.h"