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

#ifndef PBrowserBridge_h
#define PBrowserBridge_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/dom/DOMTypes.h"
#include "mozilla/embedding/PPrintingTypes.h"

namespace mozilla {
namespace dom {
class PBrowserBridgeParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PBrowserBridgeChild;
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PBrowserBridgeChild and PBrowserBridgeParent
//
namespace mozilla {
namespace dom {
namespace PBrowserBridge {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::dom::PBrowserBridgeParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::dom::PBrowserBridgeChild>* aChild);

enum MessageType {
    PBrowserBridgeStart = PBrowserBridgeMsgStart << 16,
    Msg_RequestFocus__ID,
    Msg_MoveFocus__ID,
    Msg_MaybeFireEmbedderLoadEvents__ID,
    Msg_ScrollRectIntoView__ID,
    Msg_SubFrameCrashed__ID,
    Msg_IntrinsicSizeOrRatioChanged__ID,
    Msg_ImageLoadComplete__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    Msg_BeginDestroy__ID,
    Msg_LoadURL__ID,
    Msg_ResumeLoad__ID,
    Msg_Show__ID,
    Msg_ScrollbarPreferenceChanged__ID,
    Msg_UpdateDimensions__ID,
    Msg_RenderLayers__ID,
    Msg_UpdateEffects__ID,
    Msg_UpdateRemotePrintSettings__ID,
    Msg_NavigateByKey__ID,
    Msg_DispatchSynthesizedMouseEvent__ID,
    Msg_Activate__ID,
    Msg_Deactivate__ID,
    Msg_UpdateRemoteStyle__ID,
    Msg_WillChangeProcess__ID,
    Msg_SetEmbedderAccessible__ID,
    PBrowserBridgeEnd
};

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

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

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

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

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

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

mozilla::UniquePtr<IPC::Message>
Msg_ImageLoadComplete(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_BeginDestroy(IPC::Message::routeid_t routingId);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



} // namespace PBrowserBridge
} // namespace dom
} // namespace mozilla

#endif // ifndef PBrowserBridge_h
