Bug 854629 Part 1: Remove nsIDOMSVGUnitTypes r=Ms2ger

This commit is contained in:
David Zbarsky 2013-03-27 21:23:10 -04:00
parent 39c225e361
commit f5cee1102c
12 changed files with 12 additions and 43 deletions

View File

@ -31,9 +31,9 @@ nsSVGElement::EnumInfo SVGClipPathElement::sEnumInfo[1] =
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// nsISupports methods // nsISupports methods
NS_IMPL_ISUPPORTS_INHERITED4(SVGClipPathElement, SVGClipPathElementBase, NS_IMPL_ISUPPORTS_INHERITED3(SVGClipPathElement, SVGClipPathElementBase,
nsIDOMNode, nsIDOMElement, nsIDOMNode, nsIDOMElement,
nsIDOMSVGElement, nsIDOMSVGUnitTypes) nsIDOMSVGElement)
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// Implementation // Implementation

View File

@ -6,7 +6,6 @@
#ifndef mozilla_dom_SVGClipPathElement_h #ifndef mozilla_dom_SVGClipPathElement_h
#define mozilla_dom_SVGClipPathElement_h #define mozilla_dom_SVGClipPathElement_h
#include "nsIDOMSVGUnitTypes.h"
#include "nsSVGEnum.h" #include "nsSVGEnum.h"
#include "mozilla/dom/SVGTransformableElement.h" #include "mozilla/dom/SVGTransformableElement.h"
@ -20,8 +19,7 @@ namespace dom {
typedef SVGTransformableElement SVGClipPathElementBase; typedef SVGTransformableElement SVGClipPathElementBase;
class SVGClipPathElement MOZ_FINAL : public SVGClipPathElementBase, class SVGClipPathElement MOZ_FINAL : public SVGClipPathElementBase
public nsIDOMSVGUnitTypes
{ {
friend class ::nsSVGClipPathFrame; friend class ::nsSVGClipPathFrame;

View File

@ -55,9 +55,9 @@ nsSVGElement::StringInfo SVGFilterElement::sStringInfo[1] =
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// nsISupports methods // nsISupports methods
NS_IMPL_ISUPPORTS_INHERITED4(SVGFilterElement, SVGFilterElementBase, NS_IMPL_ISUPPORTS_INHERITED3(SVGFilterElement, SVGFilterElementBase,
nsIDOMNode, nsIDOMElement, nsIDOMNode, nsIDOMElement,
nsIDOMSVGElement, nsIDOMSVGUnitTypes) nsIDOMSVGElement)
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// Implementation // Implementation

View File

@ -6,7 +6,6 @@
#ifndef mozilla_dom_SVGFilterElement_h #ifndef mozilla_dom_SVGFilterElement_h
#define mozilla_dom_SVGFilterElement_h #define mozilla_dom_SVGFilterElement_h
#include "nsIDOMSVGUnitTypes.h"
#include "nsSVGEnum.h" #include "nsSVGEnum.h"
#include "nsSVGElement.h" #include "nsSVGElement.h"
#include "nsSVGIntegerPair.h" #include "nsSVGIntegerPair.h"
@ -25,8 +24,7 @@ namespace mozilla {
namespace dom { namespace dom {
class SVGAnimatedLength; class SVGAnimatedLength;
class SVGFilterElement : public SVGFilterElementBase, class SVGFilterElement : public SVGFilterElementBase
public nsIDOMSVGUnitTypes
{ {
friend class ::nsSVGFilterFrame; friend class ::nsSVGFilterFrame;
friend class ::nsAutoFilterInstance; friend class ::nsAutoFilterInstance;

View File

@ -53,7 +53,6 @@ NS_IMPL_ADDREF_INHERITED(SVGGradientElement, SVGGradientElementBase)
NS_IMPL_RELEASE_INHERITED(SVGGradientElement, SVGGradientElementBase) NS_IMPL_RELEASE_INHERITED(SVGGradientElement, SVGGradientElementBase)
NS_INTERFACE_MAP_BEGIN(SVGGradientElement) NS_INTERFACE_MAP_BEGIN(SVGGradientElement)
NS_INTERFACE_MAP_ENTRY(nsIDOMSVGUnitTypes)
NS_INTERFACE_MAP_END_INHERITING(SVGGradientElementBase) NS_INTERFACE_MAP_END_INHERITING(SVGGradientElementBase)
//---------------------------------------------------------------------- //----------------------------------------------------------------------

View File

@ -6,7 +6,6 @@
#ifndef __NS_SVGGRADIENTELEMENT_H__ #ifndef __NS_SVGGRADIENTELEMENT_H__
#define __NS_SVGGRADIENTELEMENT_H__ #define __NS_SVGGRADIENTELEMENT_H__
#include "nsIDOMSVGUnitTypes.h"
#include "nsSVGElement.h" #include "nsSVGElement.h"
#include "nsSVGLength2.h" #include "nsSVGLength2.h"
#include "nsSVGEnum.h" #include "nsSVGEnum.h"
@ -40,7 +39,6 @@ namespace dom {
typedef nsSVGElement SVGGradientElementBase; typedef nsSVGElement SVGGradientElementBase;
class SVGGradientElement : public SVGGradientElementBase class SVGGradientElement : public SVGGradientElementBase
, public nsIDOMSVGUnitTypes
{ {
friend class ::nsSVGGradientFrame; friend class ::nsSVGGradientFrame;

View File

@ -46,9 +46,9 @@ nsSVGElement::EnumInfo SVGMaskElement::sEnumInfo[2] =
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// nsISupports methods // nsISupports methods
NS_IMPL_ISUPPORTS_INHERITED4(SVGMaskElement, SVGMaskElementBase, NS_IMPL_ISUPPORTS_INHERITED3(SVGMaskElement, SVGMaskElementBase,
nsIDOMNode, nsIDOMElement, nsIDOMNode, nsIDOMElement,
nsIDOMSVGElement, nsIDOMSVGUnitTypes) nsIDOMSVGElement)
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// Implementation // Implementation

View File

@ -6,7 +6,6 @@
#ifndef mozilla_dom_SVGMaskElement_h #ifndef mozilla_dom_SVGMaskElement_h
#define mozilla_dom_SVGMaskElement_h #define mozilla_dom_SVGMaskElement_h
#include "nsIDOMSVGUnitTypes.h"
#include "nsSVGEnum.h" #include "nsSVGEnum.h"
#include "nsSVGLength2.h" #include "nsSVGLength2.h"
#include "nsSVGElement.h" #include "nsSVGElement.h"
@ -23,8 +22,7 @@ namespace dom {
typedef nsSVGElement SVGMaskElementBase; typedef nsSVGElement SVGMaskElementBase;
class SVGMaskElement MOZ_FINAL : public SVGMaskElementBase, class SVGMaskElement MOZ_FINAL : public SVGMaskElementBase
public nsIDOMSVGUnitTypes
{ {
friend class ::nsSVGMaskFrame; friend class ::nsSVGMaskFrame;

View File

@ -52,9 +52,9 @@ nsSVGElement::StringInfo SVGPatternElement::sStringInfo[1] =
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// nsISupports methods // nsISupports methods
NS_IMPL_ISUPPORTS_INHERITED4(SVGPatternElement, SVGPatternElementBase, NS_IMPL_ISUPPORTS_INHERITED3(SVGPatternElement, SVGPatternElementBase,
nsIDOMNode, nsIDOMElement, nsIDOMNode, nsIDOMElement,
nsIDOMSVGElement, nsIDOMSVGUnitTypes) nsIDOMSVGElement)
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// Implementation // Implementation

View File

@ -6,7 +6,6 @@
#ifndef mozilla_dom_SVGPatternElement_h #ifndef mozilla_dom_SVGPatternElement_h
#define mozilla_dom_SVGPatternElement_h #define mozilla_dom_SVGPatternElement_h
#include "nsIDOMSVGUnitTypes.h"
#include "nsSVGEnum.h" #include "nsSVGEnum.h"
#include "nsSVGLength2.h" #include "nsSVGLength2.h"
#include "nsSVGString.h" #include "nsSVGString.h"
@ -27,8 +26,7 @@ namespace dom {
typedef nsSVGElement SVGPatternElementBase; typedef nsSVGElement SVGPatternElementBase;
class SVGPatternElement MOZ_FINAL : public SVGPatternElementBase, class SVGPatternElement MOZ_FINAL : public SVGPatternElementBase
public nsIDOMSVGUnitTypes
{ {
friend class ::nsSVGPatternFrame; friend class ::nsSVGPatternFrame;

View File

@ -17,7 +17,6 @@ XPIDL_SOURCES += [
'nsIDOMSVGNumber.idl', 'nsIDOMSVGNumber.idl',
'nsIDOMSVGRect.idl', 'nsIDOMSVGRect.idl',
'nsIDOMSVGStringList.idl', 'nsIDOMSVGStringList.idl',
'nsIDOMSVGUnitTypes.idl',
'nsIDOMSVGZoomEvent.idl', 'nsIDOMSVGZoomEvent.idl',
] ]

View File

@ -1,19 +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 "domstubs.idl"
/**
* The nsIDOMSVGUnitTypes interface is the interface to SVG unit types.
*
* For more information on this interface please see
* http://www.w3.org/TR/SVG11/types.html
*
*/
[scriptable, uuid(154b572f-3d0b-49c0-8b5d-8864d05bd3d1)]
interface nsIDOMSVGUnitTypes : nsISupports
{
};