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

#ifndef PAPZCTreeManager_h
#define PAPZCTreeManager_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 PAPZCTreeManagerParent;
} // namespace layers
} // namespace mozilla
namespace mozilla {
namespace layers {
class PAPZCTreeManagerChild;
} // namespace layers
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PAPZCTreeManagerChild and PAPZCTreeManagerParent
//
namespace mozilla {
namespace layers {
namespace PAPZCTreeManager {

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

enum MessageType {
    PAPZCTreeManagerStart = PAPZCTreeManagerMsgStart << 16,
    Msg_ZoomToRect__ID,
    Msg_ContentReceivedInputBlock__ID,
    Msg_SetTargetAPZC__ID,
    Msg_UpdateZoomConstraints__ID,
    Msg_SetKeyboardMap__ID,
    Msg_SetDPI__ID,
    Msg_SetAllowedTouchBehavior__ID,
    Msg_StartScrollbarDrag__ID,
    Msg_StartAutoscroll__ID,
    Msg_StopAutoscroll__ID,
    Msg_SetLongTapEnabled__ID,
    Msg_SetBrowserGestureResponse__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    Msg_NotifyPinchGesture__ID,
    Msg_CancelAutoscroll__ID,
    Msg_NotifyScaleGestureComplete__ID,
    PAPZCTreeManagerEnd
};

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

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

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

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

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

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

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

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

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

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

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

mozilla::UniquePtr<IPC::Message>
Msg_SetBrowserGestureResponse(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);

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

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

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



} // namespace PAPZCTreeManager
} // namespace layers
} // namespace mozilla

#endif // ifndef PAPZCTreeManager_h
