Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PCanvas_h
#define PCanvas_h
#include "mozilla/Attributes.h"
#include "IPCMessageStart.h"
#include "mozilla/RefPtr.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsTHashtable.h"
#include "mozilla/MozPromise.h"
#include "mozilla/OperatorNewExtensions.h"
#include "mozilla/UniquePtr.h"
#include "mozilla/ipc/ByteBuf.h"
#include "mozilla/ipc/FileDescriptor.h"
#include "mozilla/ipc/IPCForwards.h"
#include "mozilla/ipc/Shmem.h"
namespace mozilla {
namespace layers {
class PCanvasParent;
} // namespace layers
} // namespace mozilla
namespace mozilla {
namespace layers {
class PCanvasChild;
} // namespace layers
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PCanvasChild and PCanvasParent
//
namespace mozilla {
namespace layers {
namespace PCanvas {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::layers::PCanvasParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::layers::PCanvasChild>* aChild);
enum MessageType {
PCanvasStart = PCanvasMsgStart << 16,
Msg_InitTranslator__ID,
Msg_RestartTranslation__ID,
Msg_AddBuffer__ID,
Msg_SetDataSurfaceBuffer__ID,
Msg_ClearCachedResources__ID,
Msg_DropFreeBuffersWhenDormant__ID,
Msg___delete____ID,
Reply___delete____ID,
Msg_NotifyDeviceChanged__ID,
Msg_NotifyDeviceReset__ID,
Msg_Deactivate__ID,
Msg_BlockCanvas__ID,
Msg_NotifyRequiresRefresh__ID,
Msg_SnapshotShmem__ID,
Reply_SnapshotShmem__ID,
Msg_NotifyTextureDestruction__ID,
PCanvasEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_InitTranslator(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_RestartTranslation(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_AddBuffer(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetDataSurfaceBuffer(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ClearCachedResources(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DropFreeBuffersWhenDormant(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_NotifyDeviceChanged(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_NotifyDeviceReset(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Deactivate(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_BlockCanvas(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_NotifyRequiresRefresh(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SnapshotShmem(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_SnapshotShmem(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_NotifyTextureDestruction(int32_t routingId);
} // namespace PCanvas
} // namespace layers
} // namespace mozilla
#endif // ifndef PCanvas_h