Generated file

Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PNotificationParent_h
#define PNotificationParent_h
#include "mozilla/dom/notification/PNotification.h"
#ifdef DEBUG
#include "prenv.h"
#endif // DEBUG
#include "mozilla/Tainting.h"
#include "mozilla/ipc/MessageChannel.h"
#include "mozilla/ipc/ProtocolUtils.h"
class nsIFile;
// Headers for things that cannot be forward declared
#include "Units.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/HalIPCUtils.h"
#include "mozilla/ScrollbarPreferences.h"
#include "mozilla/TimeStamp.h"
#include "mozilla/dom/BrowsingContext.h"
#include "mozilla/dom/LoadURIOptionsBinding.h"
#include "mozilla/dom/NavigationBinding.h"
#include "mozilla/dom/NotificationBinding.h"
#include "mozilla/dom/UserNavigationInvolvement.h"
#include "mozilla/gfx/Types.h"
#include "mozilla/net/ClassOfService.h"
#include "nsIClassifiedChannel.h"
#include "nsILoadInfo.h"
#include "nsIWidgetListener.h"
namespace mozilla {
namespace ipc {
class PBackgroundParent;
} // namespace ipc
} // namespace mozilla
namespace mozilla {
namespace ipc {
class PBackgroundChild;
} // namespace ipc
} // namespace mozilla
namespace mozilla {
struct void_t;
} // namespace mozilla
namespace mozilla {
namespace dom {
struct LoadingSessionHistoryInfo;
} // namespace dom
} // namespace mozilla
class nsIPrincipal;
class nsIURI;
class nsIPolicyContainer;
class nsIInputStream;
class nsIReferrerInfo;
class nsIVariant;
namespace mozilla {
class RemoteLazyInputStream;
} // namespace mozilla
namespace mozilla {
namespace ipc {
class BigBuffer;
} // namespace ipc
} // namespace mozilla
namespace mozilla {
namespace dom {
namespace ipc {
class StructuredCloneData;
} // namespace ipc
} // namespace dom
} // namespace mozilla
class nsStructuredCloneContainer;
namespace mozilla {
namespace dom {
namespace notification {
class PNotificationParent :
public mozilla::ipc::IToplevelProtocol
{
private:
public:
static constexpr ::mozilla::ipc::ProtocolId kProtocolId = PNotificationMsgStart;
protected:
typedef mozilla::ipc::ActorId ActorId;
typedef ::mozilla::ipc::BigBuffer BigBuffer;
typedef ::mozilla::ipc::ByteBuf ByteBuf;
typedef ::mozilla::CSSRect CSSRect;
typedef ::mozilla::CSSSize CSSSize;
typedef ::mozilla::CSSToLayoutDeviceScale CSSToLayoutDeviceScale;
typedef ::mozilla::net::ClassOfService ClassOfService;
typedef ::mozilla::net::ClassificationFlags ClassificationFlags;
typedef ::mozilla::CopyableErrorResult CopyableErrorResult;
typedef ::mozilla::dom::CreatedWindowInfo CreatedWindowInfo;
typedef ::mozilla::DesktopIntRect DesktopIntRect;
typedef ::mozilla::DesktopToLayoutDeviceScale DesktopToLayoutDeviceScale;
typedef ::mozilla::dom::DimensionInfo DimensionInfo;
typedef ::mozilla::dom::DocShellLoadStateInit DocShellLoadStateInit;
template<class FooSide> using Endpoint = mozilla::ipc::Endpoint<FooSide>;
typedef ::mozilla::ipc::FileDescriptor FileDescriptor;
typedef ::mozilla::dom::ForceMediaDocument ForceMediaDocument;
typedef ::mozilla::dom::FrameScriptInfo FrameScriptInfo;
typedef ::nsILoadInfo::HTTPSUpgradeTelemetryType HTTPSUpgradeTelemetryType;
typedef ::mozilla::dom::IDPLVariant IDPLVariant;
typedef ::mozilla::dom::IPCImage IPCImage;
typedef ::mozilla::dom::IPCNotification IPCNotification;
typedef ::mozilla::dom::IPCNotificationAction IPCNotificationAction;
typedef ::mozilla::dom::IPCNotificationOptions IPCNotificationOptions;
typedef ::mozilla::dom::IPCNotificationsOrError IPCNotificationsOrError;
typedef ::mozilla::dom::IPDLProperty IPDLProperty;
typedef ::mozilla::dom::IPDLVariantValue IPDLVariantValue;
typedef ::mozilla::ImageIntSize ImageIntSize;
typedef ::mozilla::LayoutDeviceIntPoint LayoutDeviceIntPoint;
typedef ::mozilla::LayoutDeviceIntRect LayoutDeviceIntRect;
typedef ::mozilla::LayoutDeviceIntSize LayoutDeviceIntSize;
typedef ::mozilla::dom::LoadingSessionHistoryInfo LoadingSessionHistoryInfo;
template<class FooSide> using ManagedEndpoint = mozilla::ipc::ManagedEndpoint<FooSide>;
typedef ::mozilla::dom::MaybeDiscardedBrowsingContext MaybeDiscardedBrowsingContext;
typedef ::mozilla::dom::MessagePortIdentifier MessagePortIdentifier;
typedef ::mozilla::dom::NavigationHistoryBehavior NavigationHistoryBehavior;
typedef ::mozilla::dom::NotificationDirection NotificationDirection;
typedef ::mozilla::dom::OwnerShowInfo OwnerShowInfo;
typedef ::mozilla::ipc::PBackgroundChild PBackgroundChild;
typedef ::mozilla::ipc::PBackgroundParent PBackgroundParent;
typedef ::mozilla::dom::ParentShowInfo ParentShowInfo;
typedef base::ProcessId ProcessId;
typedef mozilla::ipc::ProtocolId ProtocolId;
typedef ::mozilla::RemoteLazyInputStream RemoteLazyInputStream;
typedef ::mozilla::dom::ReplacementChannelConfigInit ReplacementChannelConfigInit;
typedef mozilla::ipc::ResponseRejectReason ResponseRejectReason;
typedef ::nsILoadInfo::SchemelessInputType SchemelessInputType;
typedef ::mozilla::dom::ScreenDetails ScreenDetails;
typedef ::mozilla::hal::ScreenOrientation ScreenOrientation;
typedef ::mozilla::ScrollbarPreference ScrollbarPreference;
typedef ::mozilla::ipc::Shmem Shmem;
typedef ::mozilla::dom::ipc::StructuredCloneData StructuredCloneData;
typedef ::mozilla::gfx::SurfaceFormat SurfaceFormat;
typedef ::mozilla::TimeStamp TimeStamp;
typedef ::mozilla::dom::TimedChannelInfo TimedChannelInfo;
template<class T> using UniquePtr = mozilla::UniquePtr<T>;
typedef ::mozilla::dom::UserNavigationInvolvement UserNavigationInvolvement;
typedef ::int16_t int16_t;
typedef ::int32_t int32_t;
typedef ::int64_t int64_t;
typedef ::int8_t int8_t;
typedef ::intptr_t intptr_t;
typedef ::nsCString nsCString;
typedef ::nsIInputStream nsIInputStream;
typedef ::nsIPolicyContainer nsIPolicyContainer;
typedef ::nsIPrincipal nsIPrincipal;
typedef ::nsIReferrerInfo nsIReferrerInfo;
typedef ::nsIURI nsIURI;
typedef ::nsIVariant nsIVariant;
typedef ::nsSizeMode nsSizeMode;
typedef ::nsString nsString;
typedef ::nsStructuredCloneContainer nsStructuredCloneContainer;
typedef ::nsresult nsresult;
typedef ::uint16_t uint16_t;
typedef ::uint32_t uint32_t;
typedef ::uint64_t uint64_t;
typedef ::uint8_t uint8_t;
typedef ::uintptr_t uintptr_t;
typedef ::mozilla::void_t void_t;
public:
typedef std::function<void(const CopyableErrorResult&)> ShowResolver;
protected:
void
ProcessingError(
Result aCode,
const char* aReason) override;
bool
ShouldContinueFromReplyTimeout() override;
public:
typedef mozilla::ipc::IProtocol IProtocol;
typedef IPC::Message Message;
typedef base::ProcessHandle ProcessHandle;
typedef mozilla::ipc::MessageChannel MessageChannel;
public:
MOZ_IMPLICIT PNotificationParent();
virtual ~PNotificationParent();
protected:
void
ActorAlloc() final;
void
ActorDealloc() final;
public:
mozilla::Span<mozilla::ipc::ProtocolId const>
ManagedProtocolIds() const final;
UntypedManagedContainer*
GetManagedActors(mozilla::ipc::ProtocolId aProtocol) final;
void
RejectPendingResponses(ResponseRejectReason aReason) final;
[[nodiscard]] bool
SendNotifyClick();
void
DeallocManagee(
mozilla::ipc::ProtocolId aProtocolId,
IProtocol* aListener) override;
Result
OnMessageReceived(const Message& msg__) override;
Result
OnMessageReceived(
const Message& msg__,
UniquePtr<Message>& reply__) override;
private:
mozilla::ipc::IPDLAsyncReturnsCallbacks mAsyncCallbacks;
};
} // namespace notification
} // namespace dom
} // namespace mozilla
namespace IPC {
template<>
struct ParamTraits <::mozilla::dom::notification::PNotificationParent*>
{
typedef ::mozilla::dom::notification::PNotificationParent* paramType;
static void
Write(
IPC::MessageWriter* aWriter,
const paramType& aVar);
static IPC::ReadResult<paramType>
Read(IPC::MessageReader* aReader);
};
} // namespace IPC
#endif // ifndef PNotificationParent_h