Bug 1418085 part 6. Remove nsIDOMHTMLElement. r=mystor

MozReview-Commit-ID: 5QUyFeAQYZQ
This commit is contained in:
Boris Zbarsky 2018-01-30 00:25:36 -05:00
Родитель 5aa0298e34
Коммит 7c392f077e
31 изменённых файлов: 6 добавлений и 59 удалений

Просмотреть файл

@ -40,7 +40,6 @@
#include "nsIDOMHTMLInputElement.h" #include "nsIDOMHTMLInputElement.h"
#include "nsIImageLoadingContent.h" #include "nsIImageLoadingContent.h"
#include "nsIWebNavigation.h" #include "nsIWebNavigation.h"
#include "nsIDOMHTMLElement.h"
#include "nsIPresShell.h" #include "nsIPresShell.h"
#include "nsIStringBundle.h" #include "nsIStringBundle.h"
#include "nsPIDOMWindow.h" #include "nsPIDOMWindow.h"

Просмотреть файл

@ -11,7 +11,6 @@
#include "ChildIterator.h" #include "ChildIterator.h"
#include "nsContentUtils.h" #include "nsContentUtils.h"
#include "nsDOMClassInfoID.h" #include "nsDOMClassInfoID.h"
#include "nsIDOMHTMLElement.h"
#include "nsIStyleSheetLinkingElement.h" #include "nsIStyleSheetLinkingElement.h"
#include "mozilla/dom/Element.h" #include "mozilla/dom/Element.h"
#include "mozilla/dom/HTMLSlotElement.h" #include "mozilla/dom/HTMLSlotElement.h"

Просмотреть файл

@ -133,7 +133,6 @@
#include "nsIDOMDocumentType.h" #include "nsIDOMDocumentType.h"
#include "nsIDOMEvent.h" #include "nsIDOMEvent.h"
#include "nsIDOMElement.h" #include "nsIDOMElement.h"
#include "nsIDOMHTMLElement.h"
#include "nsIDOMHTMLFormElement.h" #include "nsIDOMHTMLFormElement.h"
#include "nsIDOMHTMLInputElement.h" #include "nsIDOMHTMLInputElement.h"
#include "nsIDOMNode.h" #include "nsIDOMNode.h"

Просмотреть файл

@ -40,7 +40,6 @@
#include "nsIFormControl.h" #include "nsIFormControl.h"
#include "nsIComboboxControlFrame.h" #include "nsIComboboxControlFrame.h"
#include "nsIScrollableFrame.h" #include "nsIScrollableFrame.h"
#include "nsIDOMHTMLElement.h"
#include "nsIDOMXULControlElement.h" #include "nsIDOMXULControlElement.h"
#include "nsNameSpaceManager.h" #include "nsNameSpaceManager.h"
#include "nsIBaseWindow.h" #include "nsIBaseWindow.h"

Просмотреть файл

@ -8,7 +8,6 @@
#define mozilla_dom_HTMLDataElement_h #define mozilla_dom_HTMLDataElement_h
#include "mozilla/Attributes.h" #include "mozilla/Attributes.h"
#include "nsIDOMHTMLElement.h"
#include "nsGenericHTMLElement.h" #include "nsGenericHTMLElement.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"

Просмотреть файл

@ -28,9 +28,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(HTMLMapElement,
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mAreas) NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mAreas)
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
NS_IMPL_ISUPPORTS_CYCLE_COLLECTION_INHERITED(HTMLMapElement, NS_IMPL_ISUPPORTS_CYCLE_COLLECTION_INHERITED_0(HTMLMapElement,
nsGenericHTMLElement, nsGenericHTMLElement)
nsIDOMHTMLElement)
NS_IMPL_ELEMENT_CLONE(HTMLMapElement) NS_IMPL_ELEMENT_CLONE(HTMLMapElement)

Просмотреть файл

