//
// Automatically generated by ipdlc.
// Edit at your own risk
//

#ifndef PWebRenderBridge_h
#define PWebRenderBridge_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"
#include "mozilla/layers/LayersSurfaces.h"
#include "mozilla/layers/LayersMessages.h"
#include "mozilla/layers/WebRenderMessages.h"

namespace mozilla {
namespace layers {
class PWebRenderBridgeParent;
} // namespace layers
} // namespace mozilla
namespace mozilla {
namespace layers {
class PWebRenderBridgeChild;
} // namespace layers
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PWebRenderBridgeChild and PWebRenderBridgeParent
//
namespace mozilla {
namespace layers {
namespace PWebRenderBridge {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::layers::PWebRenderBridgeParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::layers::PWebRenderBridgeChild>* aChild);

enum MessageType {
    PWebRenderBridgeStart = PWebRenderBridgeMsgStart << 16,
    Msg_EnsureConnected__ID,
    Reply_EnsureConnected__ID,
    Msg_NewCompositable__ID,
    Msg_ReleaseCompositable__ID,
    Msg_DeleteCompositorAnimations__ID,
    Msg_SetDisplayList__ID,
    Msg_EmptyTransaction__ID,
    Msg_SetFocusTarget__ID,
    Msg_UpdateResources__ID,
    Msg_ParentCommands__ID,
    Msg_GetSnapshot__ID,
    Reply_GetSnapshot__ID,
    Msg_ClearCachedResources__ID,
    Msg_SetDefaultClearColor__ID,
    Msg_InvalidateRenderedFrame__ID,
    Msg_ScheduleComposite__ID,
    Msg_Capture__ID,
    Msg_StartCaptureSequence__ID,
    Msg_StopCaptureSequence__ID,
    Msg_SyncWithCompositor__ID,
    Reply_SyncWithCompositor__ID,
    Msg_SetConfirmedTargetAPZC__ID,
    Msg_SetTestSampleTime__ID,
    Reply_SetTestSampleTime__ID,
    Msg_LeaveTestMode__ID,
    Reply_LeaveTestMode__ID,
    Msg_GetAnimationValue__ID,
    Reply_GetAnimationValue__ID,
    Msg_SetAsyncScrollOffset__ID,
    Reply_SetAsyncScrollOffset__ID,
    Msg_SetAsyncZoom__ID,
    Reply_SetAsyncZoom__ID,
    Msg_FlushApzRepaints__ID,
    Msg_GetAPZTestData__ID,
    Reply_GetAPZTestData__ID,
    Msg_GetFrameUniformity__ID,
    Reply_GetFrameUniformity__ID,
    Msg_EndWheelTransaction__ID,
    Reply_EndWheelTransaction__ID,
    Msg_Shutdown__ID,
    Msg_ShutdownSync__ID,
    Reply_ShutdownSync__ID,
    Msg_WrUpdated__ID,
    Msg_WrReleasedImages__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    PWebRenderBridgeEnd
};

mozilla::UniquePtr<IPC::Message>
Msg_EnsureConnected(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_EnsureConnected(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_NewCompositable(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_ReleaseCompositable(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_DeleteCompositorAnimations(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_SetDisplayList(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_EmptyTransaction(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_SetFocusTarget(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_UpdateResources(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_ParentCommands(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_GetSnapshot(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_GetSnapshot(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_ClearCachedResources(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_SetDefaultClearColor(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_InvalidateRenderedFrame(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_ScheduleComposite(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_Capture(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_StartCaptureSequence(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_StopCaptureSequence(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_SyncWithCompositor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_SyncWithCompositor(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_SetConfirmedTargetAPZC(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_SetTestSampleTime(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_SetTestSampleTime(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_LeaveTestMode(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_LeaveTestMode(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_GetAnimationValue(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_GetAnimationValue(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_SetAsyncScrollOffset(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_SetAsyncScrollOffset(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_SetAsyncZoom(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_SetAsyncZoom(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_FlushApzRepaints(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_GetAPZTestData(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_GetAPZTestData(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_GetFrameUniformity(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_GetFrameUniformity(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_EndWheelTransaction(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_EndWheelTransaction(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_Shutdown(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_ShutdownSync(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_ShutdownSync(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_WrUpdated(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_WrReleasedImages(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg___delete__(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(IPC::Message::routeid_t routingId);



} // namespace PWebRenderBridge
} // namespace layers
} // namespace mozilla

#endif // ifndef PWebRenderBridge_h
