Bug 727222 - mark some classes in content/html/content/src/ final. r=smaug.

This commit is contained in:
Rafael Ávila de Espíndola 2012-02-15 10:42:34 -05:00
parent 3c98a201a0
commit 001629a164
6 changed files with 10 additions and 9 deletions

View File

@ -42,7 +42,7 @@
#include "nsIConstraintValidation.h"
class nsDOMValidityState : public nsIDOMValidityState
class nsDOMValidityState MOZ_FINAL : public nsIDOMValidityState
{
public:
NS_DECL_ISUPPORTS

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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