@ -7,7 +7,6 @@
#ifndef mozilla_dom_HTMLSlotElement_h #ifndef mozilla_dom_HTMLSlotElement_h
#define mozilla_dom_HTMLSlotElement_h #define mozilla_dom_HTMLSlotElement_h
#include "nsIDOMHTMLElement.h"
#include "nsGenericHTMLElement.h" #include "nsGenericHTMLElement.h"
#include "nsTArray.h" #include "nsTArray.h"
@ -78,4 +77,4 @@ protected:
} // namespace dom } // namespace dom
} // namespace mozilla } // namespace mozilla
#endif // mozilla_dom_HTMLSlotElement_h #endif // mozilla_dom_HTMLSlotElement_h

Просмотреть файл

@ -8,7 +8,6 @@
#define mozilla_dom_HTMLSpanElement_h #define mozilla_dom_HTMLSpanElement_h
#include "mozilla/Attributes.h" #include "mozilla/Attributes.h"
#include "nsIDOMHTMLElement.h"
#include "nsGenericHTMLElement.h" #include "nsGenericHTMLElement.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"

Просмотреть файл

@ -8,7 +8,6 @@
#define mozilla_dom_HTMLTemplateElement_h #define mozilla_dom_HTMLTemplateElement_h
#include "mozilla/Attributes.h" #include "mozilla/Attributes.h"
#include "nsIDOMHTMLElement.h"
#include "nsGenericHTMLElement.h" #include "nsGenericHTMLElement.h"
#include "mozilla/dom/DocumentFragment.h" #include "mozilla/dom/DocumentFragment.h"

Просмотреть файл

@ -8,7 +8,6 @@
#define mozilla_dom_HTMLTimeElement_h #define mozilla_dom_HTMLTimeElement_h
#include "mozilla/Attributes.h" #include "mozilla/Attributes.h"
#include "nsIDOMHTMLElement.h"
#include "nsGenericHTMLElement.h" #include "nsGenericHTMLElement.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"

Просмотреть файл

@ -13,7 +13,6 @@
#include "nsCycleCollectionParticipant.h" #include "nsCycleCollectionParticipant.h"
#include "nsGenericHTMLElement.h" #include "nsGenericHTMLElement.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsIDOMHTMLElement.h"
#include "nsIDOMEventTarget.h" #include "nsIDOMEventTarget.h"
#include "nsIHttpChannel.h" #include "nsIHttpChannel.h"

Просмотреть файл

@ -32,7 +32,6 @@
#include "nsContentPolicyUtils.h" #include "nsContentPolicyUtils.h"
#include "nsPIDOMWindow.h" #include "nsPIDOMWindow.h"
#include "nsIDOMElement.h" #include "nsIDOMElement.h"
#include "nsIDOMHTMLElement.h"
#include "nsError.h" #include "nsError.h"
#include "nsURILoader.h" #include "nsURILoader.h"
#include "nsIDocShell.h" #include "nsIDocShell.h"

Просмотреть файл

@ -27,7 +27,6 @@
#include "nsIDocument.h" #include "nsIDocument.h"
#include "nsIDocumentEncoder.h" #include "nsIDocumentEncoder.h"
#include "nsIDOMDocumentFragment.h" #include "nsIDOMDocumentFragment.h"
#include "nsIDOMHTMLElement.h"
#include "nsIDOMWindow.h" #include "nsIDOMWindow.h"
#include "nsIDOMDocument.h" #include "nsIDOMDocument.h"
#include "nsMappedAttributes.h" #include "nsMappedAttributes.h"
@ -172,7 +171,6 @@ NS_IMPL_ADDREF_INHERITED(nsGenericHTMLElement, nsGenericHTMLElementBase)
NS_IMPL_RELEASE_INHERITED(nsGenericHTMLElement, nsGenericHTMLElementBase) NS_IMPL_RELEASE_INHERITED(nsGenericHTMLElement, nsGenericHTMLElementBase)
NS_INTERFACE_MAP_BEGIN(nsGenericHTMLElement) NS_INTERFACE_MAP_BEGIN(nsGenericHTMLElement)
NS_INTERFACE_MAP_ENTRY(nsIDOMHTMLElement)
NS_INTERFACE_MAP_ENTRY(nsIDOMElement) NS_INTERFACE_MAP_ENTRY(nsIDOMElement)
NS_INTERFACE_MAP_ENTRY(nsIDOMNode) NS_INTERFACE_MAP_ENTRY(nsIDOMNode)
NS_INTERFACE_MAP_END_INHERITING(nsGenericHTMLElementBase) NS_INTERFACE_MAP_END_INHERITING(nsGenericHTMLElementBase)

