mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 817442 Part 6: Remove nsIDOMSVG(Animated)NumberList r=bz
This commit is contained in:
parent
e6f03c243d
commit
874d9d8054
@ -23,15 +23,9 @@ NS_SVG_VAL_IMPL_CYCLE_COLLECTION_WRAPPERCACHED(DOMSVGAnimatedNumberList, mElemen
|
||||
NS_IMPL_CYCLE_COLLECTING_ADDREF(DOMSVGAnimatedNumberList)
|
||||
NS_IMPL_CYCLE_COLLECTING_RELEASE(DOMSVGAnimatedNumberList)
|
||||
|
||||
} // namespace mozilla
|
||||
DOMCI_DATA(SVGAnimatedNumberList, mozilla::DOMSVGAnimatedNumberList)
|
||||
namespace mozilla {
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DOMSVGAnimatedNumberList)
|
||||
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedNumberList)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGAnimatedNumberList)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
JSObject*
|
||||
@ -50,14 +44,6 @@ DOMSVGAnimatedNumberList::BaseVal()
|
||||
return baseVal.forget();
|
||||
}
|
||||
|
||||
/* readonly attribute nsIDOMSVGNumberList baseVal; */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGAnimatedNumberList::GetBaseVal(nsIDOMSVGNumberList** aBaseVal)
|
||||
{
|
||||
*aBaseVal = BaseVal().get();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
already_AddRefed<DOMSVGNumberList>
|
||||
DOMSVGAnimatedNumberList::AnimVal()
|
||||
{
|
||||
@ -68,14 +54,6 @@ DOMSVGAnimatedNumberList::AnimVal()
|
||||
return animVal.forget();
|
||||
}
|
||||
|
||||
/* readonly attribute nsIDOMSVGNumberList animVal; */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGAnimatedNumberList::GetAnimVal(nsIDOMSVGNumberList** aAnimVal)
|
||||
{
|
||||
*aAnimVal = AnimVal().get();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/* static */ already_AddRefed<DOMSVGAnimatedNumberList>
|
||||
DOMSVGAnimatedNumberList::GetDOMWrapper(SVGAnimatedNumberList *aList,
|
||||
nsSVGElement *aElement,
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
#include "nsIDOMSVGAnimatedNumberList.h"
|
||||
#include "nsSVGElement.h"
|
||||
#include "nsWrapperCache.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
@ -35,7 +34,7 @@ class SVGNumberList;
|
||||
* out our pointers to them when they die (making our pointers to them true
|
||||
* weak refs).
|
||||
*/
|
||||
class DOMSVGAnimatedNumberList MOZ_FINAL : public nsIDOMSVGAnimatedNumberList,
|
||||
class DOMSVGAnimatedNumberList MOZ_FINAL : public nsISupports,
|
||||
public nsWrapperCache
|
||||
{
|
||||
friend class DOMSVGNumberList;
|
||||
@ -43,7 +42,6 @@ class DOMSVGAnimatedNumberList MOZ_FINAL : public nsIDOMSVGAnimatedNumberList,
|
||||
public:
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(DOMSVGAnimatedNumberList)
|
||||
NS_DECL_NSIDOMSVGANIMATEDNUMBERLIST
|
||||
|
||||
/**
|
||||
* Factory method to create and return a DOMSVGAnimatedNumberList wrapper
|
||||
@ -108,7 +106,9 @@ private:
|
||||
, mAnimVal(nullptr)
|
||||
, mElement(aElement)
|
||||
, mAttrEnum(aAttrEnum)
|
||||
{}
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
~DOMSVGAnimatedNumberList();
|
||||
|
||||
|
@ -62,15 +62,9 @@ NS_IMPL_CYCLE_COLLECTION_TRACE_END
|
||||
NS_IMPL_CYCLE_COLLECTING_ADDREF(DOMSVGNumberList)
|
||||
NS_IMPL_CYCLE_COLLECTING_RELEASE(DOMSVGNumberList)
|
||||
|
||||
} // namespace mozilla
|
||||
DOMCI_DATA(SVGNumberList, mozilla::DOMSVGNumberList)
|
||||
namespace mozilla {
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DOMSVGNumberList)
|
||||
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMSVGNumberList)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGNumberList)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
|
||||
@ -125,16 +119,6 @@ DOMSVGNumberList::InternalList() const
|
||||
return IsAnimValList() && alist->mAnimVal ? *alist->mAnimVal : alist->mBaseVal;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// nsIDOMSVGNumberList implementation:
|
||||
|
||||
NS_IMETHODIMP
|
||||
DOMSVGNumberList::GetNumberOfItems(uint32_t *aNumberOfItems)
|
||||
{
|
||||
*aNumberOfItems = NumberOfItems();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
DOMSVGNumberList::Clear(ErrorResult& error)
|
||||
{
|
||||
@ -159,14 +143,6 @@ DOMSVGNumberList::Clear(ErrorResult& error)
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
DOMSVGNumberList::Clear()
|
||||
{
|
||||
ErrorResult rv;
|
||||
Clear(rv);
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
already_AddRefed<nsIDOMSVGNumber>
|
||||
DOMSVGNumberList::Initialize(nsIDOMSVGNumber *newItem,
|
||||
ErrorResult& error)
|
||||
@ -193,19 +169,11 @@ DOMSVGNumberList::Initialize(nsIDOMSVGNumber *newItem,
|
||||
newItem = domItem->Clone();
|
||||
}
|
||||
|
||||
Clear();
|
||||
Clear(error);
|
||||
MOZ_ASSERT(!error.Failed());
|
||||
return InsertItemBefore(newItem, 0, error);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
DOMSVGNumberList::Initialize(nsIDOMSVGNumber *newItem,
|
||||
nsIDOMSVGNumber **_retval)
|
||||
{
|
||||
ErrorResult rv;
|
||||
*_retval = Initialize(newItem, rv).get();
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
nsIDOMSVGNumber*
|
||||
DOMSVGNumberList::IndexedGetter(uint32_t index, bool& found, ErrorResult& error)
|
||||
{
|
||||
@ -220,15 +188,6 @@ DOMSVGNumberList::IndexedGetter(uint32_t index, bool& found, ErrorResult& error)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
DOMSVGNumberList::GetItem(uint32_t index,
|
||||
nsIDOMSVGNumber **_retval)
|
||||
{
|
||||
ErrorResult rv;
|
||||
NS_IF_ADDREF(*_retval = GetItem(index, rv));
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
already_AddRefed<nsIDOMSVGNumber>
|
||||
DOMSVGNumberList::InsertItemBefore(nsIDOMSVGNumber *newItem,
|
||||
uint32_t index,
|
||||
@ -282,16 +241,6 @@ DOMSVGNumberList::InsertItemBefore(nsIDOMSVGNumber *newItem,
|
||||
return domItem.forget();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
DOMSVGNumberList::InsertItemBefore(nsIDOMSVGNumber *newItem,
|
||||
uint32_t index,
|
||||
nsIDOMSVGNumber **_retval)
|
||||
{
|
||||
ErrorResult rv;
|
||||
*_retval = InsertItemBefore(newItem, index, rv).get();
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
already_AddRefed<nsIDOMSVGNumber>
|
||||
DOMSVGNumberList::ReplaceItem(nsIDOMSVGNumber *newItem,
|
||||
uint32_t index,
|
||||
@ -336,16 +285,6 @@ DOMSVGNumberList::ReplaceItem(nsIDOMSVGNumber *newItem,
|
||||
return domItem.forget();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
DOMSVGNumberList::ReplaceItem(nsIDOMSVGNumber *newItem,
|
||||
uint32_t index,
|
||||
nsIDOMSVGNumber **_retval)
|
||||
{
|
||||
ErrorResult rv;
|
||||
*_retval = ReplaceItem(newItem, index, rv).get();
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
already_AddRefed<nsIDOMSVGNumber>
|
||||
DOMSVGNumberList::RemoveItem(uint32_t index,
|
||||
ErrorResult& error)
|
||||
@ -386,31 +325,6 @@ DOMSVGNumberList::RemoveItem(uint32_t index,
|
||||
return result.forget();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
DOMSVGNumberList::RemoveItem(uint32_t index,
|
||||
nsIDOMSVGNumber **_retval)
|
||||
{
|
||||
ErrorResult rv;
|
||||
*_retval = RemoveItem(index, rv).get();
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
DOMSVGNumberList::AppendItem(nsIDOMSVGNumber *newItem,
|
||||
nsIDOMSVGNumber **_retval)
|
||||
{
|
||||
ErrorResult rv;
|
||||
*_retval = AppendItem(newItem, rv).get();
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
DOMSVGNumberList::GetLength(uint32_t *aLength)
|
||||
{
|
||||
*aLength = Length();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
DOMSVGNumberList::EnsureItemAt(uint32_t aIndex)
|
||||
{
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
#include "nsDebug.h"
|
||||
#include "nsIDOMSVGNumberList.h"
|
||||
#include "nsTArray.h"
|
||||
#include "SVGNumberList.h"
|
||||
#include "nsIDOMSVGNumber.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/ErrorResult.h"
|
||||
|
||||
@ -39,7 +39,7 @@ class DOMSVGNumber;
|
||||
*
|
||||
* Our DOM items are created lazily on demand as and when script requests them.
|
||||
*/
|
||||
class DOMSVGNumberList MOZ_FINAL : public nsIDOMSVGNumberList,
|
||||
class DOMSVGNumberList MOZ_FINAL : public nsISupports,
|
||||
public nsWrapperCache
|
||||
{
|
||||
friend class DOMSVGNumber;
|
||||
@ -47,7 +47,6 @@ class DOMSVGNumberList MOZ_FINAL : public nsIDOMSVGNumberList,
|
||||
public:
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(DOMSVGNumberList)
|
||||
NS_DECL_NSIDOMSVGNUMBERLIST
|
||||
|
||||
DOMSVGNumberList(DOMSVGAnimatedNumberList *aAList,
|
||||
const SVGNumberList &aInternalList)
|
||||
|
@ -1148,8 +1148,8 @@ NS_IMETHODIMP nsSVGFEColorMatrixElement::GetType(nsIDOMSVGAnimatedEnumeration *
|
||||
return mEnumAttributes[TYPE].ToDOMAnimatedEnum(aType, this);
|
||||
}
|
||||
|
||||
/* readonly attribute nsIDOMSVGAnimatedNumberList values; */
|
||||
NS_IMETHODIMP nsSVGFEColorMatrixElement::GetValues(nsIDOMSVGAnimatedNumberList * *aValues)
|
||||
/* readonly attribute DOMSVGAnimatedNumberList values; */
|
||||
NS_IMETHODIMP nsSVGFEColorMatrixElement::GetValues(nsISupports * *aValues)
|
||||
{
|
||||
*aValues = DOMSVGAnimatedNumberList::GetDOMWrapper(&mNumberListAttributes[VALUES],
|
||||
this, VALUES).get();
|
||||
@ -1935,8 +1935,8 @@ NS_IMETHODIMP nsSVGComponentTransferFunctionElement::GetType(nsIDOMSVGAnimatedEn
|
||||
return mEnumAttributes[TYPE].ToDOMAnimatedEnum(aType, this);
|
||||
}
|
||||
|
||||
/* readonly attribute nsIDOMSVGAnimatedNumberList tableValues; */
|
||||
NS_IMETHODIMP nsSVGComponentTransferFunctionElement::GetTableValues(nsIDOMSVGAnimatedNumberList * *aTableValues)
|
||||
/* readonly attribute DOMSVGAnimatedNumberList tableValues; */
|
||||
NS_IMETHODIMP nsSVGComponentTransferFunctionElement::GetTableValues(nsISupports * *aTableValues)
|
||||
{
|
||||
*aTableValues = DOMSVGAnimatedNumberList::GetDOMWrapper(&mNumberListAttributes[TABLEVALUES],
|
||||
this, TABLEVALUES).get();
|
||||
@ -4092,7 +4092,7 @@ NS_IMETHODIMP nsSVGFEConvolveMatrixElement::GetOrderY(nsIDOMSVGAnimatedInteger *
|
||||
return mIntegerPairAttributes[ORDER].ToDOMAnimatedInteger(aOrderY, nsSVGIntegerPair::eSecond, this);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsSVGFEConvolveMatrixElement::GetKernelMatrix(nsIDOMSVGAnimatedNumberList * *aKernelMatrix)
|
||||
NS_IMETHODIMP nsSVGFEConvolveMatrixElement::GetKernelMatrix(nsISupports * *aKernelMatrix)
|
||||
{
|
||||
*aKernelMatrix = DOMSVGAnimatedNumberList::GetDOMWrapper(&mNumberListAttributes[KERNELMATRIX],
|
||||
this, KERNELMATRIX).get();
|
||||
|
@ -169,9 +169,9 @@ nsSVGTextElement::GetDy(nsIDOMSVGAnimatedLengthList * *aDy)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/* readonly attribute nsIDOMSVGAnimatedNumberList rotate; */
|
||||
/* readonly attribute DOMSVGAnimatedNumberList rotate; */
|
||||
NS_IMETHODIMP
|
||||
nsSVGTextElement::GetRotate(nsIDOMSVGAnimatedNumberList * *aRotate)
|
||||
nsSVGTextElement::GetRotate(nsISupports * *aRotate)
|
||||
{
|
||||
*aRotate = DOMSVGAnimatedNumberList::GetDOMWrapper(&mNumberListAttributes[ROTATE],
|
||||
this, ROTATE).get();
|
||||
|
@ -78,8 +78,8 @@ NS_IMETHODIMP nsSVGTextPositioningElement::GetDy(nsIDOMSVGAnimatedLengthList * *
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/* readonly attribute nsIDOMSVGAnimatedNumberList rotate; */
|
||||
NS_IMETHODIMP nsSVGTextPositioningElement::GetRotate(nsIDOMSVGAnimatedNumberList * *aRotate)
|
||||
/* readonly attribute DOMSVGAnimatedNumberList rotate; */
|
||||
NS_IMETHODIMP nsSVGTextPositioningElement::GetRotate(nsISupports * *aRotate)
|
||||
{
|
||||
*aRotate = DOMSVGAnimatedNumberList::GetDOMWrapper(&mNumberListAttributes[ROTATE],
|
||||
this, ROTATE).get();
|
||||
|
@ -317,7 +317,6 @@
|
||||
#include "nsIDOMSVGAnimatedLength.h"
|
||||
#include "nsIDOMSVGAnimatedLengthList.h"
|
||||
#include "nsIDOMSVGAnimatedNumber.h"
|
||||
#include "nsIDOMSVGAnimatedNumberList.h"
|
||||
#include "nsIDOMSVGAnimatedPathData.h"
|
||||
#include "nsIDOMSVGAnimatedPoints.h"
|
||||
#include "nsIDOMSVGAnimatedRect.h"
|
||||
@ -353,7 +352,6 @@
|
||||
#include "nsIDOMSVGMaskElement.h"
|
||||
#include "nsIDOMSVGMetadataElement.h"
|
||||
#include "nsIDOMSVGNumber.h"
|
||||
#include "nsIDOMSVGNumberList.h"
|
||||
#include "nsIDOMSVGPathElement.h"
|
||||
#include "nsIDOMSVGPatternElement.h"
|
||||
#include "nsIDOMSVGPolygonElement.h"
|
||||
@ -1225,8 +1223,6 @@ static nsDOMClassInfoData sClassInfoData[] = {
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGAnimatedNumber, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGAnimatedNumberList, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGAnimatedRect, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGAnimatedString, nsDOMGenericSH,
|
||||
@ -1239,8 +1235,6 @@ static nsDOMClassInfoData sClassInfoData[] = {
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGNumber, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGNumberList, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGRect, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGStringList, nsSVGStringListSH,
|
||||
@ -3494,10 +3488,6 @@ nsDOMClassInfo::Init()
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGAnimatedNumber)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(SVGAnimatedNumberList, nsIDOMSVGAnimatedNumberList)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGAnimatedNumberList)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(SVGAnimatedRect, nsIDOMSVGAnimatedRect)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGAnimatedRect)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
@ -3523,10 +3513,6 @@ nsDOMClassInfo::Init()
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGNumber)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(SVGNumberList, nsIDOMSVGNumberList)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGNumberList)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(SVGRect, nsIDOMSVGRect)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGRect)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
@ -260,14 +260,12 @@ DOMCI_CLASS(SVGAnimatedInteger)
|
||||
DOMCI_CLASS(SVGAnimatedLength)
|
||||
DOMCI_CLASS(SVGAnimatedLengthList)
|
||||
DOMCI_CLASS(SVGAnimatedNumber)
|
||||
DOMCI_CLASS(SVGAnimatedNumberList)
|
||||
DOMCI_CLASS(SVGAnimatedRect)
|
||||
DOMCI_CLASS(SVGAnimatedString)
|
||||
DOMCI_CLASS(SVGEvent)
|
||||
DOMCI_CLASS(SVGLength)
|
||||
DOMCI_CLASS(SVGLengthList)
|
||||
DOMCI_CLASS(SVGNumber)
|
||||
DOMCI_CLASS(SVGNumberList)
|
||||
DOMCI_CLASS(SVGRect)
|
||||
DOMCI_CLASS(SVGStringList)
|
||||
DOMCI_CLASS(SVGZoomEvent)
|
||||
|
@ -24,7 +24,6 @@ XPIDLSRCS = \
|
||||
nsIDOMSVGAnimatedLength.idl \
|
||||
nsIDOMSVGAnimatedLengthList.idl \
|
||||
nsIDOMSVGAnimatedNumber.idl \
|
||||
nsIDOMSVGAnimatedNumberList.idl \
|
||||
nsIDOMSVGAnimatedPathData.idl \
|
||||
nsIDOMSVGAnimatedPoints.idl \
|
||||
nsIDOMSVGAnimatedRect.idl \
|
||||
@ -57,7 +56,6 @@ XPIDLSRCS = \
|
||||
nsIDOMSVGMetadataElement.idl \
|
||||
nsIDOMSVGMpathElement.idl \
|
||||
nsIDOMSVGNumber.idl \
|
||||
nsIDOMSVGNumberList.idl \
|
||||
nsIDOMSVGPathElement.idl \
|
||||
nsIDOMSVGPatternElement.idl \
|
||||
nsIDOMSVGPolygonElement.idl \
|
||||
|
@ -1,15 +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"
|
||||
|
||||
interface nsIDOMSVGNumberList;
|
||||
|
||||
[scriptable, uuid(93ebb030-f82d-4f8e-b133-d1b5abb73cf3)]
|
||||
interface nsIDOMSVGAnimatedNumberList : nsISupports
|
||||
{
|
||||
readonly attribute nsIDOMSVGNumberList baseVal;
|
||||
readonly attribute nsIDOMSVGNumberList animVal;
|
||||
};
|
@ -10,7 +10,6 @@ interface nsIDOMSVGAnimatedLength;
|
||||
interface nsIDOMSVGAnimatedString;
|
||||
interface nsIDOMSVGAnimatedNumber;
|
||||
interface nsIDOMSVGAnimatedEnumeration;
|
||||
interface nsIDOMSVGAnimatedNumberList;
|
||||
interface nsIDOMSVGAnimatedInteger;
|
||||
|
||||
[scriptable, uuid(117CFA4C-B0EB-4C0F-A590-F77FBF42E76D)]
|
||||
@ -50,7 +49,8 @@ interface nsIDOMSVGFEColorMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttrib
|
||||
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
readonly attribute nsIDOMSVGAnimatedEnumeration type;
|
||||
readonly attribute nsIDOMSVGAnimatedNumberList values;
|
||||
// SVGAnimatedNumberList
|
||||
readonly attribute nsISupports values;
|
||||
};
|
||||
|
||||
[scriptable, uuid(539000B3-2272-4F1A-BF24-23340DD408AF)]
|
||||
@ -71,7 +71,8 @@ interface nsIDOMSVGComponentTransferFunctionElement : nsIDOMSVGElement
|
||||
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
|
||||
|
||||
readonly attribute nsIDOMSVGAnimatedEnumeration type;
|
||||
readonly attribute nsIDOMSVGAnimatedNumberList tableValues;
|
||||
// SVGAnimatedNumberList
|
||||
readonly attribute nsISupports tableValues;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber slope;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber intercept;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber amplitude;
|
||||
@ -209,7 +210,8 @@ interface nsIDOMSVGFEConvolveMatrixElement : nsIDOMSVGFilterPrimitiveStandardAtt
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
readonly attribute nsIDOMSVGAnimatedInteger orderX;
|
||||
readonly attribute nsIDOMSVGAnimatedInteger orderY;
|
||||
readonly attribute nsIDOMSVGAnimatedNumberList kernelMatrix;
|
||||
// SVGAnimatedNumberList
|
||||
readonly attribute nsISupports kernelMatrix;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber divisor;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber bias;
|
||||
readonly attribute nsIDOMSVGAnimatedInteger targetX;
|
||||
|
@ -1,30 +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"
|
||||
|
||||
interface nsIDOMSVGNumber;
|
||||
|
||||
[scriptable, uuid(35d7c850-b2c7-41e4-be59-08f6b29aa78f)]
|
||||
interface nsIDOMSVGNumberList : nsISupports
|
||||
{
|
||||
readonly attribute unsigned long numberOfItems;
|
||||
readonly attribute unsigned long length; // synonym for numberOfItems
|
||||
|
||||
void clear();
|
||||
// raises(nsIDOMDOMException);
|
||||
nsIDOMSVGNumber initialize(in nsIDOMSVGNumber newItem );
|
||||
// raises(nsIDOMDOMException, nsIDOMSVGException);
|
||||
nsIDOMSVGNumber getItem(in unsigned long index);
|
||||
// raises(nsIDOMDOMException);
|
||||
nsIDOMSVGNumber insertItemBefore(in nsIDOMSVGNumber newItem, in unsigned long index);
|
||||
// raises(nsIDOMDOMException, nsIDOMSVGException);
|
||||
nsIDOMSVGNumber replaceItem(in nsIDOMSVGNumber newItem, in unsigned long index);
|
||||
// raises(nsIDOMDOMException, nsIDOMSVGException);
|
||||
nsIDOMSVGNumber removeItem(in unsigned long index);
|
||||
// raises(nsIDOMDOMException);
|
||||
nsIDOMSVGNumber appendItem(in nsIDOMSVGNumber newItem);
|
||||
// raises(nsIDOMDOMException, nsIDOMSVGException);
|
||||
};
|
@ -6,7 +6,6 @@
|
||||
#include "nsIDOMSVGTextContentElement.idl"
|
||||
|
||||
interface nsIDOMSVGAnimatedLengthList;
|
||||
interface nsIDOMSVGAnimatedNumberList;
|
||||
|
||||
[scriptable, uuid(5D04C053-DB94-468E-BFD6-588569851A6B)]
|
||||
interface nsIDOMSVGTextPositioningElement : nsIDOMSVGTextContentElement
|
||||
@ -15,5 +14,6 @@ interface nsIDOMSVGTextPositioningElement : nsIDOMSVGTextContentElement
|
||||
readonly attribute nsIDOMSVGAnimatedLengthList y;
|
||||
readonly attribute nsIDOMSVGAnimatedLengthList dx;
|
||||
readonly attribute nsIDOMSVGAnimatedLengthList dy;
|
||||
readonly attribute nsIDOMSVGAnimatedNumberList rotate;
|
||||
// SVGAnimatedNumberList
|
||||
readonly attribute nsISupports rotate;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user