mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1146027 - more final r=froydnj
This commit is contained in:
parent
913bd799e1
commit
473f2ceb3c
@ -28,8 +28,8 @@ class HTMLContentElement;
|
||||
class HTMLShadowElement;
|
||||
class ShadowRootStyleSheetList;
|
||||
|
||||
class ShadowRoot : public DocumentFragment,
|
||||
public nsStubMutationObserver
|
||||
class ShadowRoot final : public DocumentFragment,
|
||||
public nsStubMutationObserver
|
||||
{
|
||||
friend class ShadowRootStyleSheetList;
|
||||
public:
|
||||
|
@ -81,8 +81,8 @@ private:
|
||||
};
|
||||
|
||||
// Helper class that implements the nsIDOMMozNamedAttrMap interface.
|
||||
class nsDOMAttributeMap : public nsIDOMMozNamedAttrMap
|
||||
, public nsWrapperCache
|
||||
class nsDOMAttributeMap final : public nsIDOMMozNamedAttrMap
|
||||
, public nsWrapperCache
|
||||
{
|
||||
public:
|
||||
typedef mozilla::dom::Attr Attr;
|
||||
|
@ -24,9 +24,9 @@ class File;
|
||||
class DataChannel;
|
||||
};
|
||||
|
||||
class nsDOMDataChannel : public mozilla::DOMEventTargetHelper,
|
||||
public nsIDOMDataChannel,
|
||||
public mozilla::DataChannelListener
|
||||
class nsDOMDataChannel final : public mozilla::DOMEventTargetHelper,
|
||||
public nsIDOMDataChannel,
|
||||
public mozilla::DataChannelListener
|
||||
{
|
||||
public:
|
||||
nsDOMDataChannel(already_AddRefed<mozilla::DataChannel>& aDataChannel,
|
||||
|
@ -30,10 +30,10 @@ class File;
|
||||
}
|
||||
}
|
||||
|
||||
class nsDOMFileReader : public mozilla::dom::FileIOObject,
|
||||
public nsIDOMFileReader,
|
||||
public nsIInterfaceRequestor,
|
||||
public nsSupportsWeakReference
|
||||
class nsDOMFileReader final : public mozilla::dom::FileIOObject,
|
||||
public nsIDOMFileReader,
|
||||
public nsIInterfaceRequestor,
|
||||
public nsSupportsWeakReference
|
||||
{
|
||||
typedef mozilla::ErrorResult ErrorResult;
|
||||
typedef mozilla::dom::GlobalObject GlobalObject;
|
||||
|
@ -267,7 +267,7 @@ CreateVoidVariant()
|
||||
//
|
||||
// We also use the same machinery for |returnValue|, which needs similar origin
|
||||
// checks.
|
||||
class DialogValueHolder : public nsISupports
|
||||
class DialogValueHolder final : public nsISupports
|
||||
{
|
||||
public:
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
@ -20,7 +20,7 @@
|
||||
class nsIContent;
|
||||
class nsIAtom;
|
||||
|
||||
class nsHTMLContentSerializer : public nsXHTMLContentSerializer {
|
||||
class nsHTMLContentSerializer final : public nsXHTMLContentSerializer {
|
||||
public:
|
||||
nsHTMLContentSerializer();
|
||||
virtual ~nsHTMLContentSerializer();
|
||||
|
@ -26,7 +26,7 @@ class EventChainPreVisitor;
|
||||
#include "nsTHashtable.h"
|
||||
#include "nsHashKeys.h"
|
||||
|
||||
class nsWindowRoot : public nsPIWindowRoot
|
||||
class nsWindowRoot final : public nsPIWindowRoot
|
||||
{
|
||||
public:
|
||||
explicit nsWindowRoot(nsPIDOMWindow* aWindow);
|
||||
|
@ -23,8 +23,8 @@ namespace dom {
|
||||
* This class provides a late-bound collection of rows in a table.
|
||||
* mParent is NOT ref-counted to avoid circular references
|
||||
*/
|
||||
class TableRowsCollection : public nsIHTMLCollection,
|
||||
public nsWrapperCache
|
||||
class TableRowsCollection final : public nsIHTMLCollection,
|
||||
public nsWrapperCache
|
||||
{
|
||||
public:
|
||||
explicit TableRowsCollection(HTMLTableElement* aParent);
|
||||
|
@ -52,8 +52,8 @@ class PStorageChild;
|
||||
class ClonedMessageData;
|
||||
class TabChild;
|
||||
|
||||
class ContentChild : public PContentChild
|
||||
, public nsIContentChild
|
||||
class ContentChild final : public PContentChild
|
||||
, public nsIContentChild
|
||||
{
|
||||
typedef mozilla::dom::ClonedMessageData ClonedMessageData;
|
||||
typedef mozilla::ipc::OptionalURIParams OptionalURIParams;
|
||||
|
@ -58,12 +58,12 @@ class nsIContentParent;
|
||||
class Element;
|
||||
struct StructuredCloneData;
|
||||
|
||||
class TabParent : public PBrowserParent
|
||||
, public nsITabParent
|
||||
, public nsIAuthPromptProvider
|
||||
, public nsISecureBrowserUI
|
||||
, public nsSupportsWeakReference
|
||||
, public TabContext
|
||||
class TabParent final : public PBrowserParent
|
||||
, public nsITabParent
|
||||
, public nsIAuthPromptProvider
|
||||
, public nsISecureBrowserUI
|
||||
, public nsSupportsWeakReference
|
||||
, public TabContext
|
||||
{
|
||||
typedef mozilla::dom::ClonedMessageData ClonedMessageData;
|
||||
|
||||
|
@ -19,8 +19,8 @@ namespace dom {
|
||||
|
||||
typedef nsSVGFE SVGFEImageElementBase;
|
||||
|
||||
class SVGFEImageElement : public SVGFEImageElementBase,
|
||||
public nsImageLoadingContent
|
||||
class SVGFEImageElement final : public SVGFEImageElementBase,
|
||||
public nsImageLoadingContent
|
||||
{
|
||||
friend class ::SVGFEImageFrame;
|
||||
|
||||
|
@ -13,8 +13,8 @@
|
||||
|
||||
class nsIControllerCommand;
|
||||
|
||||
class nsControllerCommandTable : public nsIControllerCommandTable,
|
||||
public nsSupportsWeakReference
|
||||
class nsControllerCommandTable final : public nsIControllerCommandTable,
|
||||
public nsSupportsWeakReference
|
||||
{
|
||||
public:
|
||||
|
||||
|
@ -49,7 +49,7 @@ class GradientStopsCairo : public GradientStops
|
||||
ExtendMode mExtendMode;
|
||||
};
|
||||
|
||||
class DrawTargetCairo : public DrawTarget
|
||||
class DrawTargetCairo final : public DrawTarget
|
||||
{
|
||||
public:
|
||||
MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME(DrawTargetCairo, override)
|
||||
|
@ -35,8 +35,8 @@ class ShadowLayerParent;
|
||||
class CompositableParent;
|
||||
class ShadowLayersManager;
|
||||
|
||||
class LayerTransactionParent : public PLayerTransactionParent,
|
||||
public CompositableParentManager
|
||||
class LayerTransactionParent final : public PLayerTransactionParent,
|
||||
public CompositableParentManager
|
||||
{
|
||||
typedef mozilla::layout::RenderFrameParent RenderFrameParent;
|
||||
typedef InfallibleTArray<Edit> EditArray;
|
||||
|
@ -131,7 +131,7 @@ class Transaction;
|
||||
* from the content thread. (See CompositableForwarder.h and ImageBridgeChild.h)
|
||||
*/
|
||||
|
||||
class ShadowLayerForwarder : public CompositableForwarder
|
||||
class ShadowLayerForwarder final : public CompositableForwarder
|
||||
{
|
||||
friend class ClientLayerManager;
|
||||
|
||||
|
@ -102,9 +102,9 @@ namespace css {
|
||||
* Data needed to properly load a stylesheet *
|
||||
*********************************************/
|
||||
|
||||
class SheetLoadData : public nsIRunnable,
|
||||
public nsIUnicharStreamLoaderObserver,
|
||||
public nsIThreadObserver
|
||||
class SheetLoadData final : public nsIRunnable,
|
||||
public nsIUnicharStreamLoaderObserver,
|
||||
public nsIThreadObserver
|
||||
{
|
||||
protected:
|
||||
virtual ~SheetLoadData(void);
|
||||
|
@ -16,8 +16,8 @@
|
||||
|
||||
class nsROCSSPrimitiveValue;
|
||||
|
||||
class nsDOMCSSRect : public nsIDOMRect,
|
||||
public nsWrapperCache
|
||||
class nsDOMCSSRect final : public nsIDOMRect,
|
||||
public nsWrapperCache
|
||||
{
|
||||
public:
|
||||
nsDOMCSSRect(nsROCSSPrimitiveValue* aTop,
|
||||
|
@ -175,9 +175,9 @@ class PrefCallback : public PLDHashEntryHdr {
|
||||
}
|
||||
};
|
||||
|
||||
class nsPrefBranch : public nsIPrefBranchInternal,
|
||||
public nsIObserver,
|
||||
public nsSupportsWeakReference
|
||||
class nsPrefBranch final : public nsIPrefBranchInternal,
|
||||
public nsIObserver,
|
||||
public nsSupportsWeakReference
|
||||
{
|
||||
friend class mozilla::PreferenceServiceReporter;
|
||||
public:
|
||||
@ -228,8 +228,8 @@ private:
|
||||
};
|
||||
|
||||
|
||||
class nsPrefLocalizedString : public nsIPrefLocalizedString,
|
||||
public nsISupportsString
|
||||
class nsPrefLocalizedString final : public nsIPrefLocalizedString,
|
||||
public nsISupportsString
|
||||
{
|
||||
public:
|
||||
nsPrefLocalizedString();
|
||||
|
@ -338,8 +338,8 @@ private:
|
||||
//// BackgroundFileSaverStreamListener. This class is instantiated by
|
||||
// nsExternalHelperAppService, DownloadCore.jsm, and possibly others.
|
||||
|
||||
class BackgroundFileSaverStreamListener : public BackgroundFileSaver
|
||||
, public nsIStreamListener
|
||||
class BackgroundFileSaverStreamListener final : public BackgroundFileSaver
|
||||
, public nsIStreamListener
|
||||
{
|
||||
public:
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
|
@ -27,7 +27,7 @@ class DnsData;
|
||||
class WebSocketRequest;
|
||||
class ConnectionData;
|
||||
|
||||
class Dashboard
|
||||
class Dashboard final
|
||||
: public nsIDashboard
|
||||
, public nsIDashboardEventNotifier
|
||||
{
|
||||
|
@ -16,8 +16,8 @@
|
||||
namespace mozilla {
|
||||
namespace net {
|
||||
|
||||
class TLSServerSocket : public nsServerSocket
|
||||
, public nsITLSServerSocket
|
||||
class TLSServerSocket final : public nsServerSocket
|
||||
, public nsITLSServerSocket
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
@ -88,10 +88,10 @@ protected:
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class nsBufferedOutputStream : public nsBufferedStream,
|
||||
public nsISafeOutputStream,
|
||||
public nsIBufferedOutputStream,
|
||||
public nsIStreamBufferAccess
|
||||
class nsBufferedOutputStream final : public nsBufferedStream,
|
||||
public nsISafeOutputStream,
|
||||
public nsIBufferedOutputStream,
|
||||
public nsIStreamBufferAccess
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
@ -44,9 +44,9 @@ public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(CacheFileListener, CACHEFILELISTENER_IID)
|
||||
|
||||
|
||||
class CacheFile : public CacheFileChunkListener
|
||||
, public CacheFileIOListener
|
||||
, public CacheFileMetadataListener
|
||||
class CacheFile final : public CacheFileChunkListener
|
||||
, public CacheFileIOListener
|
||||
, public CacheFileMetadataListener
|
||||
{
|
||||
public:
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
|
@ -16,7 +16,7 @@
|
||||
namespace mozilla {
|
||||
namespace net {
|
||||
|
||||
class DNSRequestChild
|
||||
class DNSRequestChild final
|
||||
: public PDNSRequestChild
|
||||
, public nsICancelable
|
||||
{
|
||||
|
@ -22,9 +22,9 @@ class nsIPrefBranch;
|
||||
|
||||
#define kACEPrefixLen 4
|
||||
|
||||
class nsIDNService : public nsIIDNService,
|
||||
public nsIObserver,
|
||||
public nsSupportsWeakReference
|
||||
class nsIDNService final : public nsIIDNService,
|
||||
public nsIObserver,
|
||||
public nsSupportsWeakReference
|
||||
{
|
||||
public:
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
|
@ -17,8 +17,8 @@
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsTArray.h"
|
||||
|
||||
class nsAboutCache : public nsIAboutModule
|
||||
, public nsICacheStorageVisitor
|
||||
class nsAboutCache final : public nsIAboutModule
|
||||
, public nsICacheStorageVisitor
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
@ -29,14 +29,14 @@ namespace net {
|
||||
// nsBaseChannel and have a new class that has only the common logic for
|
||||
// nsFTPChannel/FTPChannelChild.
|
||||
|
||||
class FTPChannelChild : public PFTPChannelChild
|
||||
, public nsBaseChannel
|
||||
, public nsIFTPChannel
|
||||
, public nsIUploadChannel
|
||||
, public nsIResumableChannel
|
||||
, public nsIProxiedChannel
|
||||
, public nsIChildChannel
|
||||
, public nsIDivertableChannel
|
||||
class FTPChannelChild final : public PFTPChannelChild
|
||||
, public nsBaseChannel
|
||||
, public nsIFTPChannel
|
||||
, public nsIUploadChannel
|
||||
, public nsIResumableChannel
|
||||
, public nsIProxiedChannel
|
||||
, public nsIChildChannel
|
||||
, public nsIDivertableChannel
|
||||
{
|
||||
public:
|
||||
typedef ::nsIStreamListener nsIStreamListener;
|
||||
|
@ -20,12 +20,12 @@
|
||||
|
||||
class nsIURI;
|
||||
|
||||
class nsFtpChannel : public nsBaseChannel,
|
||||
public nsIFTPChannel,
|
||||
public nsIUploadChannel,
|
||||
public nsIResumableChannel,
|
||||
public nsIProxiedChannel,
|
||||
public nsIForcePendingChannel
|
||||
class nsFtpChannel final : public nsBaseChannel,
|
||||
public nsIFTPChannel,
|
||||
public nsIUploadChannel,
|
||||
public nsIResumableChannel,
|
||||
public nsIProxiedChannel,
|
||||
public nsIForcePendingChannel
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
@ -35,13 +35,13 @@ namespace net {
|
||||
|
||||
class HttpChannelParentListener;
|
||||
|
||||
class HttpChannelParent : public PHttpChannelParent
|
||||
, public nsIParentRedirectingChannel
|
||||
, public nsIProgressEventSink
|
||||
, public nsIInterfaceRequestor
|
||||
, public ADivertableParentChannel
|
||||
, public nsIAuthPromptProvider
|
||||
, public DisconnectableParent
|
||||
class HttpChannelParent final : public PHttpChannelParent
|
||||
, public nsIParentRedirectingChannel
|
||||
, public nsIProgressEventSink
|
||||
, public nsIInterfaceRequestor
|
||||
, public ADivertableParentChannel
|
||||
, public nsIAuthPromptProvider
|
||||
, public DisconnectableParent
|
||||
{
|
||||
virtual ~HttpChannelParent();
|
||||
|
||||
|
@ -19,10 +19,10 @@ namespace net {
|
||||
|
||||
class HttpChannelParent;
|
||||
|
||||
class HttpChannelParentListener : public nsIInterfaceRequestor
|
||||
, public nsIChannelEventSink
|
||||
, public nsIRedirectResultListener
|
||||
, public nsIStreamListener
|
||||
class HttpChannelParentListener final : public nsIInterfaceRequestor
|
||||
, public nsIChannelEventSink
|
||||
, public nsIRedirectResultListener
|
||||
, public nsIStreamListener
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
@ -31,8 +31,8 @@ struct HttpRetParams;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
class nsHttpConnectionMgr : public nsIObserver
|
||||
, public AltSvcCache
|
||||
class nsHttpConnectionMgr final : public nsIObserver
|
||||
, public AltSvcCache
|
||||
{
|
||||
public:
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
|
@ -17,8 +17,8 @@ namespace net {
|
||||
class ChannelEvent;
|
||||
class ChannelEventQueue;
|
||||
|
||||
class WebSocketChannelChild : public BaseWebSocketChannel,
|
||||
public PWebSocketChild
|
||||
class WebSocketChannelChild final : public BaseWebSocketChannel,
|
||||
public PWebSocketChild
|
||||
{
|
||||
public:
|
||||
explicit WebSocketChannelChild(bool aSecure);
|
||||
|
@ -36,9 +36,9 @@ enum WyciwygChannelChildState {
|
||||
|
||||
|
||||
// Header file contents
|
||||
class WyciwygChannelChild : public PWyciwygChannelChild
|
||||
, public nsIWyciwygChannel
|
||||
, public PrivateBrowsingChannel<WyciwygChannelChild>
|
||||
class WyciwygChannelChild final : public PWyciwygChannelChild
|
||||
, public nsIWyciwygChannel
|
||||
, public PrivateBrowsingChannel<WyciwygChannelChild>
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
@ -29,10 +29,10 @@ extern PRLogModuleInfo * gWyciwygLog;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
class nsWyciwygChannel: public nsIWyciwygChannel,
|
||||
public nsIStreamListener,
|
||||
public nsICacheEntryOpenCallback,
|
||||
public mozilla::net::PrivateBrowsingChannel<nsWyciwygChannel>
|
||||
class nsWyciwygChannel final: public nsIWyciwygChannel,
|
||||
public nsIStreamListener,
|
||||
public nsICacheEntryOpenCallback,
|
||||
public mozilla::net::PrivateBrowsingChannel<nsWyciwygChannel>
|
||||
{
|
||||
public:
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
|
@ -139,7 +139,7 @@ struct nsPipeReadState
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
// an input end of a pipe (maintained as a list of refs within the pipe)
|
||||
class nsPipeInputStream
|
||||
class nsPipeInputStream final
|
||||
: public nsIAsyncInputStream
|
||||
, public nsISeekableStream
|
||||
, public nsISearchableInputStream
|
||||
|
@ -336,7 +336,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class ThreadStackHelper::ThreadContext
|
||||
class ThreadStackHelper::ThreadContext final
|
||||
: public google_breakpad::MemoryRegion
|
||||
{
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user