зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1418085 part 6. Remove nsIDOMHTMLElement. r=mystor
MozReview-Commit-ID: 5QUyFeAQYZQ
This commit is contained in:
Родитель
5aa0298e34
Коммит
7c392f077e
|
@ -40,7 +40,6 @@
|
|||
#include "nsIDOMHTMLInputElement.h"
|
||||
#include "nsIImageLoadingContent.h"
|
||||
#include "nsIWebNavigation.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsIStringBundle.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "ChildIterator.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsDOMClassInfoID.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIStyleSheetLinkingElement.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/HTMLSlotElement.h"
|
||||
|
|
|
@ -133,7 +133,6 @@
|
|||
#include "nsIDOMDocumentType.h"
|
||||
#include "nsIDOMEvent.h"
|
||||
#include "nsIDOMElement.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIDOMHTMLFormElement.h"
|
||||
#include "nsIDOMHTMLInputElement.h"
|
||||
#include "nsIDOMNode.h"
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#include "nsIFormControl.h"
|
||||
#include "nsIComboboxControlFrame.h"
|
||||
#include "nsIScrollableFrame.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIDOMXULControlElement.h"
|
||||
#include "nsNameSpaceManager.h"
|
||||
#include "nsIBaseWindow.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#define mozilla_dom_HTMLDataElement_h
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsGenericHTMLElement.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_END
|
||||
|
||||
NS_IMPL_ISUPPORTS_CYCLE_COLLECTION_INHERITED(HTMLMapElement,
|
||||
nsGenericHTMLElement,
|
||||
nsIDOMHTMLElement)
|
||||
NS_IMPL_ISUPPORTS_CYCLE_COLLECTION_INHERITED_0(HTMLMapElement,
|
||||
nsGenericHTMLElement)
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLMapElement)
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#ifndef mozilla_dom_HTMLSlotElement_h
|
||||
#define mozilla_dom_HTMLSlotElement_h
|
||||
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsGenericHTMLElement.h"
|
||||
#include "nsTArray.h"
|
||||
|
||||
|
@ -78,4 +77,4 @@ protected:
|
|||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#endif // mozilla_dom_HTMLSlotElement_h
|
||||
#endif // mozilla_dom_HTMLSlotElement_h
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#define mozilla_dom_HTMLSpanElement_h
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsGenericHTMLElement.h"
|
||||
#include "nsGkAtoms.h"
|
||||
#include "nsStyleConsts.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#define mozilla_dom_HTMLTemplateElement_h
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsGenericHTMLElement.h"
|
||||
#include "mozilla/dom/DocumentFragment.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#define mozilla_dom_HTMLTimeElement_h
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsGenericHTMLElement.h"
|
||||
#include "nsGkAtoms.h"
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "nsCycleCollectionParticipant.h"
|
||||
#include "nsGenericHTMLElement.h"
|
||||
#include "nsGkAtoms.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIDOMEventTarget.h"
|
||||
#include "nsIHttpChannel.h"
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include "nsContentPolicyUtils.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
#include "nsIDOMElement.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsError.h"
|
||||
#include "nsURILoader.h"
|
||||
#include "nsIDocShell.h"
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "nsIDocument.h"
|
||||
#include "nsIDocumentEncoder.h"
|
||||
#include "nsIDOMDocumentFragment.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIDOMWindow.h"
|
||||
#include "nsIDOMDocument.h"
|
||||
#include "nsMappedAttributes.h"
|
||||
|
@ -172,7 +171,6 @@ NS_IMPL_ADDREF_INHERITED(nsGenericHTMLElement, nsGenericHTMLElementBase)
|
|||
NS_IMPL_RELEASE_INHERITED(nsGenericHTMLElement, nsGenericHTMLElementBase)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN(nsGenericHTMLElement)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMHTMLElement)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMElement)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMNode)
|
||||
NS_INTERFACE_MAP_END_INHERITING(nsGenericHTMLElementBase)
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/EventForwards.h"
|
||||
#include "nsMappedAttributeElement.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIDOMElement.h"
|
||||
#include "nsNameSpaceManager.h" // for kNameSpaceID_None
|
||||
#include "nsIFormControl.h"
|
||||
#include "nsGkAtoms.h"
|
||||
|
@ -47,7 +47,7 @@ typedef nsMappedAttributeElement nsGenericHTMLElementBase;
|
|||
* A common superclass for HTML elements
|
||||
*/
|
||||
class nsGenericHTMLElement : public nsGenericHTMLElementBase,
|
||||
public nsIDOMHTMLElement
|
||||
public nsIDOMElement
|
||||
{
|
||||
public:
|
||||
using Element::SetTabIndex;
|
||||
|
|
|
@ -55,7 +55,6 @@
|
|||
#include "nsIConsoleService.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsParserCIID.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsNameSpaceManager.h"
|
||||
#include "nsGenericHTMLElement.h"
|
||||
#include "mozilla/css/Loader.h"
|
||||
|
|
|
@ -50,7 +50,6 @@ interface nsIDOMEventTarget;
|
|||
interface nsIDOMEventListener;
|
||||
|
||||
// HTML
|
||||
interface nsIDOMHTMLElement;
|
||||
interface nsIDOMHTMLFormElement;
|
||||
interface nsIDOMHTMLHeadElement;
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@ with Files("**"):
|
|||
BUG_COMPONENT = ("Core", "DOM")
|
||||
|
||||
XPIDL_SOURCES += [
|
||||
'nsIDOMHTMLElement.idl',
|
||||
'nsIDOMHTMLFormElement.idl',
|
||||
'nsIDOMHTMLInputElement.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
|
||||
* 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
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* 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 "nsIDOMHTMLElement.idl"
|
||||
#include "nsIDOMTimeRanges.idl"
|
||||
|
||||
/**
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "nsIDocShell.h"
|
||||
#include "nsIDocShellTreeItem.h"
|
||||
#include "nsIDOMDocument.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIDOMNode.h"
|
||||
#include "nsIHttpChannel.h"
|
||||
#include "nsIInterfaceRequestor.h"
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
#include "nsIDOMNode.h"
|
||||
#include "nsIDOMDocument.h"
|
||||
#include "nsIDOMElement.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIDOMMouseEvent.h"
|
||||
#include "nsIDOMKeyEvent.h"
|
||||
#include "nsIDOMNode.h"
|
||||
|
|
|
@ -170,7 +170,6 @@
|
|||
#include "ChildIterator.h"
|
||||
#include "mozilla/RestyleManager.h"
|
||||
#include "mozilla/RestyleManagerInlines.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIDragSession.h"
|
||||
#include "nsIFrameInlines.h"
|
||||
#include "mozilla/gfx/2D.h"
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include "nsIDOMDocument.h"
|
||||
#include "nsISelectionListener.h"
|
||||
#include "mozilla/dom/Selection.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsLayoutStylesheetCache.h"
|
||||
#ifdef ACCESSIBILITY
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include "nsFontMetrics.h"
|
||||
#include "nsPresContext.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsFrameList.h"
|
||||
#include "nsGenericHTMLElement.h"
|
||||
#include "nsGkAtoms.h"
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include "mozilla/LookAndFeel.h"
|
||||
#include "nsIInterfaceRequestorUtils.h"
|
||||
#include "nsHTMLDocument.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIWeakReferenceUtils.h"
|
||||
#include "nsThreadUtils.h"
|
||||
#include "nsFrameManager.h"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "nsGkAtoms.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsIDOMElement.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIPresShell.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include "nsCSSAnonBoxes.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsIDOMElement.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIScriptError.h"
|
||||
#include "nsFrameManager.h"
|
||||
#include "nsError.h"
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include "nsIFrame.h"
|
||||
#include "nsITextControlFrame.h"
|
||||
#include "nsReadableUtils.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsContentCID.h"
|
||||
#include "nsIServiceManager.h"
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include "nsIFrame.h"
|
||||
#include "nsFrameTraversal.h"
|
||||
#include "nsIImageDocument.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIDOMDocument.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsISelection.h"
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include "nsIDOMFormData.h"
|
||||
#include "nsIDOMGeoPositionError.h"
|
||||
#include "nsIDOMHistory.h"
|
||||
#include "nsIDOMHTMLElement.h"
|
||||
#include "nsIDOMHTMLFormElement.h"
|
||||
#include "nsIDOMHTMLInputElement.h"
|
||||
#include "nsIDOMHTMLMediaElement.h"
|
||||
|
@ -125,7 +124,6 @@
|
|||
#include "mozilla/dom/HTMLAnchorElementBinding.h"
|
||||
#include "mozilla/dom/HTMLAreaElementBinding.h"
|
||||
#include "mozilla/dom/HTMLButtonElementBinding.h"
|
||||
#include "mozilla/dom/HTMLElementBinding.h"
|
||||
#include "mozilla/dom/HTMLFormElementBinding.h"
|
||||
#include "mozilla/dom/HTMLFrameSetElementBinding.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(nsIDOMGeoPositionError, PositionError),
|
||||
DEFINE_SHIM(History),
|
||||
DEFINE_SHIM(HTMLElement),
|
||||
DEFINE_SHIM(HTMLFormElement),
|
||||
DEFINE_SHIM(HTMLInputElement),
|
||||
DEFINE_SHIM(HTMLMediaElement),
|
||||
|
|
Загрузка…
Ссылка в новой задаче