Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsILinkHandler Class Reference

Interface used for handling clicks on links. More...

#include <nsILinkHandler.h>

Inheritance diagram for nsILinkHandler:
Inheritance graph
[legend]
Collaboration diagram for nsILinkHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD OnLinkClick (nsIContent *aContent, nsLinkVerb aVerb, nsIURI *aURI, const PRUnichar *aTargetSpec, nsIInputStream *aPostDataStream=0, nsIInputStream *aHeadersDataStream=0)=0
 Process a click on a link.
NS_IMETHOD OnLinkClickSync (nsIContent *aContent, nsLinkVerb aVerb, nsIURI *aURI, const PRUnichar *aTargetSpec, nsIInputStream *aPostDataStream=0, nsIInputStream *aHeadersDataStream=0, nsIDocShell **aDocShell=0, nsIRequest **aRequest=0)=0
 Process a click on a link.
NS_IMETHOD OnOverLink (nsIContent *aContent, nsIURI *aURLSpec, const PRUnichar *aTargetSpec)=0
 Process a mouse-over a link.
NS_IMETHOD OnLeaveLink ()=0
 Process the mouse leaving a link.
NS_IMETHOD GetLinkState (nsIURI *aLinkURI, nsLinkState &aState)=0
 Get the state of a link to a given absolute URL.

Detailed Description

Interface used for handling clicks on links.

Definition at line 73 of file nsILinkHandler.h.


Member Function Documentation

NS_IMETHOD nsILinkHandler::GetLinkState ( nsIURI aLinkURI,
nsLinkState aState 
) [pure virtual]

Get the state of a link to a given absolute URL.

Implemented in nsWebShell.

Here is the caller graph for this function:

Process the mouse leaving a link.

Implemented in nsWebShell.

Here is the caller graph for this function:

NS_IMETHOD nsILinkHandler::OnLinkClick ( nsIContent aContent,
nsLinkVerb  aVerb,
nsIURI aURI,
const PRUnichar aTargetSpec,
nsIInputStream aPostDataStream = 0,
nsIInputStream aHeadersDataStream = 0 
) [pure virtual]

Process a click on a link.

Parameters:
aContentthe content for the frame that generated the trigger
aVerbthe verb to use when the link is triggered
aURIa URI object that defines the destination for the link
aTargetSpecindicates where the link is targeted (may be an empty string)
aPostDataStreamthe POST data to send
aHeadersDataStream???

Implemented in nsWebShell.

Here is the caller graph for this function:

NS_IMETHOD nsILinkHandler::OnLinkClickSync ( nsIContent aContent,
nsLinkVerb  aVerb,
nsIURI aURI,
const PRUnichar aTargetSpec,
nsIInputStream aPostDataStream = 0,
nsIInputStream aHeadersDataStream = 0,
nsIDocShell **  aDocShell = 0,
nsIRequest **  aRequest = 0 
) [pure virtual]

Process a click on a link.

Works the same as OnLinkClick() except it happens immediately rather than through an event.

Parameters:
aContentthe content for the frame that generated the trigger
aVerbthe verb to use when the link is triggered
aURIa URI obect that defines the destination for the link
aTargetSpecindicates where the link is targeted (may be an empty string)
aPostDataStreamthe POST data to send
aHeadersDataStream???
aDocShell(out-param) the DocShell that the request was opened on
aRequestthe request that was opened

Implemented in nsWebShell.

Here is the caller graph for this function:

NS_IMETHOD nsILinkHandler::OnOverLink ( nsIContent aContent,
nsIURI aURLSpec,
const PRUnichar aTargetSpec 
) [pure virtual]

Process a mouse-over a link.

Parameters:
aContentthe linked content.
aURIan URI object that defines the destination for the link
aTargetSpecindicates where the link is targeted (it may be an empty string)

Implemented in nsWebShell.

Here is the caller graph for this function:


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