Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes

mozilla::dom::TabParent Class Reference

#include <TabParent.h>

Inheritance diagram for mozilla::dom::TabParent:
Collaboration diagram for mozilla::dom::TabParent:

List of all members.

Classes

struct  DelayedDialogData

Public Member Functions

 TabParent ()
virtual ~TabParent ()
nsIDOMElementGetOwnerElement ()
void SetOwnerElement (nsIDOMElement *aElement)
nsIBrowserDOMWindowGetBrowserDOMWindow ()
void SetBrowserDOMWindow (nsIBrowserDOMWindow *aBrowserDOMWindow)
void Destroy ()
virtual bool RecvMoveFocus (const bool &aForward)
virtual bool RecvEvent (const RemoteDOMEvent &aEvent)
virtual bool AnswerCreateWindow (PBrowserParent **retval)
virtual bool RecvSyncMessage (const nsString &aMessage, const nsString &aJSON, InfallibleTArray< nsString > *aJSONRetVal)
virtual bool RecvAsyncMessage (const nsString &aMessage, const nsString &aJSON)
virtual bool RecvNotifyIMEFocus (const PRBool &aFocus, nsIMEUpdatePreference *aPreference, PRUint32 *aSeqno)
virtual bool RecvNotifyIMETextChange (const PRUint32 &aStart, const PRUint32 &aEnd, const PRUint32 &aNewEnd)
virtual bool RecvNotifyIMESelection (const PRUint32 &aSeqno, const PRUint32 &aAnchor, const PRUint32 &aFocus)
virtual bool RecvNotifyIMETextHint (const nsString &aText)
virtual bool RecvEndIMEComposition (const PRBool &aCancel, nsString *aComposition)
virtual bool RecvGetIMEEnabled (PRUint32 *aValue)
virtual bool RecvSetInputMode (const PRUint32 &aValue, const nsString &aType, const nsString &aAction)
virtual bool RecvGetIMEOpenState (PRBool *aValue)
virtual bool RecvSetIMEOpenState (const PRBool &aValue)
virtual bool RecvGetDPI (float *aValue)
virtual PContentDialogParent * AllocPContentDialog (const PRUint32 &aType, const nsCString &aName, const nsCString &aFeatures, const InfallibleTArray< int > &aIntParams, const InfallibleTArray< nsString > &aStringParams)
virtual bool DeallocPContentDialog (PContentDialogParent *aDialog)
void LoadURL (nsIURI *aURI)
void Show (const nsIntSize &size)
void Move (const nsIntSize &size)
void Activate ()
void SendMouseEvent (const nsAString &aType, float aX, float aY, PRInt32 aButton, PRInt32 aClickCount, PRInt32 aModifiers, PRBool aIgnoreRootScrollFrame)
void SendKeyEvent (const nsAString &aType, PRInt32 aKeyCode, PRInt32 aCharCode, PRInt32 aModifiers, PRBool aPreventDefault)
virtual PDocumentRendererParent * AllocPDocumentRenderer (const nsRect &documentRect, const gfxMatrix &transform, const nsString &bgcolor, const PRUint32 &renderFlags, const bool &flushLayout, const nsIntSize &renderSize)
virtual bool DeallocPDocumentRenderer (PDocumentRendererParent *actor)
virtual
PContentPermissionRequestParent * 
AllocPContentPermissionRequest (const nsCString &aType, const IPC::URI &uri)
virtual bool DeallocPContentPermissionRequest (PContentPermissionRequestParent *actor)
virtual POfflineCacheUpdateParent * AllocPOfflineCacheUpdate (const URI &aManifestURI, const URI &aDocumentURI, const nsCString &aClientID, const bool &stickDocument)
virtual bool DeallocPOfflineCacheUpdate (POfflineCacheUpdateParent *actor)
JSBool GetGlobalJSObject (JSContext *cx, JSObject **globalp)
NS_DECL_ISUPPORTS
NS_DECL_NSIAUTHPROMPTPROVIDER
NS_DECL_NSISECUREBROWSERUI
void 
HandleDelayedDialogs ()
bool HandleQueryContentEvent (nsQueryContentEvent &aEvent)
bool SendCompositionEvent (nsCompositionEvent &event)
bool SendTextEvent (nsTextEvent &event)
bool SendSelectionEvent (nsSelectionEvent &event)

