mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 833446: Remove nsIDOMSVGSymbolElement r=peterv
This commit is contained in:
parent
4365bfe031
commit
229b019773
@ -8,8 +8,6 @@
|
||||
|
||||
NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(Symbol)
|
||||
|
||||
DOMCI_NODE_DATA(SVGSymbolElement, mozilla::dom::SVGSymbolElement)
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
@ -22,15 +20,9 @@ SVGSymbolElement::WrapNode(JSContext *aCx, JSObject *aScope, bool *aTriedToWrap)
|
||||
//----------------------------------------------------------------------
|
||||
// nsISupports methods
|
||||
|
||||
NS_IMPL_ADDREF_INHERITED(SVGSymbolElement,SVGSymbolElementBase)
|
||||
NS_IMPL_RELEASE_INHERITED(SVGSymbolElement,SVGSymbolElementBase)
|
||||
|
||||
NS_INTERFACE_TABLE_HEAD(SVGSymbolElement)
|
||||
NS_NODE_INTERFACE_TABLE5(SVGSymbolElement, nsIDOMNode, nsIDOMElement,
|
||||
nsIDOMSVGElement,
|
||||
nsIDOMSVGSymbolElement, DOMSVGTests)
|
||||
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGSymbolElement)
|
||||
NS_INTERFACE_MAP_END_INHERITING(SVGSymbolElementBase)
|
||||
NS_IMPL_ISUPPORTS_INHERITED4(SVGSymbolElement, SVGSymbolElementBase,
|
||||
nsIDOMNode, nsIDOMElement,
|
||||
nsIDOMSVGElement, DOMSVGTests)
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// Implementation
|
||||
|
@ -6,7 +6,6 @@
|
||||
#ifndef mozilla_dom_SVGSymbolElement_h
|
||||
#define mozilla_dom_SVGSymbolElement_h
|
||||
|
||||
#include "nsIDOMSVGSymbolElement.h"
|
||||
#include "DOMSVGTests.h"
|
||||
#include "nsSVGElement.h"
|
||||
#include "nsSVGViewBox.h"
|
||||
@ -22,7 +21,7 @@ namespace dom {
|
||||
typedef nsSVGElement SVGSymbolElementBase;
|
||||
|
||||
class SVGSymbolElement MOZ_FINAL : public SVGSymbolElementBase,
|
||||
public nsIDOMSVGSymbolElement,
|
||||
public nsIDOMSVGElement,
|
||||
public DOMSVGTests
|
||||
{
|
||||
protected:
|
||||
@ -35,7 +34,6 @@ public:
|
||||
// interfaces:
|
||||
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
NS_DECL_NSIDOMSVGSYMBOLELEMENT
|
||||
|
||||
// xxx I wish we could use virtual inheritance
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
@ -47,8 +45,6 @@ public:
|
||||
|
||||
virtual nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const;
|
||||
|
||||
virtual nsXPCClassInfo* GetClassInfo();
|
||||
|
||||
virtual nsIDOMNode* AsDOMNode() { return this; }
|
||||
|
||||
// WebIDL
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "mozilla/dom/SVGUseElementBinding.h"
|
||||
#include "nsGkAtoms.h"
|
||||
#include "mozilla/dom/SVGSVGElement.h"
|
||||
#include "nsIDOMSVGSymbolElement.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
|
@ -329,7 +329,6 @@
|
||||
#include "nsIDOMSVGMaskElement.h"
|
||||
#include "nsIDOMSVGNumber.h"
|
||||
#include "nsIDOMSVGRect.h"
|
||||
#include "nsIDOMSVGSymbolElement.h"
|
||||
#include "nsIDOMSVGTextElement.h"
|
||||
#include "nsIDOMSVGTextPathElement.h"
|
||||
#include "nsIDOMSVGTitleElement.h"
|
||||
@ -1091,8 +1090,6 @@ static nsDOMClassInfoData sClassInfoData[] = {
|
||||
ELEMENT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGMaskElement, nsElementSH,
|
||||
ELEMENT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGSymbolElement, nsElementSH,
|
||||
ELEMENT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGTextElement, nsElementSH,
|
||||
ELEMENT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGTextPathElement, nsElementSH,
|
||||
@ -3072,12 +3069,6 @@ nsDOMClassInfo::Init()
|
||||
DOM_CLASSINFO_SVG_ELEMENT_MAP_ENTRIES
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(SVGSymbolElement, nsIDOMSVGSymbolElement)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMEventTarget)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGSymbolElement)
|
||||
DOM_CLASSINFO_SVG_ELEMENT_MAP_ENTRIES
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(SVGTextElement, nsIDOMSVGTextElement)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGTextPositioningElement)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGTextContentElement)
|
||||
|
@ -222,7 +222,6 @@ DOMCI_CLASS(SVGFilterElement)
|
||||
DOMCI_CLASS(SVGImageElement)
|
||||
DOMCI_CLASS(SVGMarkerElement)
|
||||
DOMCI_CLASS(SVGMaskElement)
|
||||
DOMCI_CLASS(SVGSymbolElement)
|
||||
DOMCI_CLASS(SVGTextElement)
|
||||
DOMCI_CLASS(SVGTextPathElement)
|
||||
DOMCI_CLASS(SVGTitleElement)
|
||||
|
@ -37,7 +37,6 @@ XPIDLSRCS = \
|
||||
nsIDOMSVGNumber.idl \
|
||||
nsIDOMSVGRect.idl \
|
||||
nsIDOMSVGStringList.idl \
|
||||
nsIDOMSVGSymbolElement.idl \
|
||||
nsIDOMSVGTextContentElement.idl \
|
||||
nsIDOMSVGTextElement.idl \
|
||||
nsIDOMSVGTextPathElement.idl \
|
||||
|
@ -1,28 +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 "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(165A3430-F103-4472-A81F-072A3F59DB76)]
|
||||
interface nsIDOMSVGSymbolElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
The SVG DOM makes use of multiple interface inheritance.
|
||||
Since XPCOM only supports single interface inheritance,
|
||||
the best thing that we can do is to promise that whenever
|
||||
an object implements _this_ interface it will also
|
||||
implement the following interfaces. (We then have to QI to
|
||||
hop between them.)
|
||||
|
||||
nsIDOMSVGURIReference,
|
||||
nsIDOMSVGTests,
|
||||
nsIDOMSVGLangSpace,
|
||||
nsIDOMSVGExternalResourcesRequired,
|
||||
nsIDOMSVGStylable,
|
||||
nsIDOMSVGFitToViewBox,
|
||||
events::nsIDOMEventTarget
|
||||
*/
|
||||
{
|
||||
};
|
Loading…
Reference in New Issue
Block a user