mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent
This commit is contained in:
parent
ed6788888b
commit
f00583cc36
@ -26,8 +26,10 @@ public:
|
||||
void DrawToCanvas(const nsIntSize& renderedSize,
|
||||
const nsCString& aData);
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool Recv__delete__(const nsIntSize& renderedSize,
|
||||
const nsCString& data);
|
||||
const nsCString& data) MOZ_OVERRIDE;
|
||||
|
||||
private:
|
||||
nsCOMPtr<nsICanvasRenderingContextInternal> mCanvas;
|
||||
|
@ -48,6 +48,12 @@ void DocumentRendererParent::DrawToCanvas(const nsIntSize& aSize,
|
||||
mCanvas->Redraw(damageRect);
|
||||
}
|
||||
|
||||
void
|
||||
DocumentRendererParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005139
|
||||
}
|
||||
|
||||
bool
|
||||
DocumentRendererParent::Recv__delete__(const nsIntSize& renderedSize,
|
||||
const nsCString& data)
|
||||
|
@ -18,6 +18,12 @@ SpeechSynthesisParent::~SpeechSynthesisParent()
|
||||
MOZ_COUNT_DTOR(SpeechSynthesisParent);
|
||||
}
|
||||
|
||||
void
|
||||
SpeechSynthesisParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005141
|
||||
}
|
||||
|
||||
bool
|
||||
SpeechSynthesisParent::RecvReadVoiceList(InfallibleTArray<RemoteVoice>* aVoices,
|
||||
InfallibleTArray<nsString>* aDefaults)
|
||||
@ -81,6 +87,12 @@ SpeechSynthesisRequestParent::~SpeechSynthesisRequestParent()
|
||||
MOZ_COUNT_DTOR(SpeechSynthesisRequestParent);
|
||||
}
|
||||
|
||||
void
|
||||
SpeechSynthesisRequestParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005141
|
||||
}
|
||||
|
||||
bool
|
||||
SpeechSynthesisRequestParent::RecvPause()
|
||||
{
|
||||
|
@ -22,6 +22,8 @@ class SpeechSynthesisParent : public PSpeechSynthesisParent
|
||||
friend class SpeechSynthesisRequestParent;
|
||||
|
||||
public:
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
bool RecvReadVoiceList(InfallibleTArray<RemoteVoice>* aVoices,
|
||||
InfallibleTArray<nsString>* aDefaults) MOZ_OVERRIDE;
|
||||
|
||||
@ -57,6 +59,8 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool RecvPause() MOZ_OVERRIDE;
|
||||
|
||||
virtual bool RecvResume() MOZ_OVERRIDE;
|
||||
|
@ -25,6 +25,12 @@ FMRadioParent::~FMRadioParent()
|
||||
IFMRadioService::Singleton()->RemoveObserver(this);
|
||||
}
|
||||
|
||||
void
|
||||
FMRadioParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005146
|
||||
}
|
||||
|
||||
bool
|
||||
FMRadioParent::RecvGetStatusInfo(StatusInfo* aStatusInfo)
|
||||
{
|
||||
|
@ -22,6 +22,9 @@ public:
|
||||
FMRadioParent();
|
||||
~FMRadioParent();
|
||||
|
||||
virtual void
|
||||
ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool
|
||||
RecvGetStatusInfo(StatusInfo* aStatusInfo) MOZ_OVERRIDE;
|
||||
|
||||
|
@ -2219,6 +2219,12 @@ IndexedDBDeleteDatabaseRequestParent::HandleEvent(nsIDOMEvent* aEvent)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
IndexedDBDeleteDatabaseRequestParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005149
|
||||
}
|
||||
|
||||
nsresult
|
||||
IndexedDBDeleteDatabaseRequestParent::SetOpenRequest(
|
||||
IDBOpenDBRequest* aOpenRequest)
|
||||
|
@ -863,6 +863,8 @@ protected:
|
||||
IndexedDBDeleteDatabaseRequestParent(IDBFactory* aFactory);
|
||||
virtual ~IndexedDBDeleteDatabaseRequestParent();
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
nsresult
|
||||
SetOpenRequest(IDBOpenDBRequest* aOpenRequest);
|
||||
|
||||
|
@ -474,6 +474,9 @@ public:
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
}
|
||||
|
||||
protected:
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
private:
|
||||
// This method is only called by the IPDL message machinery.
|
||||
virtual bool
|
||||
@ -2160,6 +2163,12 @@ InputStreamChild::Recv__delete__(const InputStreamParams& aParams,
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
InputStreamParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005150
|
||||
}
|
||||
|
||||
bool
|
||||
InputStreamParent::Recv__delete__(const InputStreamParams& aParams,
|
||||
const OptionalFileDescriptorSet& aFDs)
|
||||
|
@ -309,6 +309,8 @@ public:
|
||||
MemoryReportRequestParent();
|
||||
virtual ~MemoryReportRequestParent();
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool Recv__delete__(const uint32_t& generation, const InfallibleTArray<MemoryReport>& report);
|
||||
private:
|
||||
ContentParent* Owner()
|
||||
@ -322,6 +324,12 @@ MemoryReportRequestParent::MemoryReportRequestParent()
|
||||
MOZ_COUNT_CTOR(MemoryReportRequestParent);
|
||||
}
|
||||
|
||||
void
|
||||
MemoryReportRequestParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005154
|
||||
}
|
||||
|
||||
bool
|
||||
MemoryReportRequestParent::Recv__delete__(const uint32_t& generation, const InfallibleTArray<MemoryReport>& childReports)
|
||||
{
|
||||
|
@ -26,6 +26,12 @@ CrashReporterParent::AnnotateCrashReport(const nsCString& key,
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
CrashReporterParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005155
|
||||
}
|
||||
|
||||
bool
|
||||
CrashReporterParent::RecvAppendAppNotes(const nsCString& data)
|
||||
{
|
||||
|
@ -77,6 +77,8 @@ public:
|
||||
AnnotateCrashReport(const nsCString& key, const nsCString& data);
|
||||
|
||||
protected:
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool
|
||||
RecvAnnotateCrashReport(const nsCString& key, const nsCString& data) MOZ_OVERRIDE {
|
||||
AnnotateCrashReport(key, data);
|
||||
|
@ -27,6 +27,12 @@ FileDescriptorSetParent::ForgetFileDescriptors(
|
||||
mFileDescriptors.SwapElements(aFileDescriptors);
|
||||
}
|
||||
|
||||
void
|
||||
FileDescriptorSetParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005157
|
||||
}
|
||||
|
||||
bool
|
||||
FileDescriptorSetParent::RecvAddFileDescriptor(
|
||||
const FileDescriptor& aFileDescriptor)
|
||||
|
@ -36,6 +36,8 @@ private:
|
||||
FileDescriptorSetParent(const FileDescriptor& aFileDescriptor);
|
||||
~FileDescriptorSetParent();
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool
|
||||
RecvAddFileDescriptor(const FileDescriptor& aFileDescriptor) MOZ_OVERRIDE;
|
||||
|
||||
|
@ -30,6 +30,12 @@ BrowserStreamParent::~BrowserStreamParent()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
BrowserStreamParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005159
|
||||
}
|
||||
|
||||
bool
|
||||
BrowserStreamParent::AnswerNPN_RequestRead(const IPCByteRanges& ranges,
|
||||
NPError* result)
|
||||
|
@ -26,6 +26,8 @@ public:
|
||||
|
||||
virtual bool IsBrowserStream() MOZ_OVERRIDE { return true; }
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool AnswerNPN_RequestRead(const IPCByteRanges& ranges,
|
||||
NPError* result) MOZ_OVERRIDE;
|
||||
|
||||
|
@ -17,6 +17,12 @@ using namespace mozilla::plugins::parent;
|
||||
namespace mozilla {
|
||||
namespace plugins {
|
||||
|
||||
void
|
||||
PluginIdentifierParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005161
|
||||
}
|
||||
|
||||
bool
|
||||
PluginIdentifierParent::RecvRetain()
|
||||
{
|
||||
|
@ -64,6 +64,8 @@ protected:
|
||||
MOZ_COUNT_DTOR(PluginIdentifierParent);
|
||||
}
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool RecvRetain() MOZ_OVERRIDE;
|
||||
|
||||
void AddTemporaryRef() {
|
||||
|
@ -56,6 +56,12 @@ using namespace mozilla::plugins;
|
||||
using namespace mozilla::layers;
|
||||
using namespace mozilla::gl;
|
||||
|
||||
void
|
||||
StreamNotifyParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005162
|
||||
}
|
||||
|
||||
bool
|
||||
StreamNotifyParent::RecvRedirectNotifyResponse(const bool& allow)
|
||||
{
|
||||
|
@ -643,6 +643,12 @@ PluginScriptableObjectParent::DropNPObject()
|
||||
unused << SendUnprotect();
|
||||
}
|
||||
|
||||
void
|
||||
PluginScriptableObjectParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005163
|
||||
}
|
||||
|
||||
bool
|
||||
PluginScriptableObjectParent::AnswerHasMethod(PPluginIdentifierParent* aId,
|
||||
bool* aHasMethod)
|
||||
|
@ -45,6 +45,9 @@ public:
|
||||
void
|
||||
InitializeLocal(NPObject* aObject);
|
||||
|
||||
virtual void
|
||||
ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool
|
||||
AnswerHasMethod(PPluginIdentifierParent* aId,
|
||||
bool* aHasMethod) MOZ_OVERRIDE;
|
||||
|
@ -26,6 +26,12 @@ PluginStreamParent::PluginStreamParent(PluginInstanceParent* npp,
|
||||
mStream = nullptr;
|
||||
}
|
||||
|
||||
void
|
||||
PluginStreamParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005166
|
||||
}
|
||||
|
||||
bool
|
||||
PluginStreamParent::AnswerNPN_Write(const Buffer& data, int32_t* written)
|
||||
{
|
||||
|
@ -26,6 +26,8 @@ public:
|
||||
|
||||
virtual bool IsBrowserStream() MOZ_OVERRIDE { return false; }
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool AnswerNPN_Write(const Buffer& data, int32_t* written) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool Answer__delete__(const NPError& reason, const bool& artificial) MOZ_OVERRIDE;
|
||||
|
@ -24,5 +24,11 @@ PluginSurfaceParent::~PluginSurfaceParent()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
PluginSurfaceParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005167
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -27,6 +27,8 @@ public:
|
||||
const bool transparent);
|
||||
~PluginSurfaceParent();
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
gfxASurface* Surface() { return mSurface; }
|
||||
|
||||
private:
|
||||
|
@ -34,6 +34,8 @@ public:
|
||||
mDestructionFlag = nullptr;
|
||||
}
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
private:
|
||||
bool RecvRedirectNotifyResponse(const bool& allow) MOZ_OVERRIDE;
|
||||
|
||||
|
@ -378,6 +378,12 @@ DOMStorageDBParent::NewCache(const nsACString& aScope)
|
||||
return new CacheParentBridge(this, aScope);
|
||||
}
|
||||
|
||||
void
|
||||
DOMStorageDBParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005169
|
||||
}
|
||||
|
||||
bool
|
||||
DOMStorageDBParent::RecvAsyncPreload(const nsCString& aScope, const bool& aPriority)
|
||||
{
|
||||
|
@ -171,6 +171,7 @@ public:
|
||||
|
||||
private:
|
||||
// IPC
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
bool RecvAsyncPreload(const nsCString& aScope, const bool& aPriority);
|
||||
bool RecvPreload(const nsCString& aScope, const uint32_t& aAlreadyLoadedCount,
|
||||
InfallibleTArray<nsString>* aKeys, InfallibleTArray<nsString>* aValues,
|
||||
|
@ -175,6 +175,12 @@ LayerTransactionParent::GetCompositorBackendType() const
|
||||
}
|
||||
|
||||
/* virtual */
|
||||
void
|
||||
LayerTransactionParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005171
|
||||
}
|
||||
|
||||
bool
|
||||
LayerTransactionParent::RecvUpdateNoSwap(const InfallibleTArray<Edit>& cset,
|
||||
const TargetConfig& targetConfig,
|
||||
|
@ -80,6 +80,8 @@ public:
|
||||
virtual bool IsSameProcess() const MOZ_OVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool RecvUpdate(const EditArray& cset,
|
||||
const TargetConfig& targetConfig,
|
||||
const bool& isFirstPaint,
|
||||
|
@ -18,6 +18,12 @@ using mozilla::ipc::TestShellCommandParent;
|
||||
using mozilla::ipc::PTestShellCommandParent;
|
||||
using mozilla::dom::ContentParent;
|
||||
|
||||
void
|
||||
TestShellParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005177
|
||||
}
|
||||
|
||||
PTestShellCommandParent*
|
||||
TestShellParent::AllocPTestShellCommandParent(const nsString& aCommand)
|
||||
{
|
||||
|
@ -24,6 +24,8 @@ class TestShellCommandParent;
|
||||
class TestShellParent : public PTestShellParent
|
||||
{
|
||||
public:
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
PTestShellCommandParent*
|
||||
AllocPTestShellCommandParent(const nsString& aCommand);
|
||||
|
||||
|
@ -61,5 +61,11 @@ ChannelDiverterParent::DivertTo(nsIStreamListener* newListener)
|
||||
mDivertableChannelParent->DivertTo(newListener);
|
||||
}
|
||||
|
||||
void
|
||||
ChannelDiverterParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005179
|
||||
}
|
||||
|
||||
} // namespace net
|
||||
} // namespace mozilla
|
||||
|
@ -27,6 +27,9 @@ public:
|
||||
bool Init(const ChannelDiverterArgs& aChannel);
|
||||
|
||||
void DivertTo(nsIStreamListener* newListener);
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
private:
|
||||
nsRefPtr<ADivertableParentChannel> mDivertableChannelParent;
|
||||
};
|
||||
|
@ -64,6 +64,12 @@ CookieServiceParent::~CookieServiceParent()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
CookieServiceParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005181
|
||||
}
|
||||
|
||||
bool
|
||||
CookieServiceParent::RecvGetCookieString(const URIParams& aHost,
|
||||
const bool& aIsForeign,
|
||||
|
@ -28,7 +28,9 @@ protected:
|
||||
bool& aIsInBrowserElement,
|
||||
bool& aIsPrivate);
|
||||
|
||||
virtual bool RecvGetCookieString(const URIParams& aHost,
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual bool RecvGetCookieString(const URIParams& aHost,
|
||||
const bool& aIsForeign,
|
||||
const bool& aFromHttp,
|
||||
const IPC::SerializedLoadContext&
|
||||
|
@ -178,6 +178,12 @@ NeckoParent::CreateChannelLoadContext(PBrowserParent* aBrowser,
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void
|
||||
NeckoParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005184
|
||||
}
|
||||
|
||||
PHttpChannelParent*
|
||||
NeckoParent::AllocPHttpChannelParent(PBrowserParent* aBrowser,
|
||||
const SerializedLoadContext& aSerialized,
|
||||
|
@ -57,6 +57,8 @@ public:
|
||||
const SerializedLoadContext& aSerialized,
|
||||
nsCOMPtr<nsILoadContext> &aResult);
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
virtual void
|
||||
CloneManagees(ProtocolBase* aSource,
|
||||
mozilla::ipc::ProtocolCloneContext* aCtx) MOZ_OVERRIDE;
|
||||
|
@ -17,6 +17,12 @@
|
||||
namespace mozilla {
|
||||
namespace net {
|
||||
|
||||
void
|
||||
RemoteOpenFileParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
// Implement me! Bug 1005186
|
||||
}
|
||||
|
||||
bool
|
||||
RemoteOpenFileParent::OpenSendCloseDelete()
|
||||
{
|
||||
|
@ -22,6 +22,8 @@ public:
|
||||
: mURI(aURI)
|
||||
{}
|
||||
|
||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||
|
||||
bool OpenSendCloseDelete();
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user