зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1118550 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/xml; r=baku
This commit is contained in:
Родитель
80b0de2eb3
Коммит
ebaa5caa18
|
@ -57,7 +57,7 @@ public:
|
||||||
// Empty interface
|
// Empty interface
|
||||||
|
|
||||||
// nsINode
|
// nsINode
|
||||||
virtual bool IsNodeOfType(uint32_t aFlags) const;
|
virtual bool IsNodeOfType(uint32_t aFlags) const MOZ_OVERRIDE;
|
||||||
|
|
||||||
virtual nsGenericDOMDataNode* CloneDataNode(mozilla::dom::NodeInfo *aNodeInfo,
|
virtual nsGenericDOMDataNode* CloneDataNode(mozilla::dom::NodeInfo *aNodeInfo,
|
||||||
bool aCloneText) const MOZ_OVERRIDE;
|
bool aCloneText) const MOZ_OVERRIDE;
|
||||||
|
|
|
@ -35,7 +35,7 @@ public:
|
||||||
NS_DECL_NSIDOMPROCESSINGINSTRUCTION
|
NS_DECL_NSIDOMPROCESSINGINSTRUCTION
|
||||||
|
|
||||||
// nsINode
|
// nsINode
|
||||||
virtual bool IsNodeOfType(uint32_t aFlags) const;
|
virtual bool IsNodeOfType(uint32_t aFlags) const MOZ_OVERRIDE;
|
||||||
|
|
||||||
virtual nsGenericDOMDataNode* CloneDataNode(mozilla::dom::NodeInfo *aNodeInfo,
|
virtual nsGenericDOMDataNode* CloneDataNode(mozilla::dom::NodeInfo *aNodeInfo,
|
||||||
bool aCloneText) const MOZ_OVERRIDE;
|
bool aCloneText) const MOZ_OVERRIDE;
|
||||||
|
|
|
@ -45,51 +45,51 @@ public:
|
||||||
nsXMLContentSink)
|
nsXMLContentSink)
|
||||||
|
|
||||||
// nsIExpatSink
|
// nsIExpatSink
|
||||||
NS_IMETHOD HandleDoctypeDecl(const nsAString & aSubset,
|
NS_IMETHOD HandleDoctypeDecl(const nsAString& aSubset,
|
||||||
const nsAString & aName,
|
const nsAString& aName,
|
||||||
const nsAString & aSystemId,
|
const nsAString& aSystemId,
|
||||||
const nsAString & aPublicId,
|
const nsAString& aPublicId,
|
||||||
nsISupports* aCatalogData);
|
nsISupports* aCatalogData) MOZ_OVERRIDE;
|
||||||
NS_IMETHOD HandleProcessingInstruction(const char16_t *aTarget,
|
NS_IMETHOD HandleProcessingInstruction(const char16_t* aTarget,
|
||||||
const char16_t *aData);
|
const char16_t* aData) MOZ_OVERRIDE;
|
||||||
NS_IMETHOD HandleXMLDeclaration(const char16_t *aVersion,
|
NS_IMETHOD HandleXMLDeclaration(const char16_t* aVersion,
|
||||||
const char16_t *aEncoding,
|
const char16_t* aEncoding,
|
||||||
int32_t aStandalone);
|
int32_t aStandalone) MOZ_OVERRIDE;
|
||||||
NS_IMETHOD ReportError(const char16_t* aErrorText,
|
NS_IMETHOD ReportError(const char16_t* aErrorText,
|
||||||
const char16_t* aSourceText,
|
const char16_t* aSourceText,
|
||||||
nsIScriptError *aError,
|
nsIScriptError* aError,
|
||||||
bool *_retval);
|
bool* aRetval) MOZ_OVERRIDE;
|
||||||
|
|
||||||
// nsIContentSink
|
// nsIContentSink
|
||||||
NS_IMETHOD WillBuildModel(nsDTDMode aDTDMode);
|
NS_IMETHOD WillBuildModel(nsDTDMode aDTDMode) MOZ_OVERRIDE;
|
||||||
NS_IMETHOD DidBuildModel(bool aTerminated);
|
NS_IMETHOD DidBuildModel(bool aTerminated) MOZ_OVERRIDE;
|
||||||
NS_IMETHOD SetDocumentCharset(nsACString& aCharset);
|
NS_IMETHOD SetDocumentCharset(nsACString& aCharset) MOZ_OVERRIDE;
|
||||||
virtual nsISupports *GetTarget();
|
virtual nsISupports* GetTarget() MOZ_OVERRIDE;
|
||||||
NS_IMETHOD DidProcessATokenImpl();
|
NS_IMETHOD DidProcessATokenImpl();
|
||||||
|
|
||||||
// nsIXMLContentSink
|
// nsIXMLContentSink
|
||||||
|
|
||||||
// nsIFragmentContentSink
|
// nsIFragmentContentSink
|
||||||
NS_IMETHOD FinishFragmentParsing(nsIDOMDocumentFragment** aFragment);
|
NS_IMETHOD FinishFragmentParsing(nsIDOMDocumentFragment** aFragment) MOZ_OVERRIDE;
|
||||||
NS_IMETHOD SetTargetDocument(nsIDocument* aDocument);
|
NS_IMETHOD SetTargetDocument(nsIDocument* aDocument) MOZ_OVERRIDE;
|
||||||
NS_IMETHOD WillBuildContent();
|
NS_IMETHOD WillBuildContent() MOZ_OVERRIDE;
|
||||||
NS_IMETHOD DidBuildContent();
|
NS_IMETHOD DidBuildContent() MOZ_OVERRIDE;
|
||||||
NS_IMETHOD IgnoreFirstContainer();
|
NS_IMETHOD IgnoreFirstContainer() MOZ_OVERRIDE;
|
||||||
NS_IMETHOD SetPreventScriptExecution(bool aPreventScriptExecution);
|
NS_IMETHOD SetPreventScriptExecution(bool aPreventScriptExecution) MOZ_OVERRIDE;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual ~nsXMLFragmentContentSink();
|
virtual ~nsXMLFragmentContentSink();
|
||||||
|
|
||||||
virtual bool SetDocElement(int32_t aNameSpaceID,
|
virtual bool SetDocElement(int32_t aNameSpaceID,
|
||||||
nsIAtom *aTagName,
|
nsIAtom* aTagName,
|
||||||
nsIContent *aContent);
|
nsIContent* aContent) MOZ_OVERRIDE;
|
||||||
virtual nsresult CreateElement(const char16_t** aAtts, uint32_t aAttsCount,
|
virtual nsresult CreateElement(const char16_t** aAtts, uint32_t aAttsCount,
|
||||||
mozilla::dom::NodeInfo* aNodeInfo, uint32_t aLineNumber,
|
mozilla::dom::NodeInfo* aNodeInfo, uint32_t aLineNumber,
|
||||||
nsIContent** aResult, bool* aAppendContent,
|
nsIContent** aResult, bool* aAppendContent,
|
||||||
mozilla::dom::FromParser aFromParser);
|
mozilla::dom::FromParser aFromParser) MOZ_OVERRIDE;
|
||||||
virtual nsresult CloseElement(nsIContent* aContent);
|
virtual nsresult CloseElement(nsIContent* aContent) MOZ_OVERRIDE;
|
||||||
|
|
||||||
virtual void MaybeStartLayout(bool aIgnorePendingSheets);
|
virtual void MaybeStartLayout(bool aIgnorePendingSheets) MOZ_OVERRIDE;
|
||||||
|
|
||||||
// nsContentSink overrides
|
// nsContentSink overrides
|
||||||
virtual nsresult ProcessStyleLink(nsIContent* aElement,
|
virtual nsresult ProcessStyleLink(nsIContent* aElement,
|
||||||
|
@ -97,7 +97,7 @@ protected:
|
||||||
bool aAlternate,
|
bool aAlternate,
|
||||||
const nsSubstring& aTitle,
|
const nsSubstring& aTitle,
|
||||||
const nsSubstring& aType,
|
const nsSubstring& aType,
|
||||||
const nsSubstring& aMedia);
|
const nsSubstring& aMedia) MOZ_OVERRIDE;
|
||||||
nsresult LoadXSLStyleSheet(nsIURI* aUrl);
|
nsresult LoadXSLStyleSheet(nsIURI* aUrl);
|
||||||
void StartLayout();
|
void StartLayout();
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче