mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 727222 - mark some classes in content/html/content/src/ final. r=smaug.
This commit is contained in:
parent
3c98a201a0
commit
001629a164
@ -42,7 +42,7 @@
|
||||
#include "nsIConstraintValidation.h"
|
||||
|
||||
|
||||
class nsDOMValidityState : public nsIDOMValidityState
|
||||
class nsDOMValidityState MOZ_FINAL : public nsIDOMValidityState
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
@ -185,7 +185,7 @@ static const nsAttrValue::EnumTable* kInputDefaultAutocomplete = &kInputAutocomp
|
||||
{0xb5, 0x13, 0x7b, 0x36, 0x93, 0x43, 0xe3, 0xa0} \
|
||||
}
|
||||
|
||||
class nsHTMLInputElementState : public nsISupports
|
||||
class nsHTMLInputElementState MOZ_FINAL : public nsISupports
|
||||
{
|
||||
public:
|
||||
NS_DECLARE_STATIC_IID_ACCESSOR(NS_INPUT_ELEMENT_STATE_IID)
|
||||
|
@ -57,7 +57,7 @@ class nsIRadioGroupContainer;
|
||||
class nsIRadioGroupVisitor;
|
||||
class nsIRadioVisitor;
|
||||
|
||||
class UploadLastDir : public nsIObserver, public nsSupportsWeakReference {
|
||||
class UploadLastDir MOZ_FINAL : public nsIObserver, public nsSupportsWeakReference {
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIOBSERVER
|
||||
|
@ -243,10 +243,10 @@ public:
|
||||
* to an nsIChannel, which holds a reference to this listener.
|
||||
* We break the reference cycle in OnStartRequest by clearing mElement.
|
||||
*/
|
||||
class nsHTMLMediaElement::MediaLoadListener : public nsIStreamListener,
|
||||
public nsIChannelEventSink,
|
||||
public nsIInterfaceRequestor,
|
||||
public nsIObserver
|
||||
class nsHTMLMediaElement::MediaLoadListener MOZ_FINAL : public nsIStreamListener,
|
||||
public nsIChannelEventSink,
|
||||
public nsIInterfaceRequestor,
|
||||
public nsIObserver
|
||||
{
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIREQUESTOBSERVER
|
||||
|
@ -37,8 +37,9 @@
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
#include "nsIDOMMediaError.h"
|
||||
#include "nsISupports.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
class nsMediaError : public nsIDOMMediaError
|
||||
class nsMediaError MOZ_FINAL : public nsIDOMMediaError
|
||||
{
|
||||
public:
|
||||
nsMediaError(PRUint16 aCode);
|
||||
|
@ -45,7 +45,7 @@
|
||||
|
||||
// Implements media TimeRanges:
|
||||
// http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#timeranges
|
||||
class nsTimeRanges : public nsIDOMTimeRanges {
|
||||
class nsTimeRanges MOZ_FINAL : public nsIDOMTimeRanges {
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIDOMTIMERANGES
|
||||
|
Loading…
Reference in New Issue
Block a user