зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1119264 - Mark virtual overridden functions as MOZ_OVERRIDE in chrome; r=bsmedberg
This commit is contained in:
Родитель
41d5c33e31
Коммит
022a23dbec
|
@ -47,16 +47,16 @@ public:
|
|||
NS_DECL_ISUPPORTS
|
||||
|
||||
// nsIXULChromeRegistry methods:
|
||||
NS_IMETHOD ReloadChrome();
|
||||
NS_IMETHOD RefreshSkins();
|
||||
NS_IMETHOD ReloadChrome() MOZ_OVERRIDE;
|
||||
NS_IMETHOD RefreshSkins() MOZ_OVERRIDE;
|
||||
NS_IMETHOD AllowScriptsForPackage(nsIURI* url,
|
||||
bool* _retval);
|
||||
bool* _retval) MOZ_OVERRIDE;
|
||||
NS_IMETHOD AllowContentToAccess(nsIURI* url,
|
||||
bool* _retval);
|
||||
bool* _retval) MOZ_OVERRIDE;
|
||||
|
||||
// nsIChromeRegistry methods:
|
||||
NS_IMETHOD_(bool) WrappersEnabled(nsIURI *aURI);
|
||||
NS_IMETHOD ConvertChromeURL(nsIURI* aChromeURI, nsIURI* *aResult);
|
||||
NS_IMETHOD_(bool) WrappersEnabled(nsIURI *aURI) MOZ_OVERRIDE;
|
||||
NS_IMETHOD ConvertChromeURL(nsIURI* aChromeURI, nsIURI* *aResult) MOZ_OVERRIDE;
|
||||
|
||||
// nsChromeRegistry methods:
|
||||
nsChromeRegistry() : mInitialized(false) { }
|
||||
|
|
|
@ -167,25 +167,25 @@ class nsChromeRegistryChrome : public nsChromeRegistry
|
|||
|
||||
virtual void ManifestContent(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
virtual void ManifestLocale(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
virtual void ManifestSkin(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
virtual void ManifestOverlay(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
virtual void ManifestStyle(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
virtual void ManifestOverride(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
virtual void ManifestResource(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
};
|
||||
|
||||
#endif // nsChromeRegistryChrome_h
|
||||
|
|
|
@ -66,25 +66,25 @@ class nsChromeRegistryContent : public nsChromeRegistry
|
|||
|
||||
virtual void ManifestContent(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
virtual void ManifestLocale(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
virtual void ManifestSkin(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
virtual void ManifestOverlay(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
virtual void ManifestStyle(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
virtual void ManifestOverride(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
virtual void ManifestResource(ManifestProcessingContext& cx, int lineno,
|
||||
char *const * argv, bool platform,
|
||||
bool contentaccessible);
|
||||
bool contentaccessible) MOZ_OVERRIDE;
|
||||
};
|
||||
|
||||
#endif // nsChromeRegistryContent_h
|
||||
|
|
Загрузка…
Ссылка в новой задаче