Static Public Member Functions

static TabParentGetIMETabParent ()

Protected Member Functions

bool ReceiveMessage (const nsString &aMessage, PRBool aSync, const nsString &aJSON, InfallibleTArray< nsString > *aJSONRetVal=0L)
void ActorDestroy (ActorDestroyReason why)
PRBool ShouldDelayDialogs ()
PRBool AllowContentIME ()
virtual PRenderFrameParent * AllocPRenderFrame ()
virtual bool DeallocPRenderFrame (PRenderFrameParent *aFrame)

Protected Attributes

nsIDOMElementmFrameElement
nsCOMPtr< nsIBrowserDOMWindowmBrowserDOMWindow
InfallibleTArray
< DelayedDialogData * > 
mDelayedDialogs
nsString mIMECacheText
PRUint32 mIMESelectionAnchor
PRUint32 mIMESelectionFocus
PRPackedBool mIMEComposing
PRPackedBool mIMECompositionEnding
nsAutoString mIMECompositionText
PRUint32 mIMECompositionStart
PRUint32 mIMESeqno
float mDPI

Static Protected Attributes

static TabParentmIMETabParent

Constructor & Destructor Documentation

mozilla::dom::TabParent::TabParent (  ) 
virtual mozilla::dom::TabParent::~TabParent (  )  [virtual]

Member Function Documentation