Просмотреть файл

@ -9,7 +9,7 @@
#include "mozilla/Attributes.h" #include "mozilla/Attributes.h"
#include "mozilla/EventForwards.h" #include "mozilla/EventForwards.h"
#include "nsMappedAttributeElement.h" #include "nsMappedAttributeElement.h"
#include "nsIDOMHTMLElement.h" #include "nsIDOMElement.h"
#include "nsNameSpaceManager.h" // for kNameSpaceID_None #include "nsNameSpaceManager.h" // for kNameSpaceID_None
#include "nsIFormControl.h" #include "nsIFormControl.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
@ -47,7 +47,7 @@ typedef nsMappedAttributeElement nsGenericHTMLElementBase;
* A common superclass for HTML elements * A common superclass for HTML elements
*/ */
class nsGenericHTMLElement : public nsGenericHTMLElementBase, class nsGenericHTMLElement : public nsGenericHTMLElementBase,
public nsIDOMHTMLElement public nsIDOMElement
{ {
public: public:
using Element::SetTabIndex; using Element::SetTabIndex;

Просмотреть файл

@ -55,7 +55,6 @@
#include "nsIConsoleService.h" #include "nsIConsoleService.h"
#include "nsIComponentManager.h" #include "nsIComponentManager.h"
#include "nsParserCIID.h" #include "nsParserCIID.h"
#include "nsIDOMHTMLElement.h"
#include "nsNameSpaceManager.h" #include "nsNameSpaceManager.h"
#include "nsGenericHTMLElement.h" #include "nsGenericHTMLElement.h"
#include "mozilla/css/Loader.h" #include "mozilla/css/Loader.h"

Просмотреть файл

@ -50,7 +50,6 @@ interface nsIDOMEventTarget;
interface nsIDOMEventListener; interface nsIDOMEventListener;
// HTML // HTML
interface nsIDOMHTMLElement;
interface nsIDOMHTMLFormElement; interface nsIDOMHTMLFormElement;
interface nsIDOMHTMLHeadElement; interface nsIDOMHTMLHeadElement;

Просмотреть файл

@ -8,7 +8,6 @@ with Files("**"):
BUG_COMPONENT = ("Core", "DOM") BUG_COMPONENT = ("Core", "DOM")
XPIDL_SOURCES += [ XPIDL_SOURCES += [
'nsIDOMHTMLElement.idl',
'nsIDOMHTMLFormElement.idl', 'nsIDOMHTMLFormElement.idl',
'nsIDOMHTMLInputElement.idl', 'nsIDOMHTMLInputElement.idl',
'nsIDOMHTMLMediaElement.idl', 'nsIDOMHTMLMediaElement.idl',

Просмотреть файл

@ -1,22 +0,0 @@
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsIDOMElement.idl"
/**
* The nsIDOMHTMLElement interface is the primary [X]HTML element
* interface. It represents a single [X]HTML element in the document
* tree.
*
* This interface is trying to follow the DOM Level 2 HTML specification:
* http://www.w3.org/TR/DOM-Level-2-HTML/
*
* with changes from the work-in-progress WHATWG HTML specification:
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[uuid(b0c42392-d0e7-4f6a-beb5-a698ce648945)]
interface nsIDOMHTMLElement : nsIDOMElement
{
};

Просмотреть файл

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsIDOMHTMLElement.idl" #include "nsISupports.idl"
/** /**
* The nsIDOMHTMLFormElement interface is the interface to a [X]HTML * The nsIDOMHTMLFormElement interface is the interface to a [X]HTML

Просмотреть файл

@ -4,7 +4,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsIDOMHTMLElement.idl"
#include "nsIDOMTimeRanges.idl" #include "nsIDOMTimeRanges.idl"
/** /**

Просмотреть файл

@ -19,7 +19,6 @@
#include "nsIDocShell.h" #include "nsIDocShell.h"
#include "nsIDocShellTreeItem.h" #include "nsIDocShellTreeItem.h"
#include "nsIDOMDocument.h" #include "nsIDOMDocument.h"
#include "nsIDOMHTMLElement.h"
#include "nsIDOMNode.h" #include "nsIDOMNode.h"
#include "nsIHttpChannel.h" #include "nsIHttpChannel.h"
#include "nsIInterfaceRequestor.h" #include "nsIInterfaceRequestor.h"

Просмотреть файл

@ -48,7 +48,6 @@
#include "nsIDOMNode.h" #include "nsIDOMNode.h"
#include "nsIDOMDocument.h" #include "nsIDOMDocument.h"
#include "nsIDOMElement.h" #include "nsIDOMElement.h"
#include "nsIDOMHTMLElement.h"
#include "nsIDOMMouseEvent.h" #include "nsIDOMMouseEvent.h"
#include "nsIDOMKeyEvent.h" #include "nsIDOMKeyEvent.h"
#include "nsIDOMNode.h" #include "nsIDOMNode.h"

Просмотреть файл

@ -170,7 +170,6 @@
#include "ChildIterator.h" #include "ChildIterator.h"
#include "mozilla/RestyleManager.h" #include "mozilla/RestyleManager.h"
#include "mozilla/RestyleManagerInlines.h" #include "mozilla/RestyleManagerInlines.h"
#include "nsIDOMHTMLElement.h"
#include "nsIDragSession.h" #include "nsIDragSession.h"
#include "nsIFrameInlines.h" #include "nsIFrameInlines.h"
#include "mozilla/gfx/2D.h" #include "mozilla/gfx/2D.h"

Просмотреть файл

@ -33,7 +33,6 @@
#include "nsIDOMDocument.h" #include "nsIDOMDocument.h"
#include "nsISelectionListener.h" #include "nsISelectionListener.h"
#include "mozilla/dom/Selection.h" #include "mozilla/dom/Selection.h"
#include "nsIDOMHTMLElement.h"
#include "nsContentUtils.h" #include "nsContentUtils.h"
#include "nsLayoutStylesheetCache.h" #include "nsLayoutStylesheetCache.h"
#ifdef ACCESSIBILITY #ifdef ACCESSIBILITY

Просмотреть файл

@ -26,7 +26,6 @@
#include "nsFontMetrics.h" #include "nsFontMetrics.h"
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsIContent.h" #include "nsIContent.h"
#include "nsIDOMHTMLElement.h"
#include "nsFrameList.h" #include "nsFrameList.h"
#include "nsGenericHTMLElement.h" #include "nsGenericHTMLElement.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"

Просмотреть файл

@ -32,7 +32,6 @@
#include "mozilla/LookAndFeel.h" #include "mozilla/LookAndFeel.h"
#include "nsIInterfaceRequestorUtils.h" #include "nsIInterfaceRequestorUtils.h"
#include "nsHTMLDocument.h" #include "nsHTMLDocument.h"
#include "nsIDOMHTMLElement.h"
#include "nsIWeakReferenceUtils.h" #include "nsIWeakReferenceUtils.h"
#include "nsThreadUtils.h" #include "nsThreadUtils.h"
#include "nsFrameManager.h" #include "nsFrameManager.h"

Просмотреть файл

@ -24,7 +24,6 @@
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsLayoutUtils.h" #include "nsLayoutUtils.h"
#include "nsIDOMElement.h" #include "nsIDOMElement.h"
#include "nsIDOMHTMLElement.h"
#include "nsIPresShell.h" #include "nsIPresShell.h"
#include <algorithm> #include <algorithm>

Просмотреть файл

@ -34,7 +34,6 @@
#include "nsCSSAnonBoxes.h" #include "nsCSSAnonBoxes.h"
#include "nsIPresShell.h" #include "nsIPresShell.h"
#include "nsIDOMElement.h" #include "nsIDOMElement.h"
#include "nsIDOMHTMLElement.h"
#include "nsIScriptError.h" #include "nsIScriptError.h"
#include "nsFrameManager.h" #include "nsFrameManager.h"
#include "nsError.h" #include "nsError.h"

Просмотреть файл

@ -26,7 +26,6 @@
#include "nsIFrame.h" #include "nsIFrame.h"
#include "nsITextControlFrame.h" #include "nsITextControlFrame.h"
#include "nsReadableUtils.h" #include "nsReadableUtils.h"
#include "nsIDOMHTMLElement.h"
#include "nsIContent.h" #include "nsIContent.h"
#include "nsContentCID.h" #include "nsContentCID.h"
#include "nsIServiceManager.h" #include "nsIServiceManager.h"

Просмотреть файл

@ -29,7 +29,6 @@
#include "nsIFrame.h" #include "nsIFrame.h"
#include "nsFrameTraversal.h" #include "nsFrameTraversal.h"
#include "nsIImageDocument.h" #include "nsIImageDocument.h"
#include "nsIDOMHTMLElement.h"
#include "nsIDOMDocument.h" #include "nsIDOMDocument.h"
#include "nsIDocument.h" #include "nsIDocument.h"
#include "nsISelection.h" #include "nsISelection.h"

Просмотреть файл

@ -38,7 +38,6 @@
#include "nsIDOMFormData.h" #include "nsIDOMFormData.h"
#include "nsIDOMGeoPositionError.h" #include "nsIDOMGeoPositionError.h"
#include "nsIDOMHistory.h" #include "nsIDOMHistory.h"
#include "nsIDOMHTMLElement.h"
#include "nsIDOMHTMLFormElement.h" #include "nsIDOMHTMLFormElement.h"
#include "nsIDOMHTMLInputElement.h" #include "nsIDOMHTMLInputElement.h"
#include "nsIDOMHTMLMediaElement.h" #include "nsIDOMHTMLMediaElement.h"
@ -125,7 +124,6 @@
#include "mozilla/dom/HTMLAnchorElementBinding.h" #include "mozilla/dom/HTMLAnchorElementBinding.h"
#include "mozilla/dom/HTMLAreaElementBinding.h" #include "mozilla/dom/HTMLAreaElementBinding.h"
#include "mozilla/dom/HTMLButtonElementBinding.h" #include "mozilla/dom/HTMLButtonElementBinding.h"
#include "mozilla/dom/HTMLElementBinding.h"
#include "mozilla/dom/HTMLFormElementBinding.h" #include "mozilla/dom/HTMLFormElementBinding.h"
#include "mozilla/dom/HTMLFrameSetElementBinding.h" #include "mozilla/dom/HTMLFrameSetElementBinding.h"
#include "mozilla/dom/HTMLHtmlElementBinding.h" #include "mozilla/dom/HTMLHtmlElementBinding.h"
@ -266,7 +264,6 @@ const ComponentsInterfaceShimEntry kComponentsInterfaceShimMap[] =
DEFINE_SHIM_WITH_CUSTOM_INTERFACE(nsIFrameLoader, FrameLoader), DEFINE_SHIM_WITH_CUSTOM_INTERFACE(nsIFrameLoader, FrameLoader),
DEFINE_SHIM_WITH_CUSTOM_INTERFACE(nsIDOMGeoPositionError, PositionError), DEFINE_SHIM_WITH_CUSTOM_INTERFACE(nsIDOMGeoPositionError, PositionError),
DEFINE_SHIM(History), DEFINE_SHIM(History),
DEFINE_SHIM(HTMLElement),
DEFINE_SHIM(HTMLFormElement), DEFINE_SHIM(HTMLFormElement),
DEFINE_SHIM(HTMLInputElement), DEFINE_SHIM(HTMLInputElement),
DEFINE_SHIM(HTMLMediaElement), DEFINE_SHIM(HTMLMediaElement),