зеркало из https://github.com/mozilla/gecko-dev.git
Bug 892853 - Remove some xpidl for SVG r=Ms2ger
This commit is contained in:
Родитель
36742876f7
Коммит
25658dc89f
|
@ -19,7 +19,6 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(SVGAnimatedEnumeration)
|
|||
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(SVGAnimatedEnumeration)
|
||||
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedEnumeration)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#ifndef mozilla_dom_SVGAnimatedEnumeration_h
|
||||
#define mozilla_dom_SVGAnimatedEnumeration_h
|
||||
|
||||
#include "nsIDOMSVGAnimatedEnum.h"
|
||||
#include "nsWrapperCache.h"
|
||||
|
||||
#include "nsSVGElement.h"
|
||||
|
@ -15,7 +14,7 @@
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
class SVGAnimatedEnumeration : public nsIDOMSVGAnimatedEnumeration
|
||||
class SVGAnimatedEnumeration : public nsISupports
|
||||
, public nsWrapperCache
|
||||
{
|
||||
public:
|
||||
|
@ -34,23 +33,6 @@ public:
|
|||
virtual void SetBaseVal(uint16_t aBaseVal, ErrorResult& aRv) = 0;
|
||||
virtual uint16_t AnimVal() = 0;
|
||||
|
||||
NS_IMETHOD GetBaseVal(uint16_t* aResult) MOZ_OVERRIDE MOZ_FINAL
|
||||
{
|
||||
*aResult = BaseVal();
|
||||
return NS_OK;
|
||||
}
|
||||
NS_IMETHOD SetBaseVal(uint16_t aValue) MOZ_OVERRIDE MOZ_FINAL
|
||||
{
|
||||
ErrorResult rv;
|
||||
SetBaseVal(aValue, rv);
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
NS_IMETHOD GetAnimVal(uint16_t* aResult) MOZ_OVERRIDE MOZ_FINAL
|
||||
{
|
||||
*aResult = AnimVal();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
protected:
|
||||
explicit SVGAnimatedEnumeration(nsSVGElement* aSVGElement)
|
||||
: mSVGElement(aSVGElement)
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#ifndef mozilla_dom_SVGAnimatedInteger_h
|
||||
#define mozilla_dom_SVGAnimatedInteger_h
|
||||
|
||||
#include "nsIDOMSVGAnimatedEnum.h"
|
||||
#include "nsWrapperCache.h"
|
||||
|
||||
#include "nsSVGElement.h"
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "mozilla/Util.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsGkAtoms.h"
|
||||
#include "nsIDOMSVGAnimatedEnum.h"
|
||||
#include "nsSVGElement.h"
|
||||
|
||||
NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(LinearGradient)
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include "nsSVGTextContainerFrame.h"
|
||||
#include "nsSVGTextFrame2.h"
|
||||
#include "mozilla/dom/SVGIRect.h"
|
||||
#include "nsIDOMSVGAnimatedEnum.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include "nsAutoPtr.h"
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
#include "nsError.h"
|
||||
#include "nsIDOMSVGAnimatedEnum.h"
|
||||
#include "nsISMILAttr.h"
|
||||
#include "nsSVGElement.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
XPIDL_SOURCES += [
|
||||
'nsIDOMSVGAnimatedEnum.idl',
|
||||
'nsIDOMSVGAnimatedNumber.idl',
|
||||
'nsIDOMSVGElement.idl',
|
||||
'nsIDOMSVGLength.idl',
|
||||
'nsIDOMSVGNumber.idl',
|
||||
|
|
|
@ -1,14 +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"
|
||||
|
||||
[scriptable, uuid(73b101bd-797b-470f-9308-c24c64278bcd)]
|
||||
interface nsIDOMSVGAnimatedEnumeration : nsISupports
|
||||
{
|
||||
attribute unsigned short baseVal;
|
||||
// raises DOMException on setting
|
||||
readonly attribute unsigned short animVal;
|
||||
};
|
|
@ -1,27 +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 nsIDOMSVGAnimatedNumber interface is the interface to an SVG
|
||||
* Animated Number.
|
||||
*
|
||||
* For more information on this interface please see
|
||||
* http://www.w3.org/TR/SVG11/types.html
|
||||
*
|
||||
*/
|
||||
|
||||
interface nsIDOMSVGNumber;
|
||||
|
||||
[scriptable, uuid(716e3b11-b03b-49f7-b82d-5383922b0ab3)]
|
||||
interface nsIDOMSVGAnimatedNumber : nsISupports
|
||||
{
|
||||
attribute float baseVal;
|
||||
// raises DOMException on setting
|
||||
readonly attribute float animVal;
|
||||
};
|
||||
|
||||
|
|
@ -12,7 +12,6 @@
|
|||
#include "mozilla/dom/SVGGradientElement.h"
|
||||
#include "mozilla/dom/SVGStopElement.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsIDOMSVGAnimatedNumber.h"
|
||||
#include "nsSVGEffects.h"
|
||||
#include "nsSVGAnimatedTransformList.h"
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "nsCaret.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsGkAtoms.h"
|
||||
#include "nsIDOMSVGAnimatedNumber.h"
|
||||
#include "nsIDOMSVGLength.h"
|
||||
#include "nsISVGGlyphFragmentNode.h"
|
||||
#include "nsISelection.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче