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

#ifndef PUiCompositorController_h
#define PUiCompositorController_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 PUiCompositorControllerParent;
} // namespace layers
} // namespace mozilla
namespace mozilla {
namespace layers {
class PUiCompositorControllerChild;
} // namespace layers
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PUiCompositorControllerChild and PUiCompositorControllerParent
//
namespace mozilla {
namespace layers {
namespace PUiCompositorController {

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

enum MessageType {
    PUiCompositorControllerStart = PUiCompositorControllerMsgStart << 16,
    Msg_Pause__ID,
    Reply_Pause__ID,
    Msg_Resume__ID,
    Reply_Resume__ID,
    Msg_ResumeAndResize__ID,
    Reply_ResumeAndResize__ID,
    Msg_InvalidateAndRender__ID,
    Msg_MaxToolbarHeight__ID,
    Msg_FixedBottomOffset__ID,
    Msg_DefaultClearColor__ID,
    Msg_RequestScreenPixels__ID,
    Msg_EnableLayerUpdateNotifications__ID,
    Msg_ToolbarAnimatorMessageFromCompositor__ID,
    Msg_NotifyCompositorScrollUpdate__ID,
    Msg_ScreenPixels__ID,
    PUiCompositorControllerEnd
};

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

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

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

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

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

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

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

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

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

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

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

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



} // namespace PUiCompositorController
} // namespace layers
} // namespace mozilla

#endif // ifndef PUiCompositorController_h
