Copy as Markdown
Other Tools
//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#include "mozilla/GfxMessageUtils.h"
#include "mozilla/dom/PBrowserParent.h"
#include "mozilla/dom/PBrowserChild.h"
#include "mozilla/a11y/PDocAccessible.h"
#include "mozilla/a11y/PDocAccessibleParent.h"
#include "mozilla/a11y/PDocAccessibleChild.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 a11y {
namespace PDocAccessible {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::a11y::PDocAccessibleParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::a11y::PDocAccessibleChild>* aChild)
{
return mozilla::ipc::CreateEndpoints(
mozilla::ipc::PrivateIPDLInterface(),
aParentDestInfo, aChildDestInfo, aParent, aChild);
}
mozilla::UniquePtr<IPC::Message>
Msg_Shutdown(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_Shutdown__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_Event(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_Event__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_ShowEvent(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ShowEvent__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_HideEvent(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_HideEvent__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_StateChangeEvent(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_StateChangeEvent__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_CaretMoveEvent(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_CaretMoveEvent__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_TextChangeEvent(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_TextChangeEvent__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_SelectionEvent(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_SelectionEvent__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_RoleChangedEvent(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_RoleChangedEvent__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_FocusEvent(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_FocusEvent__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_ScrollingEvent(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ScrollingEvent__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_TextSelectionChangeEvent(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_TextSelectionChangeEvent__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_BindChildDoc(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_BindChildDoc__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_Cache(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_Cache__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_SelectedAccessiblesChanged(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_SelectedAccessiblesChanged__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_AccessiblesWillMove(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_AccessiblesWillMove__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___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_RestoreFocus(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_RestoreFocus__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_ScrollTo(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ScrollTo__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_ScrollToPoint(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ScrollToPoint__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_SetCaretOffset(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_SetCaretOffset__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_SetTextSelection(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_SetTextSelection__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_RemoveTextSelection(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_RemoveTextSelection__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_ScrollTextLeafRangeIntoView(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ScrollTextLeafRangeIntoView__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_ScrollSubstringToPoint(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ScrollSubstringToPoint__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_ReplaceText(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ReplaceText__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_InsertText(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_InsertText__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_CopyText(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_CopyText__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_CutText(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_CutText__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_DeleteText(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_DeleteText__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_PasteText(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_PasteText__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_TakeSelection(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_TakeSelection__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_SetSelected(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_SetSelected__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_DoActionAsync(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_DoActionAsync__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_SetCurValue(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_SetCurValue__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_TakeFocus(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_TakeFocus__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_VerifyCache(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_VerifyCache__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));
}
} // namespace PDocAccessible
} // namespace a11y
} // namespace mozilla
//-----------------------------------------------------------------------------
// Method definitions for the IPDL type |struct AccessibleData|
//
namespace mozilla {
namespace a11y {
auto AccessibleData::StaticAssertions() const -> void
{
static_assert(
(offsetof(AccessibleData, ParentID_) - offsetof(AccessibleData, ID_)) == 8,
"Bad assumptions about field layout!");
}
} // namespace a11y
} // namespace mozilla
namespace IPC {
auto ParamTraits<::mozilla::a11y::AccessibleData>::Write(
IPC::MessageWriter* aWriter,
const paramType& aVar) -> void
{
IPC::WriteParam(aWriter, (aVar).Role());
// Sentinel = 'Role'
(aWriter)->WriteSentinel(64356755);
IPC::WriteParam(aWriter, (aVar).Type());
// Sentinel = 'Type'
(aWriter)->WriteSentinel(67371427);
IPC::WriteParam(aWriter, (aVar).GenericTypes());
// Sentinel = 'GenericTypes'
(aWriter)->WriteSentinel(510002387);
IPC::WriteParam(aWriter, (aVar).CacheFields());
// Sentinel = 'CacheFields'
(aWriter)->WriteSentinel(402129964);
(aWriter)->WriteBytes((&((aVar).ID())), 16);
// Sentinel = 'ID | ParentID'
(aWriter)->WriteSentinel(469763137);
(aWriter)->WriteBytes((&((aVar).IndexInParent())), 4);
// Sentinel = 'IndexInParent'
(aWriter)->WriteSentinel(582354202);
(aWriter)->WriteBytes((&((aVar).RoleMapEntryIndex())), 1);
// Sentinel = 'RoleMapEntryIndex'
(aWriter)->WriteSentinel(994641595);
}
auto ParamTraits<::mozilla::a11y::AccessibleData>::Read(IPC::MessageReader* aReader) -> IPC::ReadResult<paramType>
{
auto maybe___Role = IPC::ReadParam<::mozilla::a11y::role>(aReader);
if (!maybe___Role) {
aReader->FatalError("Error deserializing 'Role' (role) member of 'AccessibleData'");
return {};
}
auto& _Role = *maybe___Role;
// Sentinel = 'Role'
if ((!((aReader)->ReadSentinel(64356755)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'Role' (role) member of 'AccessibleData'");
return {};
}
auto maybe___Type = IPC::ReadParam<::mozilla::a11y::AccType>(aReader);
if (!maybe___Type) {
aReader->FatalError("Error deserializing 'Type' (AccType) member of 'AccessibleData'");
return {};
}
auto& _Type = *maybe___Type;
// Sentinel = 'Type'
if ((!((aReader)->ReadSentinel(67371427)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'Type' (AccType) member of 'AccessibleData'");
return {};
}
auto maybe___GenericTypes = IPC::ReadParam<::mozilla::a11y::AccGenericType>(aReader);
if (!maybe___GenericTypes) {
aReader->FatalError("Error deserializing 'GenericTypes' (AccGenericType) member of 'AccessibleData'");
return {};
}
auto& _GenericTypes = *maybe___GenericTypes;
// Sentinel = 'GenericTypes'
if ((!((aReader)->ReadSentinel(510002387)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'GenericTypes' (AccGenericType) member of 'AccessibleData'");
return {};
}
auto maybe___CacheFields = IPC::ReadParam<RefPtr<::mozilla::a11y::AccAttributes>>(aReader);
if (!maybe___CacheFields) {
aReader->FatalError("Error deserializing 'CacheFields' (AccAttributes) member of 'AccessibleData'");
return {};
}
auto& _CacheFields = *maybe___CacheFields;
// Sentinel = 'CacheFields'
if ((!((aReader)->ReadSentinel(402129964)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'CacheFields' (AccAttributes) member of 'AccessibleData'");
return {};
}
IPC::ReadResult<paramType> result__{
std::in_place,
::uint64_t{0},
std::move(_Role),
::uint64_t{0},
::uint32_t{0},
std::move(_Type),
std::move(_GenericTypes),
::uint8_t{0},
std::move(_CacheFields)};
if ((!((aReader)->ReadBytesInto((&((result__)->ID())), 16)))) {
aReader->FatalError("Error bulk reading fields from uint64_t");
return {};
}
// Sentinel = 'ID | ParentID'
if ((!((aReader)->ReadSentinel(469763137)))) {
mozilla::ipc::SentinelReadError("Error bulk reading fields from uint64_t");
return {};
}
if ((!((aReader)->ReadBytesInto((&((result__)->IndexInParent())), 4)))) {
aReader->FatalError("Error bulk reading fields from uint32_t");
return {};
}
// Sentinel = 'IndexInParent'
if ((!((aReader)->ReadSentinel(582354202)))) {
mozilla::ipc::SentinelReadError("Error bulk reading fields from uint32_t");
return {};
}
if ((!((aReader)->ReadBytesInto((&((result__)->RoleMapEntryIndex())), 1)))) {
aReader->FatalError("Error bulk reading fields from uint8_t");
return {};
}
// Sentinel = 'RoleMapEntryIndex'
if ((!((aReader)->ReadSentinel(994641595)))) {
mozilla::ipc::SentinelReadError("Error bulk reading fields from uint8_t");
return {};
}
return result__;
}
} // namespace IPC
//-----------------------------------------------------------------------------
// Method definitions for the IPDL type |struct TextRangeData|
//
namespace mozilla {
namespace a11y {
auto TextRangeData::StaticAssertions() const -> void
{
static_assert(
(offsetof(TextRangeData, EndID_) - offsetof(TextRangeData, StartID_)) == 8,
"Bad assumptions about field layout!");
static_assert(
(offsetof(TextRangeData, EndOffset_) - offsetof(TextRangeData, StartOffset_)) == 4,
"Bad assumptions about field layout!");
}
} // namespace a11y
} // namespace mozilla
namespace IPC {
auto ParamTraits<::mozilla::a11y::TextRangeData>::Write(
IPC::MessageWriter* aWriter,
const paramType& aVar) -> void
{
(aWriter)->WriteBytes((&((aVar).StartID())), 16);
// Sentinel = 'StartID | EndID'
(aWriter)->WriteSentinel(704251132);
(aWriter)->WriteBytes((&((aVar).StartOffset())), 8);
// Sentinel = 'StartOffset | EndOffset'
(aWriter)->WriteSentinel(1754007728);
}
auto ParamTraits<::mozilla::a11y::TextRangeData>::Read(IPC::MessageReader* aReader) -> IPC::ReadResult<paramType>
{
IPC::ReadResult<paramType> result__{
std::in_place,
::uint64_t{0},
::uint64_t{0},
::int32_t{0},
::int32_t{0}};
if ((!((aReader)->ReadBytesInto((&((result__)->StartID())), 16)))) {
aReader->FatalError("Error bulk reading fields from uint64_t");
return {};
}
// Sentinel = 'StartID | EndID'
if ((!((aReader)->ReadSentinel(704251132)))) {
mozilla::ipc::SentinelReadError("Error bulk reading fields from uint64_t");
return {};
}
if ((!((aReader)->ReadBytesInto((&((result__)->StartOffset())), 8)))) {
aReader->FatalError("Error bulk reading fields from int32_t");
return {};
}
// Sentinel = 'StartOffset | EndOffset'
if ((!((aReader)->ReadSentinel(1754007728)))) {
mozilla::ipc::SentinelReadError("Error bulk reading fields from int32_t");
return {};
}
return result__;
}
} // namespace IPC