mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 817442 Part 7: Remove nsIDOMSVG(Animated)TransformList r=bz
This commit is contained in:
parent
f0e7548cf6
commit
bbaede3dde
@ -20,15 +20,9 @@ NS_SVG_VAL_IMPL_CYCLE_COLLECTION_WRAPPERCACHED(DOMSVGAnimatedTransformList, mEle
|
||||
NS_IMPL_CYCLE_COLLECTING_ADDREF(DOMSVGAnimatedTransformList)
|
||||
NS_IMPL_CYCLE_COLLECTING_RELEASE(DOMSVGAnimatedTransformList)
|
||||
|
||||
} // namespace mozilla
|
||||
DOMCI_DATA(SVGAnimatedTransformList, mozilla::DOMSVGAnimatedTransformList)
|
||||
namespace mozilla {
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DOMSVGAnimatedTransformList)
|
||||
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedTransformList)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGAnimatedTransformList)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
JSObject*
|
||||
@ -38,8 +32,6 @@ DOMSVGAnimatedTransformList::WrapObject(JSContext* aCx, JSObject* aScope, bool*
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// nsIDOMSVGAnimatedTransformList methods:
|
||||
|
||||
already_AddRefed<DOMSVGTransformList>
|
||||
DOMSVGAnimatedTransformList::BaseVal()
|
||||
{
|
||||
@ -50,14 +42,6 @@ DOMSVGAnimatedTransformList::BaseVal()
|
||||
return baseVal.forget();
|
||||
}
|
||||
|
||||
/* readonly attribute nsIDOMSVGTransformList baseVal; */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGAnimatedTransformList::GetBaseVal(nsIDOMSVGTransformList** aBaseVal)
|
||||
{
|
||||
*aBaseVal = BaseVal().get();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
already_AddRefed<DOMSVGTransformList>
|
||||
DOMSVGAnimatedTransformList::AnimVal()
|
||||
{
|
||||
@ -68,14 +52,6 @@ DOMSVGAnimatedTransformList::AnimVal()
|
||||
return animVal.forget();
|
||||
}
|
||||
|
||||
/* readonly attribute nsIDOMSVGTransformList animVal; */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGAnimatedTransformList::GetAnimVal(nsIDOMSVGTransformList** aAnimVal)
|
||||
{
|
||||
*aAnimVal = AnimVal().get();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/* static */ already_AddRefed<DOMSVGAnimatedTransformList>
|
||||
DOMSVGAnimatedTransformList::GetDOMWrapper(SVGAnimatedTransformList *aList,
|
||||
nsSVGElement *aElement)
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
#include "nsIDOMSVGAnimTransformList.h"
|
||||
#include "nsSVGElement.h"
|
||||
#include "nsWrapperCache.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
@ -36,7 +35,7 @@ class SVGAnimatedTransformList;
|
||||
* nulling out our pointers to them when they die (making our pointers to them
|
||||
* true weak refs).
|
||||
*/
|
||||
class DOMSVGAnimatedTransformList MOZ_FINAL : public nsIDOMSVGAnimatedTransformList,
|
||||
class DOMSVGAnimatedTransformList MOZ_FINAL : public nsISupports,
|
||||
public nsWrapperCache
|
||||
{
|
||||
friend class DOMSVGTransformList;
|
||||
@ -44,7 +43,6 @@ class DOMSVGAnimatedTransformList MOZ_FINAL : public nsIDOMSVGAnimatedTransformL
|
||||
public:
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(DOMSVGAnimatedTransformList)
|
||||
NS_DECL_NSIDOMSVGANIMATEDTRANSFORMLIST
|
||||
|
||||
/**
|
||||
* Factory method to create and return a DOMSVGAnimatedTransformList wrapper
|
||||
|
@ -59,15 +59,9 @@ NS_IMPL_CYCLE_COLLECTION_TRACE_END
|
||||
NS_IMPL_CYCLE_COLLECTING_ADDREF(DOMSVGTransformList)
|
||||
NS_IMPL_CYCLE_COLLECTING_RELEASE(DOMSVGTransformList)
|
||||
|
||||
} // namespace mozilla
|
||||
DOMCI_DATA(SVGTransformList, mozilla::DOMSVGTransformList)
|
||||
namespace mozilla {
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DOMSVGTransformList)
|
||||
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMSVGTransformList)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGTransformList)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
@ -129,24 +123,6 @@ DOMSVGTransformList::InternalList() const
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// nsIDOMSVGTransformList methods:
|
||||
|
||||
/* readonly attribute unsigned long numberOfItems; */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGTransformList::GetNumberOfItems(uint32_t *aNumberOfItems)
|
||||
{
|
||||
*aNumberOfItems = NumberOfItems();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/* readonly attribute unsigned long length; */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGTransformList::GetLength(uint32_t *aLength)
|
||||
{
|
||||
*aLength = Length();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
DOMSVGTransformList::Clear(ErrorResult& error)
|
||||
{
|
||||
@ -171,15 +147,6 @@ DOMSVGTransformList::Clear(ErrorResult& error)
|
||||
}
|
||||
}
|
||||
|
||||
/* void clear (); */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGTransformList::Clear()
|
||||
{
|
||||
ErrorResult rv;
|
||||
Clear(rv);
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
already_AddRefed<DOMSVGTransform>
|
||||
DOMSVGTransformList::Initialize(DOMSVGTransform& newItem, ErrorResult& error)
|
||||
{
|
||||
@ -206,21 +173,6 @@ DOMSVGTransformList::Initialize(DOMSVGTransform& newItem, ErrorResult& error)
|
||||
return InsertItemBefore(*domItem, 0, error);
|
||||
}
|
||||
|
||||
/* nsIDOMSVGTransform initialize (in nsIDOMSVGTransform newItem); */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGTransformList::Initialize(nsIDOMSVGTransform *newItem,
|
||||
nsIDOMSVGTransform **_retval)
|
||||
{
|
||||
nsCOMPtr<DOMSVGTransform> domItem = do_QueryInterface(newItem);
|
||||
if (!domItem) {
|
||||
*_retval = nullptr;
|
||||
return NS_ERROR_DOM_SVG_WRONG_TYPE_ERR;
|
||||
}
|
||||
ErrorResult rv;
|
||||
*_retval = Initialize(*domItem, rv).get();
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
DOMSVGTransform*
|
||||
DOMSVGTransformList::IndexedGetter(uint32_t index, bool& found,
|
||||
ErrorResult& error)
|
||||
@ -236,15 +188,6 @@ DOMSVGTransformList::IndexedGetter(uint32_t index, bool& found,
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
/* nsIDOMSVGTransform getItem (in unsigned long index); */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGTransformList::GetItem(uint32_t index, nsIDOMSVGTransform **_retval)
|
||||
{
|
||||
ErrorResult rv;
|
||||
NS_IF_ADDREF(*_retval = GetItem(index, rv));
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
already_AddRefed<DOMSVGTransform>
|
||||
DOMSVGTransformList::InsertItemBefore(DOMSVGTransform& newItem,
|
||||
uint32_t index, ErrorResult& error)
|
||||
@ -293,23 +236,6 @@ DOMSVGTransformList::InsertItemBefore(DOMSVGTransform& newItem,
|
||||
return domItem.forget();
|
||||
}
|
||||
|
||||
/* nsIDOMSVGTransform insertItemBefore (in nsIDOMSVGTransform newItem,
|
||||
* in unsigned long index); */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGTransformList::InsertItemBefore(nsIDOMSVGTransform *newItem,
|
||||
uint32_t index,
|
||||
nsIDOMSVGTransform **_retval)
|
||||
{
|
||||
nsCOMPtr<DOMSVGTransform> domItem = do_QueryInterface(newItem);
|
||||
if (!domItem) {
|
||||
*_retval = nullptr;
|
||||
return NS_ERROR_DOM_SVG_WRONG_TYPE_ERR;
|
||||
}
|
||||
ErrorResult rv;
|
||||
*_retval = InsertItemBefore(*domItem, index, rv).get();
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
already_AddRefed<DOMSVGTransform>
|
||||
DOMSVGTransformList::ReplaceItem(DOMSVGTransform& newItem,
|
||||
uint32_t index, ErrorResult& error)
|
||||
@ -350,23 +276,6 @@ DOMSVGTransformList::ReplaceItem(DOMSVGTransform& newItem,
|
||||
return domItem.forget();
|
||||
}
|
||||
|
||||
/* nsIDOMSVGTransform replaceItem (in nsIDOMSVGTransform newItem,
|
||||
* in unsigned long index); */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGTransformList::ReplaceItem(nsIDOMSVGTransform *newItem,
|
||||
uint32_t index,
|
||||
nsIDOMSVGTransform **_retval)
|
||||
{
|
||||
nsCOMPtr<DOMSVGTransform> domItem = do_QueryInterface(newItem);
|
||||
if (!domItem) {
|
||||
*_retval = nullptr;
|
||||
return NS_ERROR_DOM_SVG_WRONG_TYPE_ERR;
|
||||
}
|
||||
ErrorResult rv;
|
||||
*_retval = ReplaceItem(*domItem, index, rv).get();
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
already_AddRefed<DOMSVGTransform>
|
||||
DOMSVGTransformList::RemoveItem(uint32_t index, ErrorResult& error)
|
||||
{
|
||||
@ -406,30 +315,6 @@ DOMSVGTransformList::RemoveItem(uint32_t index, ErrorResult& error)
|
||||
return result.forget();
|
||||
}
|
||||
|
||||
/* nsIDOMSVGTransform removeItem (in unsigned long index); */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGTransformList::RemoveItem(uint32_t index, nsIDOMSVGTransform **_retval)
|
||||
{
|
||||
ErrorResult rv;
|
||||
*_retval = RemoveItem(index, rv).get();
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
/* nsIDOMSVGTransform appendItem (in nsIDOMSVGTransform newItem); */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGTransformList::AppendItem(nsIDOMSVGTransform *newItem,
|
||||
nsIDOMSVGTransform **_retval)
|
||||
{
|
||||
nsCOMPtr<DOMSVGTransform> domItem = do_QueryInterface(newItem);
|
||||
if (!domItem) {
|
||||
*_retval = nullptr;
|
||||
return NS_ERROR_DOM_SVG_WRONG_TYPE_ERR;
|
||||
}
|
||||
ErrorResult rv;
|
||||
*_retval = AppendItem(*domItem, rv).get();
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
already_AddRefed<DOMSVGTransform>
|
||||
DOMSVGTransformList::CreateSVGTransformFromMatrix(DOMSVGMatrix& matrix)
|
||||
{
|
||||
@ -437,21 +322,6 @@ DOMSVGTransformList::CreateSVGTransformFromMatrix(DOMSVGMatrix& matrix)
|
||||
return result.forget();
|
||||
}
|
||||
|
||||
/* nsIDOMSVGTransform createSVGTransformFromMatrix (in nsIDOMSVGMatrix matrix);
|
||||
*/
|
||||
NS_IMETHODIMP
|
||||
DOMSVGTransformList::CreateSVGTransformFromMatrix(nsIDOMSVGMatrix *matrix,
|
||||
nsIDOMSVGTransform **_retval)
|
||||
{
|
||||
nsCOMPtr<DOMSVGMatrix> domItem = do_QueryInterface(matrix);
|
||||
if (!domItem) {
|
||||
*_retval = nullptr;
|
||||
return NS_ERROR_DOM_SVG_WRONG_TYPE_ERR;
|
||||
}
|
||||
*_retval = CreateSVGTransformFromMatrix(*domItem).get();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
already_AddRefed<DOMSVGTransform>
|
||||
DOMSVGTransformList::Consolidate(ErrorResult& error)
|
||||
{
|
||||
@ -481,15 +351,6 @@ DOMSVGTransformList::Consolidate(ErrorResult& error)
|
||||
return InsertItemBefore(*transform, LengthNoFlush(), error);
|
||||
}
|
||||
|
||||
/* nsIDOMSVGTransform consolidate (); */
|
||||
NS_IMETHODIMP
|
||||
DOMSVGTransformList::Consolidate(nsIDOMSVGTransform **_retval)
|
||||
{
|
||||
ErrorResult rv;
|
||||
*_retval = Consolidate(rv).get();
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// Implementation helpers:
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
#include "nsDebug.h"
|
||||
#include "nsIDOMSVGTransformList.h"
|
||||
#include "nsTArray.h"
|
||||
#include "SVGTransformList.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
@ -33,7 +32,7 @@ class DOMSVGTransform;
|
||||
*
|
||||
* See the architecture comment in DOMSVGAnimatedTransformList.h.
|
||||
*/
|
||||
class DOMSVGTransformList MOZ_FINAL : public nsIDOMSVGTransformList,
|
||||
class DOMSVGTransformList MOZ_FINAL : public nsISupports,
|
||||
public nsWrapperCache
|
||||
{
|
||||
friend class DOMSVGTransform;
|
||||
@ -41,7 +40,6 @@ class DOMSVGTransformList MOZ_FINAL : public nsIDOMSVGTransformList,
|
||||
public:
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(DOMSVGTransformList)
|
||||
NS_DECL_NSIDOMSVGTRANSFORMLIST
|
||||
|
||||
DOMSVGTransformList(DOMSVGAnimatedTransformList *aAList,
|
||||
const SVGTransformList &aInternalList)
|
||||
|
@ -88,8 +88,8 @@ NS_IMETHODIMP nsSVGGradientElement::GetGradientUnits(nsIDOMSVGAnimatedEnumeratio
|
||||
return mEnumAttributes[GRADIENTUNITS].ToDOMAnimatedEnum(aGradientUnits, this);
|
||||
}
|
||||
|
||||
/* readonly attribute nsIDOMSVGAnimatedTransformList gradientTransform; */
|
||||
NS_IMETHODIMP nsSVGGradientElement::GetGradientTransform(nsIDOMSVGAnimatedTransformList * *aGradientTransform)
|
||||
/* readonly attribute nsISupports gradientTransform; */
|
||||
NS_IMETHODIMP nsSVGGradientElement::GetGradientTransform(nsISupports * *aGradientTransform)
|
||||
{
|
||||
// We're creating a DOM wrapper, so we must tell GetAnimatedTransformList
|
||||
// to allocate the SVGAnimatedTransformList if it hasn't already done so:
|
||||
|
@ -119,10 +119,9 @@ NS_IMETHODIMP nsSVGGraphicElement::GetTransformToElement(nsIDOMSVGElement *eleme
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// nsIDOMSVGTransformable methods
|
||||
/* readonly attribute nsIDOMSVGAnimatedTransformList transform; */
|
||||
/* readonly attribute nsISupports transform; */
|
||||
|
||||
NS_IMETHODIMP nsSVGGraphicElement::GetTransform(
|
||||
nsIDOMSVGAnimatedTransformList **aTransform)
|
||||
NS_IMETHODIMP nsSVGGraphicElement::GetTransform(nsISupports **aTransform)
|
||||
{
|
||||
// We're creating a DOM wrapper, so we must tell GetAnimatedTransformList
|
||||
// to allocate the SVGAnimatedTransformList if it hasn't already done so:
|
||||
|
@ -103,8 +103,8 @@ NS_IMETHODIMP nsSVGPatternElement::GetPatternContentUnits(nsIDOMSVGAnimatedEnume
|
||||
return mEnumAttributes[PATTERNCONTENTUNITS].ToDOMAnimatedEnum(aPatternUnits, this);
|
||||
}
|
||||
|
||||
/* readonly attribute nsIDOMSVGAnimatedTransformList patternTransform; */
|
||||
NS_IMETHODIMP nsSVGPatternElement::GetPatternTransform(nsIDOMSVGAnimatedTransformList * *aPatternTransform)
|
||||
/* readonly attribute nsISupports patternTransform; */
|
||||
NS_IMETHODIMP nsSVGPatternElement::GetPatternTransform(nsISupports * *aPatternTransform)
|
||||
{
|
||||
// We're creating a DOM wrapper, so we must tell GetAnimatedTransformList
|
||||
// to allocate the SVGAnimatedTransformList if it hasn't already done so:
|
||||
|
@ -330,7 +330,6 @@
|
||||
#include "nsIDOMSVGAnimationElement.h"
|
||||
#include "nsIDOMElementTimeControl.h"
|
||||
#include "nsIDOMTimeEvent.h"
|
||||
#include "nsIDOMSVGAnimTransformList.h"
|
||||
#include "nsIDOMSVGCircleElement.h"
|
||||
#include "nsIDOMSVGClipPathElement.h"
|
||||
#include "nsIDOMSVGDefsElement.h"
|
||||
@ -376,7 +375,6 @@
|
||||
#include "nsIDOMSVGTitleElement.h"
|
||||
#include "nsIDOMSVGTransform.h"
|
||||
#include "nsIDOMSVGTransformable.h"
|
||||
#include "nsIDOMSVGTransformList.h"
|
||||
#include "nsIDOMSVGTSpanElement.h"
|
||||
#include "nsIDOMSVGUnitTypes.h"
|
||||
#include "nsIDOMSVGURIReference.h"
|
||||
@ -1236,8 +1234,6 @@ static nsDOMClassInfoData sClassInfoData[] = {
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGAnimatedString, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGAnimatedTransformList, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGEvent, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGLength, nsDOMGenericSH,
|
||||
@ -1258,8 +1254,6 @@ static nsDOMClassInfoData sClassInfoData[] = {
|
||||
ARRAY_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGTransform, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGTransformList, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(SVGZoomEvent, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
|
||||
@ -3521,10 +3515,6 @@ nsDOMClassInfo::Init()
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGAnimatedString)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(SVGAnimatedTransformList, nsIDOMSVGAnimatedTransformList)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGAnimatedTransformList)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(SVGEvent, nsIDOMSVGEvent)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGEvent)
|
||||
DOM_CLASSINFO_EVENT_MAP_ENTRIES
|
||||
@ -3566,10 +3556,6 @@ nsDOMClassInfo::Init()
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGTransform)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(SVGTransformList, nsIDOMSVGTransformList)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGTransformList)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(SVGZoomEvent, nsIDOMSVGZoomEvent)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGZoomEvent)
|
||||
DOM_CLASSINFO_UI_EVENT_MAP_ENTRIES
|
||||
|
@ -41,7 +41,6 @@ class nsIDOMSVGPoint;
|
||||
class nsIDOMSVGStringList;
|
||||
class nsIDOMSVGTests;
|
||||
class nsIDOMSVGTransform;
|
||||
class nsIDOMSVGTransformList;
|
||||
class nsIDOMWindow;
|
||||
class nsIForm;
|
||||
class nsIHTMLDocument;
|
||||
|
@ -263,7 +263,6 @@ DOMCI_CLASS(SVGAnimatedNumber)
|
||||
DOMCI_CLASS(SVGAnimatedNumberList)
|
||||
DOMCI_CLASS(SVGAnimatedRect)
|
||||
DOMCI_CLASS(SVGAnimatedString)
|
||||
DOMCI_CLASS(SVGAnimatedTransformList)
|
||||
DOMCI_CLASS(SVGEvent)
|
||||
DOMCI_CLASS(SVGLength)
|
||||
DOMCI_CLASS(SVGLengthList)
|
||||
@ -274,7 +273,6 @@ DOMCI_CLASS(SVGPoint)
|
||||
DOMCI_CLASS(SVGRect)
|
||||
DOMCI_CLASS(SVGStringList)
|
||||
DOMCI_CLASS(SVGTransform)
|
||||
DOMCI_CLASS(SVGTransformList)
|
||||
DOMCI_CLASS(SVGZoomEvent)
|
||||
|
||||
// Canvas
|
||||
|
@ -33,7 +33,6 @@ XPIDLSRCS = \
|
||||
nsIDOMSVGAnimateMotionElement.idl \
|
||||
nsIDOMSVGAnimateTransformElement.idl \
|
||||
nsIDOMSVGAnimationElement.idl \
|
||||
nsIDOMSVGAnimTransformList.idl \
|
||||
nsIDOMSVGCircleElement.idl \
|
||||
nsIDOMSVGClipPathElement.idl \
|
||||
nsIDOMSVGDefsElement.idl \
|
||||
@ -83,7 +82,6 @@ XPIDLSRCS = \
|
||||
nsIDOMSVGTextPositionElem.idl \
|
||||
nsIDOMSVGTitleElement.idl \
|
||||
nsIDOMSVGTransform.idl \
|
||||
nsIDOMSVGTransformList.idl \
|
||||
nsIDOMSVGTransformable.idl \
|
||||
nsIDOMSVGTSpanElement.idl \
|
||||
nsIDOMSVGURIReference.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 nsIDOMSVGTransformList;
|
||||
|
||||
[scriptable, uuid(fd54c8c4-2eb4-4849-8df6-79985c2491da)]
|
||||
interface nsIDOMSVGAnimatedTransformList : nsISupports
|
||||
{
|
||||
readonly attribute nsIDOMSVGTransformList baseVal;
|
||||
readonly attribute nsIDOMSVGTransformList animVal;
|
||||
};
|
@ -15,7 +15,6 @@
|
||||
*/
|
||||
|
||||
interface nsIDOMSVGAnimatedEnumeration;
|
||||
interface nsIDOMSVGAnimatedTransformList;
|
||||
|
||||
[scriptable, uuid(5056512E-2ACE-4B68-8F52-124E24CF0F55)]
|
||||
interface nsIDOMSVGGradientElement
|
||||
@ -38,7 +37,8 @@ interface nsIDOMSVGGradientElement
|
||||
const unsigned short SVG_SPREADMETHOD_REPEAT = 3;
|
||||
|
||||
readonly attribute nsIDOMSVGAnimatedEnumeration gradientUnits;
|
||||
readonly attribute nsIDOMSVGAnimatedTransformList gradientTransform;
|
||||
// SVGAnimatedTransformList
|
||||
readonly attribute nsISupports gradientTransform;
|
||||
readonly attribute nsIDOMSVGAnimatedEnumeration spreadMethod;
|
||||
};
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
*/
|
||||
|
||||
interface nsIDOMSVGAnimatedEnumeration;
|
||||
interface nsIDOMSVGAnimatedTransformList;
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(A8D23223-A3DA-46DB-87F0-EA6BBCF4A7DD)]
|
||||
@ -40,7 +39,8 @@ interface nsIDOMSVGPatternElement
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedEnumeration patternUnits;
|
||||
readonly attribute nsIDOMSVGAnimatedEnumeration patternContentUnits;
|
||||
readonly attribute nsIDOMSVGAnimatedTransformList patternTransform;
|
||||
// SVGAnimatedTransformList
|
||||
readonly attribute nsISupports patternTransform;
|
||||
readonly attribute nsIDOMSVGAnimatedLength x;
|
||||
readonly attribute nsIDOMSVGAnimatedLength y;
|
||||
readonly attribute nsIDOMSVGAnimatedLength width;
|
||||
|
@ -1,35 +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 nsIDOMSVGTransform;
|
||||
interface nsIDOMSVGMatrix;
|
||||
|
||||
[scriptable, uuid(e6ea8113-ccd8-4084-a15f-07ca7db1d3fe)]
|
||||
interface nsIDOMSVGTransformList : nsISupports
|
||||
{
|
||||
readonly attribute unsigned long numberOfItems;
|
||||
readonly attribute unsigned long length; // synonym for numberOfItems
|
||||
|
||||
void clear();
|
||||
// raises( DOMException );
|
||||
nsIDOMSVGTransform initialize(in nsIDOMSVGTransform newItem);
|
||||
// raises( DOMException, SVGException );
|
||||
nsIDOMSVGTransform getItem(in unsigned long index);
|
||||
// raises( DOMException );
|
||||
nsIDOMSVGTransform insertItemBefore(in nsIDOMSVGTransform newItem,
|
||||
in unsigned long index);
|
||||
// raises( DOMException, SVGException );
|
||||
nsIDOMSVGTransform replaceItem(in nsIDOMSVGTransform newItem,
|
||||
in unsigned long index);
|
||||
// raises( DOMException, SVGException );
|
||||
nsIDOMSVGTransform removeItem(in unsigned long index);
|
||||
// raises( DOMException );
|
||||
nsIDOMSVGTransform appendItem(in nsIDOMSVGTransform newItem);
|
||||
// raises( DOMException, SVGException );
|
||||
nsIDOMSVGTransform createSVGTransformFromMatrix(in nsIDOMSVGMatrix matrix);
|
||||
nsIDOMSVGTransform consolidate();
|
||||
};
|
@ -5,10 +5,9 @@
|
||||
|
||||
#include "nsIDOMSVGLocatable.idl"
|
||||
|
||||
interface nsIDOMSVGAnimatedTransformList;
|
||||
|
||||
[scriptable, uuid(b81f6e37-1842-4534-a546-1ab86e59a3c6)]
|
||||
interface nsIDOMSVGTransformable : nsIDOMSVGLocatable
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedTransformList transform;
|
||||
{
|
||||
// SVGAnimatedTransformList
|
||||
readonly attribute nsISupports transform;
|
||||
};
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
#include "nsIDOMSVGZoomAndPan.idl"
|
||||
|
||||
interface nsIDOMSVGTransformList;
|
||||
interface nsIDOMSVGElement;
|
||||
|
||||
[scriptable, uuid(ede34b03-57b6-45bf-a259-3550b5697286)]
|
||||
@ -21,7 +20,8 @@ interface nsIDOMSVGViewSpec : nsIDOMSVGZoomAndPan
|
||||
nsIDOMSVGFitToViewBox
|
||||
*/
|
||||
{
|
||||
readonly attribute nsIDOMSVGTransformList transform;
|
||||
// SVGTransformList
|
||||
readonly attribute nsISupports transform;
|
||||
readonly attribute nsIDOMSVGElement viewTarget;
|
||||
readonly attribute DOMString viewBoxString;
|
||||
readonly attribute DOMString preserveAspectRatioString;
|
||||
|
Loading…
Reference in New Issue
Block a user