summaryrefslogtreecommitdiffstats
path: root/dom/html
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-04-21 14:58:19 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-21 14:58:19 +0200
commitceb7889c500168f4270378ca22b837f98fce34ac (patch)
treefcfe404323b9dc4a6a738fc48e2ec21a32b7a00a /dom/html
parent37f2b54dc594cfe7dbe7db5edc9b9cf820ff5188 (diff)
downloadUXP-ceb7889c500168f4270378ca22b837f98fce34ac.tar
UXP-ceb7889c500168f4270378ca22b837f98fce34ac.tar.gz
UXP-ceb7889c500168f4270378ca22b837f98fce34ac.tar.lz
UXP-ceb7889c500168f4270378ca22b837f98fce34ac.tar.xz
UXP-ceb7889c500168f4270378ca22b837f98fce34ac.zip
Issue #80 - De-unify dom/html
Diffstat (limited to '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 112d48dd1..7e5e18480 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 861dbfe9f..0e9d4fd2e 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"
#include "nsAttrValueOrString.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 833c3177a..292e470ac 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 342b027a5..1fd5caebc 100644
--- a/dom/html/moz.build
+++ b/dom/html/moz.build
@@ -121,7 +121,7 @@ EXPORTS.mozilla.dom += [
'ValidityState.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'HTMLAllCollection.cpp',
'HTMLAnchorElement.cpp',
'HTMLAreaElement.cpp',
@@ -204,6 +204,7 @@ UNIFIED_SOURCES += [
'nsIConstraintValidation.cpp',
'nsRadioVisitor.cpp',
'nsTextEditorState.cpp',
+ 'PluginDocument.cpp',
'RadioNodeList.cpp',
'TextTrackManager.cpp',
'TimeRanges.cpp',
@@ -211,11 +212,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 f530d75e1..bd9de39f0 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"