void mozilla::dom::TabParent::Activate (  ) 
void mozilla::dom::TabParent::ActorDestroy ( ActorDestroyReason  why  )  [protected]
virtual PContentDialogParent* mozilla::dom::TabParent::AllocPContentDialog ( const PRUint32 &  aType,
const nsCString &  aName,
const nsCString &  aFeatures,
const InfallibleTArray< int > &  aIntParams,
const InfallibleTArray< nsString > &  aStringParams 
) [virtual]
virtual PContentPermissionRequestParent* mozilla::dom::TabParent::AllocPContentPermissionRequest ( const nsCString &  aType,
const IPC::URI uri 
) [virtual]
virtual PDocumentRendererParent* mozilla::dom::TabParent::AllocPDocumentRenderer ( const nsRect documentRect,
const gfxMatrix transform,
const nsString &  bgcolor,
const PRUint32 &  renderFlags,
const bool flushLayout,
const nsIntSize renderSize 
) [virtual]
virtual POfflineCacheUpdateParent* mozilla::dom::TabParent::AllocPOfflineCacheUpdate ( const URI &  aManifestURI,
const URI &  aDocumentURI,
const nsCString &  aClientID,
const bool stickDocument 
) [virtual]
virtual PRenderFrameParent* mozilla::dom::TabParent::AllocPRenderFrame (  )  [protected, virtual]
PRBool mozilla::dom::TabParent::AllowContentIME (  )  [protected]
virtual bool mozilla::dom::TabParent::AnswerCreateWindow ( PBrowserParent **  retval  )  [virtual]
virtual bool mozilla::dom::TabParent::DeallocPContentDialog ( PContentDialogParent *  aDialog  )  [inline, virtual]
virtual bool mozilla::dom::TabParent::DeallocPContentPermissionRequest ( PContentPermissionRequestParent *  actor  )  [virtual]
virtual bool mozilla::dom::TabParent::DeallocPDocumentRenderer ( PDocumentRendererParent *  actor  )  [virtual]
virtual bool mozilla::dom::TabParent::DeallocPOfflineCacheUpdate ( POfflineCacheUpdateParent *  actor  )  [virtual]
virtual bool mozilla::dom::TabParent::DeallocPRenderFrame ( PRenderFrameParent *  aFrame  )  [protected, virtual]
void mozilla::dom::TabParent::Destroy (  ) 
nsIBrowserDOMWindow* mozilla::dom::TabParent::GetBrowserDOMWindow (  )  [inline]
JSBool mozilla::dom::TabParent::GetGlobalJSObject ( JSContext cx,
JSObject **  globalp 
)
static TabParent* mozilla::dom::TabParent::GetIMETabParent (  )  [inline, static]
nsIDOMElement* mozilla::dom::TabParent::GetOwnerElement (  )  [inline]
NS_DECL_ISUPPORTS NS_DECL_NSIAUTHPROMPTPROVIDER NS_DECL_NSISECUREBROWSERUI void mozilla::dom::TabParent::HandleDelayedDialogs (  ) 
bool mozilla::dom::TabParent::HandleQueryContentEvent ( nsQueryContentEvent aEvent  ) 
void mozilla::dom::TabParent::LoadURL ( nsIURI aURI  ) 
void mozilla::dom::TabParent::Move ( const nsIntSize size  ) 
bool mozilla::dom::TabParent::ReceiveMessage ( const nsString &  aMessage,
PRBool  aSync,
const nsString &  aJSON,
InfallibleTArray< nsString > *  aJSONRetVal = 0L 
) [protected]
virtual bool mozilla::dom::TabParent::RecvAsyncMessage ( const nsString &  aMessage,
const nsString &  aJSON 
) [virtual]
virtual bool mozilla::dom::TabParent::RecvEndIMEComposition ( const PRBool aCancel,
nsString *  aComposition 
) [virtual]
virtual bool mozilla::dom::TabParent::RecvEvent ( const RemoteDOMEvent aEvent  )  [virtual]
virtual bool mozilla::dom::TabParent::RecvGetDPI ( float *  aValue  )  [virtual]
virtual bool mozilla::dom::TabParent::RecvGetIMEEnabled ( PRUint32 *  aValue  )  [virtual]
virtual bool mozilla::dom::TabParent::RecvGetIMEOpenState ( PRBool aValue  )  [virtual]
virtual bool mozilla::dom::TabParent::RecvMoveFocus ( const bool aForward  )  [virtual]
virtual bool mozilla::dom::TabParent::RecvNotifyIMEFocus ( const PRBool aFocus,
nsIMEUpdatePreference *  aPreference,
PRUint32 *  aSeqno 
) [virtual]
virtual bool mozilla::dom::TabParent::RecvNotifyIMESelection ( const PRUint32 &  aSeqno,
const PRUint32 &  aAnchor,
const PRUint32 &  aFocus 
) [virtual]
virtual bool mozilla::dom::TabParent::RecvNotifyIMETextChange ( const PRUint32 &  aStart,
const PRUint32 &  aEnd,
const PRUint32 &  aNewEnd 
) [virtual]
virtual bool mozilla::dom::TabParent::RecvNotifyIMETextHint ( const nsString &  aText  )  [virtual]
virtual bool mozilla::dom::TabParent::RecvSetIMEOpenState ( const PRBool aValue  )  [virtual]
virtual bool mozilla::dom::TabParent::RecvSetInputMode ( const PRUint32 &  aValue,
const nsString &  aType,
const nsString &  aAction 
) [virtual]
virtual bool mozilla::dom::TabParent::RecvSyncMessage ( const nsString &  aMessage,
const nsString &  aJSON,
InfallibleTArray< nsString > *  aJSONRetVal 
) [virtual]
bool mozilla::dom::TabParent::SendCompositionEvent ( nsCompositionEvent event  ) 
void mozilla::dom::TabParent::SendKeyEvent ( const nsAString aType,
PRInt32  aKeyCode,
PRInt32  aCharCode,
PRInt32  aModifiers,
PRBool  aPreventDefault 
)
void mozilla::dom::TabParent::SendMouseEvent ( const nsAString aType,
float  aX,
float  aY,
PRInt32  aButton,
PRInt32  aClickCount,
PRInt32  aModifiers,
PRBool  aIgnoreRootScrollFrame 
)
bool mozilla::dom::TabParent::SendSelectionEvent ( nsSelectionEvent event  ) 
bool mozilla::dom::TabParent::SendTextEvent ( nsTextEvent event  ) 
void mozilla::dom::TabParent::SetBrowserDOMWindow ( nsIBrowserDOMWindow aBrowserDOMWindow  )  [inline]
void mozilla::dom::TabParent::SetOwnerElement ( nsIDOMElement aElement  ) 
PRBool mozilla::dom::TabParent::ShouldDelayDialogs (  )  [protected]
void mozilla::dom::TabParent::Show ( const nsIntSize size  ) 

Member Data Documentation

float mozilla::dom::TabParent::mDPI [protected]
PRUint32 mozilla::dom::TabParent::mIMESeqno [protected]

The documentation for this class was generated from the following file: