Copy as Markdown
Other Tools
//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#include "mozilla/dom/TabMessageUtils.h"
#include "mozilla/widget/WidgetMessageUtils.h"
#include "mozilla/layers/PCompositorBridgeParent.h"
#include "mozilla/layers/PCompositorBridgeChild.h"
#include "mozilla/widget/PCompositorWidget.h"
#include "mozilla/widget/PCompositorWidgetParent.h"
#include "mozilla/widget/PCompositorWidgetChild.h"
#include "ipc/IPCMessageUtils.h"
#include "ipc/IPCMessageUtilsSpecializations.h"
#include "nsIFile.h"
#include "mozilla/ipc/Endpoint.h"
#include "mozilla/ipc/ProtocolMessageUtils.h"
#include "mozilla/ipc/ProtocolUtils.h"
#include "mozilla/ipc/ShmemMessageUtils.h"
#include "mozilla/ipc/TaintingIPCUtils.h"
namespace mozilla {
namespace widget {
namespace PCompositorWidget {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::widget::PCompositorWidgetParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::widget::PCompositorWidgetChild>* aChild)
{
return mozilla::ipc::CreateEndpoints(
mozilla::ipc::PrivateIPDLInterface(),
aParentDestInfo, aChildDestInfo, aParent, aChild);
}
mozilla::UniquePtr<IPC::Message>
Msg_Initialize(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_Initialize__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_Initialize(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_Initialize__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_EnterPresentLock(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_EnterPresentLock__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_EnterPresentLock(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_EnterPresentLock__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_LeavePresentLock(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_LeavePresentLock__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_LeavePresentLock(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_LeavePresentLock__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_NotifyVisibilityUpdated(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_NotifyVisibilityUpdated__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_UpdateTransparency(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_UpdateTransparency__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_ClearTransparentWindow(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ClearTransparentWindow__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_ClearTransparentWindow(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_ClearTransparentWindow__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg___delete____ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply___delete____ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_ObserveVsync(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ObserveVsync__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_UnobserveVsync(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_UnobserveVsync__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_UpdateCompositorWnd(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_UpdateCompositorWnd__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_UpdateCompositorWnd(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_UpdateCompositorWnd__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
} // namespace PCompositorWidget
} // namespace widget
} // namespace mozilla
//-----------------------------------------------------------------------------
// Method definitions for the IPDL type |struct RemoteBackbufferHandles|
//
namespace mozilla {
namespace widget {
} // namespace widget
} // namespace mozilla
namespace IPC {
auto ParamTraits<::mozilla::widget::RemoteBackbufferHandles>::Write(
IPC::MessageWriter* aWriter,
const paramType& aVar) -> void
{
IPC::WriteParam(aWriter, (aVar).fileMapping());
// Sentinel = 'fileMapping'
(aWriter)->WriteSentinel(441058413);
IPC::WriteParam(aWriter, (aVar).requestReadyEvent());
// Sentinel = 'requestReadyEvent'
(aWriter)->WriteSentinel(1065617153);
IPC::WriteParam(aWriter, (aVar).responseReadyEvent());
// Sentinel = 'responseReadyEvent'
(aWriter)->WriteSentinel(1190725479);
}
auto ParamTraits<::mozilla::widget::RemoteBackbufferHandles>::Read(IPC::MessageReader* aReader) -> IPC::ReadResult<paramType>
{
auto maybe___fileMapping = IPC::ReadParam<::mozilla::ipc::FileDescriptor>(aReader);
if (!maybe___fileMapping) {
aReader->FatalError("Error deserializing 'fileMapping' (FileDescriptor) member of 'RemoteBackbufferHandles'");
return {};
}
auto& _fileMapping = *maybe___fileMapping;
// Sentinel = 'fileMapping'
if ((!((aReader)->ReadSentinel(441058413)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'fileMapping' (FileDescriptor) member of 'RemoteBackbufferHandles'");
return {};
}
auto maybe___requestReadyEvent = IPC::ReadParam<::mozilla::ipc::FileDescriptor>(aReader);
if (!maybe___requestReadyEvent) {
aReader->FatalError("Error deserializing 'requestReadyEvent' (FileDescriptor) member of 'RemoteBackbufferHandles'");
return {};
}
auto& _requestReadyEvent = *maybe___requestReadyEvent;
// Sentinel = 'requestReadyEvent'
if ((!((aReader)->ReadSentinel(1065617153)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'requestReadyEvent' (FileDescriptor) member of 'RemoteBackbufferHandles'");
return {};
}
auto maybe___responseReadyEvent = IPC::ReadParam<::mozilla::ipc::FileDescriptor>(aReader);
if (!maybe___responseReadyEvent) {
aReader->FatalError("Error deserializing 'responseReadyEvent' (FileDescriptor) member of 'RemoteBackbufferHandles'");
return {};
}
auto& _responseReadyEvent = *maybe___responseReadyEvent;
// Sentinel = 'responseReadyEvent'
if ((!((aReader)->ReadSentinel(1190725479)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'responseReadyEvent' (FileDescriptor) member of 'RemoteBackbufferHandles'");
return {};
}
IPC::ReadResult<paramType> result__{
std::in_place,
std::move(_fileMapping),
std::move(_requestReadyEvent),
std::move(_responseReadyEvent)};
return result__;
}
} // namespace IPC