Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Attributes | Static Private Attributes
EmbedWindow Class Reference

#include <EmbedWindow.h>

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

List of all members.

Public Member Functions

 EmbedWindow ()
virtual ~EmbedWindow ()
nsresult Init (EmbedPrivate *aOwner)
nsresult CreateWindow (void)
void ReleaseChildren (void)
 EmbedWindow ()
virtual ~EmbedWindow ()
nsresult Init (EmbedPrivate *aOwner)
nsresult CreateWindow (void)
void ReleaseChildren (void)
int SaveAs (char *fname, char *dirname)
 EmbedWindow ()
 ~EmbedWindow ()
void Init (QGeckoEmbed *aOwner)
nsresult CreateWindow (void)
void ReleaseChildren (void)
void setStatus (in unsigned long statusType, in wstring status)
 Called when the status text in the chrome needs to be updated.
void destroyBrowserWindow ()
 Asks the implementer to destroy the window associated with this WebBrowser object.
void sizeBrowserTo (in long aCX, in long aCY)
 Tells the chrome to size itself such that the browser will be the specified size.
void showAsModal ()
 Shows the window as a modal window.
boolean isWindowModal ()
 Is the window modal (that is, currently executing a modal loop)?
void exitModalEventLoop (in nsresult aStatus)
 Exit a modal event loop if we're in one.
void focusNextElement ()
 Set the focus at the next focusable element in the chrome.
void focusPrevElement ()
 Set the focus at the previous focusable element in the chrome.
void setDimensions (in unsigned long flags, in long x, in long y, in long cx, in long cy)
 Sets the dimensions for the window; the position & size.
void getDimensions (in unsigned long flags, out long x, out long y, out long cx, out long cy)
 Gets the dimensions of the window.
void setFocus ()
 Give the window focus.
void onShowTooltip (in long aXCoords, in long aYCoords, in wstring aTipText)
 Called when a tooltip should be displayed.
void onHideTooltip ()
 Called when the tooltip should be hidden, either because the pointer has moved or the tooltip has timed out.
void onShowContextMenu (in unsigned long aContextFlags, in nsIDOMEvent aEvent, in nsIDOMNode aNode)
 Called when the browser receives a context menu event (e.g.
void getInterface (in nsIIDRef uuid,[iid_is(uuid), retval] out nsQIResult result)
 Retrieves the specified interface pointer.
void onLookupComplete (in nsICancelable aRequest, in nsIDNSRecord aRecord, in nsresult aStatus)
 called when an asynchronous host lookup completes.

Public Attributes

NS_DECL_ISUPPORTS
NS_DECL_NSIWEBBROWSERCHROME
NS_DECL_NSIWEBBROWSERCHROMEFOCUS
NS_DECL_NSIEMBEDDINGSITEWINDOW
NS_DECL_NSITOOLTIPLISTENER
NS_DECL_NSIINTERFACEREQUESTOR
nsString 
mTitle
nsString mJSStatus
nsString mLinkMessage
nsCOMPtr< nsIBaseWindowmBaseWindow
NS_DECL_ISUPPORTS
NS_DECL_NSIWEBBROWSERCHROME
NS_DECL_NSIWEBBROWSERCHROMEFOCUS
NS_DECL_NSIEMBEDDINGSITEWINDOW
NS_DECL_NSITOOLTIPLISTENER
NS_DECL_NSICONTEXTMENULISTENER
NS_DECL_NSIDNSLISTENER
NS_DECL_NSIINTERFACEREQUESTOR
nsString 
mTitle
NS_DECL_ISUPPORTS
NS_DECL_NSIWEBBROWSERCHROME
NS_DECL_NSIWEBBROWSERCHROMEFOCUS
NS_DECL_NSIEMBEDDINGSITEWINDOW
NS_DECL_NSITOOLTIPLISTENER
NS_DECL_NSICONTEXTMENULISTENER
NS_DECL_NSIINTERFACEREQUESTOR
nsString 
mTitle
const unsigned long STATUS_SCRIPT = 0x00000001
const unsigned long STATUS_SCRIPT_DEFAULT = 0x00000002
const unsigned long STATUS_LINK = 0x00000003
attribute nsIWebBrowser webBrowser
 The currently loaded WebBrowser.
const unsigned long CHROME_DEFAULT = 0x00000001
 Definitions for the chrome flags.
const unsigned long CHROME_WINDOW_BORDERS = 0x00000002
const unsigned long CHROME_WINDOW_CLOSE = 0x00000004
const unsigned long CHROME_WINDOW_RESIZE = 0x00000008
const unsigned long CHROME_MENUBAR = 0x00000010
const unsigned long CHROME_TOOLBAR = 0x00000020
const unsigned long CHROME_LOCATIONBAR = 0x00000040
const unsigned long CHROME_STATUSBAR = 0x00000080
const unsigned long CHROME_PERSONAL_TOOLBAR = 0x00000100
const unsigned long CHROME_SCROLLBARS = 0x00000200
const unsigned long CHROME_TITLEBAR = 0x00000400
const unsigned long CHROME_EXTRA = 0x00000800
const unsigned long CHROME_WITH_SIZE = 0x00001000
const unsigned long CHROME_WITH_POSITION = 0x00002000
const unsigned long CHROME_WINDOW_MIN = 0x00004000
const unsigned long CHROME_WINDOW_POPUP = 0x00008000
const unsigned long CHROME_WINDOW_RAISED = 0x02000000
const unsigned long CHROME_WINDOW_LOWERED = 0x04000000
const unsigned long CHROME_CENTER_SCREEN = 0x08000000
const unsigned long CHROME_DEPENDENT = 0x10000000
const unsigned long CHROME_MODAL = 0x20000000
const unsigned long CHROME_OPENAS_DIALOG = 0x40000000
const unsigned long CHROME_OPENAS_CHROME = 0x80000000
const unsigned long CHROME_ALL = 0x00000ffe
attribute unsigned long chromeFlags
 The chrome flags for this browser chrome.
const unsigned long DIM_FLAGS_POSITION = 1
 Flag indicates that position of the top left corner of the outer area is required/specified.
const unsigned long DIM_FLAGS_SIZE_INNER = 2
 Flag indicates that the size of the inner area is required/specified.
const unsigned long DIM_FLAGS_SIZE_OUTER = 4
 Flag indicates that the size of the outer area is required/specified.
attribute boolean visibility
 Visibility of the window.
attribute wstring title
 Title of the window.
readonly attribute voidPtr siteWindow
 Native window for the site's window.
const unsigned long CONTEXT_NONE = 0
 Flag.
const unsigned long CONTEXT_LINK = 1
 Flag.
const unsigned long CONTEXT_IMAGE = 2
 Flag.
const unsigned long CONTEXT_DOCUMENT = 4
 Flag.
const unsigned long CONTEXT_TEXT = 8
 Flag.
const unsigned long CONTEXT_INPUT = 16
 Flag.

Private Attributes

EmbedPrivatemOwner
nsCOMPtr< nsIWebBrowsermWebBrowser
PRBool mVisibility
PRBool mIsModal
QGeckoEmbedmOwner
MozTipLabeltooltip

Static Private Attributes

static GtkWidget * sTipWindow = nsnull
static PtWidget_t * sTipWindow

Detailed Description

Definition at line 57 of file EmbedWindow.h.


Constructor & Destructor Documentation

Definition at line 53 of file EmbedWindow.cpp.

Definition at line 60 of file EmbedWindow.cpp.

{
  ExitModalEventLoop(PR_FALSE);
}
virtual EmbedWindow::~EmbedWindow ( ) [virtual]

Member Function Documentation

Definition at line 85 of file EmbedWindow.cpp.

{
  nsresult rv;
  GtkWidget *ownerAsWidget = GTK_WIDGET(mOwner->mOwningWidget);

  // Get the base window interface for the web browser object and
  // create the window.
  mBaseWindow = do_QueryInterface(mWebBrowser);
  rv = mBaseWindow->InitWindow(GTK_WIDGET(mOwner->mOwningWidget),
                            nsnull,
                            0, 0, 
                            ownerAsWidget->allocation.width,
                            ownerAsWidget->allocation.height);
  if (NS_FAILED(rv))
    return rv;

  rv = mBaseWindow->Create();
  if (NS_FAILED(rv))
    return rv;

  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Asks the implementer to destroy the window associated with this WebBrowser object.

Exit a modal event loop if we're in one.

The implementation should also exit out of the loop if the window is destroyed.

Parameters:
aStatus- the result code to return from showAsModal

Set the focus at the next focusable element in the chrome.

Set the focus at the previous focusable element in the chrome.

void nsIEmbeddingSiteWindow::getDimensions ( in unsigned long  flags,
out long  x,
out long  y,
out long  cx,
out long  cy 
) [inherited]

Gets the dimensions of the window.

The caller may pass nsnull for any value it is uninterested in receiving.

Parameters:
flagsCombination of position, inner and outer size flag .
xLeft hand corner of the outer area; or nsnull.
yTop corner of the outer area; or nsnull.
cxWidth of the inner or outer area; or nsnull.
cyHeight of the inner or outer area; or nsnull.
See also:
setDimensions
DIM_FLAGS_POSITION
DIM_FLAGS_SIZE_OUTER
DIM_FLAGS_SIZE_INNER
void nsIInterfaceRequestor::getInterface ( in nsIIDRef  uuid,
[iid_is(uuid), retval] out nsQIResult  result 
) [inherited]

Retrieves the specified interface pointer.

Parameters:
uuidThe IID of the interface being requested.
result[out] The interface pointer to be filled in if the interface is accessible.
Returns:
NS_OK - interface was successfully returned. NS_NOINTERFACE - interface not accessible. NS_ERROR* - method failure.

Definition at line 100 of file EmbedWindow.cpp.

{
    // save our owner for later
    mOwner = aOwner;

    // create our nsIWebBrowser object and set up some basic defaults.
    mWebBrowser = do_CreateInstance(NS_WEBBROWSER_CONTRACTID);
    if (!mWebBrowser) {
        //log an error
        return;
    }

    mWebBrowser->SetContainerWindow(NS_STATIC_CAST(nsIWebBrowserChrome *, this));

    nsCOMPtr<nsIDocShellTreeItem> item = do_QueryInterface(mWebBrowser);
    item->SetItemType(nsIDocShellTreeItem::typeContentWrapper);

}

Here is the call graph for this function:

Definition at line 66 of file EmbedWindow.cpp.

{
  // save our owner for later
  mOwner = aOwner;

  // create our nsIWebBrowser object and set up some basic defaults.
  mWebBrowser = do_CreateInstance(NS_WEBBROWSER_CONTRACTID);
  if (!mWebBrowser)
    return NS_ERROR_FAILURE;

  mWebBrowser->SetContainerWindow(NS_STATIC_CAST(nsIWebBrowserChrome *, this));
  
  nsCOMPtr<nsIDocShellTreeItem> item = do_QueryInterface(mWebBrowser);
  item->SetItemType(nsIDocShellTreeItem::typeContentWrapper);

  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Is the window modal (that is, currently executing a modal loop)?

Returns:
true if it's a modal window

Called when the tooltip should be hidden, either because the pointer has moved or the tooltip has timed out.

void nsIDNSListener::onLookupComplete ( in nsICancelable  aRequest,
in nsIDNSRecord  aRecord,
in nsresult  aStatus 
) [inherited]

called when an asynchronous host lookup completes.

Parameters:
aRequestthe value returned from asyncResolve.
aRecordthe DNS record corresponding to the hostname that was resolved. this parameter is null if there was an error.
aStatusif the lookup failed, this parameter gives the reason.
void nsIContextMenuListener::onShowContextMenu ( in unsigned long  aContextFlags,
in nsIDOMEvent  aEvent,
in nsIDOMNode  aNode 
) [inherited]

Called when the browser receives a context menu event (e.g.

user is right-mouse clicking somewhere on the document). The combination of flags, event and node provided in the call indicate where and what was clicked on.

The following table describes what context flags and node combinations are possible.

aContextFlagaNode
CONTEXT_LINK<A>
CONTEXT_IMAGE<IMG>
CONTEXT_IMAGE | CONTEXT_LINK<IMG> with an <A> as an ancestor
CONTEXT_INPUT<INPUT>
CONTEXT_TEXT<TEXTAREA>
CONTEXT_DOCUMENT<HTML>
Parameters:
aContextFlagsFlags indicating the kind of context.
aEventThe DOM context menu event.
aNodeThe DOM node most relevant to the context.
Returns:
NS_OK always.
void nsITooltipListener::onShowTooltip ( in long  aXCoords,
in long  aYCoords,
in wstring  aTipText 
) [inherited]

Called when a tooltip should be displayed.

Parameters:
aXCoordsThe tooltip left edge X coordinate.
aYCoordsThe tooltip top edge Y coordinate.
aTipTextThe text to display in the tooltip, typically obtained from the TITLE attribute of the node (or containing parent) over which the pointer has been positioned.
Note:
Coordinates are specified in pixels, relative to the top-left corner of the browser area.
Returns:
NS_OK if the tooltip was displayed.

Definition at line 109 of file EmbedWindow.cpp.

{
  ExitModalEventLoop(PR_FALSE);
    
  mBaseWindow->Destroy();
  mBaseWindow = 0;
  mWebBrowser = 0;
}

Here is the caller graph for this function:

int EmbedWindow::SaveAs ( char *  fname,
char *  dirname 
)

Definition at line 202 of file EmbedWindow.cpp.

{
       nsresult rv;

       nsCOMPtr<nsIWebBrowserPersist> persist(do_GetInterface(mWebBrowser, &rv));
       if (NS_FAILED(rv)) return rv;

  nsCOMPtr<nsILocalFile> file;
  NS_NewNativeLocalFile(nsDependentCString(fname), PR_TRUE, getter_AddRefs(file));

       /* the nsIWebBrowserPersist wants a parent directory where to download images and other items related to the document */
       /* we have to provide a directory, otherwise the current SaveDocument is marked as not finished and the next one is aborted */
       nsCOMPtr<nsILocalFile> parentDirAsLocal;
       rv = NS_NewNativeLocalFile(nsDependentCString( dirname ), PR_TRUE, getter_AddRefs(parentDirAsLocal));
       if (NS_FAILED(rv)) return rv;

       PRUint32 flags;
       persist->GetPersistFlags( &flags );
       if( !(flags & nsIWebBrowserPersist::PERSIST_FLAGS_REPLACE_EXISTING_FILES ) ) persist->SetPersistFlags( nsIWebBrowserPersist::PERSIST_FLAGS_REPLACE_EXISTING_FILES );

  persist->SaveDocument(nsnull, file, parentDirAsLocal, nsnull, 0, 0);
  return 0;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void nsIEmbeddingSiteWindow::setDimensions ( in unsigned long  flags,
in long  x,
in long  y,
in long  cx,
in long  cy 
) [inherited]

Sets the dimensions for the window; the position & size.

The flags to indicate what the caller wants to set and whether the size refers to the inner or outer area. The inner area refers to just the embedded area, wheras the outer area can also include any surrounding chrome, window frame, title bar, and so on.

Parameters:
flagsCombination of position, inner and outer size flags.
xLeft hand corner of the outer area.
yTop corner of the outer area.
cxWidth of the inner or outer area.
cyHeight of the inner or outer area.
Returns:
NS_OK if operation was performed correctly; NS_ERROR_UNEXPECTED if window could not be destroyed; NS_ERROR_INVALID_ARG for bad flag combination or illegal dimensions.
See also:
getDimensions
DIM_FLAGS_POSITION
DIM_FLAGS_SIZE_OUTER
DIM_FLAGS_SIZE_INNER

Give the window focus.

void nsIWebBrowserChrome::setStatus ( in unsigned long  statusType,
in wstring  status 
) [inherited]

Called when the status text in the chrome needs to be updated.

Parameters:
statusTypeindicates what is setting the text
statusstatus string. null is an acceptable value meaning no status.

Shows the window as a modal window.

Returns:
(the function error code) the status value specified by in exitModalEventLoop.
void nsIWebBrowserChrome::sizeBrowserTo ( in long  aCX,
in long  aCY 
) [inherited]

Tells the chrome to size itself such that the browser will be the specified size.

Parameters:
aCXnew width of the browser
aCYnew height of the browser

Member Data Documentation

const unsigned long nsIWebBrowserChrome::CHROME_ALL = 0x00000ffe [inherited]

Definition at line 116 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_CENTER_SCREEN = 0x08000000 [inherited]

Definition at line 103 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_DEFAULT = 0x00000001 [inherited]

Definitions for the chrome flags.

Definition at line 80 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_DEPENDENT = 0x10000000 [inherited]

Definition at line 108 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_EXTRA = 0x00000800 [inherited]

Definition at line 91 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_LOCATIONBAR = 0x00000040 [inherited]

Definition at line 86 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_MENUBAR = 0x00000010 [inherited]

Definition at line 84 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_MODAL = 0x20000000 [inherited]

Definition at line 112 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_OPENAS_CHROME = 0x80000000 [inherited]

Definition at line 114 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_OPENAS_DIALOG = 0x40000000 [inherited]

Definition at line 113 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_PERSONAL_TOOLBAR = 0x00000100 [inherited]

Definition at line 88 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_SCROLLBARS = 0x00000200 [inherited]

Definition at line 89 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_STATUSBAR = 0x00000080 [inherited]

Definition at line 87 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_TITLEBAR = 0x00000400 [inherited]

Definition at line 90 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_TOOLBAR = 0x00000020 [inherited]

Definition at line 85 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_WINDOW_BORDERS = 0x00000002 [inherited]

Definition at line 81 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_WINDOW_CLOSE = 0x00000004 [inherited]

Definition at line 82 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_WINDOW_LOWERED = 0x04000000 [inherited]

Definition at line 102 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_WINDOW_MIN = 0x00004000 [inherited]

Definition at line 98 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_WINDOW_POPUP = 0x00008000 [inherited]

Definition at line 99 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_WINDOW_RAISED = 0x02000000 [inherited]

Definition at line 101 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_WINDOW_RESIZE = 0x00000008 [inherited]

Definition at line 83 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_WITH_POSITION = 0x00002000 [inherited]

Definition at line 95 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::CHROME_WITH_SIZE = 0x00001000 [inherited]

Definition at line 94 of file nsIWebBrowserChrome.idl.

The chrome flags for this browser chrome.

The implementation should reflect the value of this attribute by hiding or showing its chrome appropriately.

Definition at line 123 of file nsIWebBrowserChrome.idl.

Flag.

Context is the whole document.

Definition at line 67 of file nsIContextMenuListener.idl.

Flag.

Context is an image element.

Definition at line 65 of file nsIContextMenuListener.idl.

Flag.

Context is an input element.

Definition at line 71 of file nsIContextMenuListener.idl.

Flag.

Context is a link element.

Definition at line 63 of file nsIContextMenuListener.idl.

Flag.

No context.

Definition at line 61 of file nsIContextMenuListener.idl.

Flag.

Context is a text area element.

Definition at line 69 of file nsIContextMenuListener.idl.

Flag indicates that position of the top left corner of the outer area is required/specified.

See also:
setDimensions
getDimensions

Definition at line 61 of file nsIEmbeddingSiteWindow.idl.

Flag indicates that the size of the inner area is required/specified.

Note:
The inner and outer flags are mutually exclusive and it is invalid to combine them.
See also:
setDimensions
getDimensions
DIM_FLAGS_SIZE_OUTER

Definition at line 73 of file nsIEmbeddingSiteWindow.idl.

Flag indicates that the size of the outer area is required/specified.

See also:
setDimensions
getDimensions
DIM_FLAGS_SIZE_INNER

Definition at line 82 of file nsIEmbeddingSiteWindow.idl.

Definition at line 89 of file EmbedWindow.h.

Definition at line 97 of file EmbedWindow.h.

Definition at line 86 of file EmbedWindow.h.

Definition at line 87 of file EmbedWindow.h.

Definition at line 93 of file EmbedWindow.h.

Definition at line 95 of file EmbedWindow.h.

NS_DECL_ISUPPORTS NS_DECL_NSIWEBBROWSERCHROME NS_DECL_NSIWEBBROWSERCHROMEFOCUS NS_DECL_NSIEMBEDDINGSITEWINDOW NS_DECL_NSITOOLTIPLISTENER NS_DECL_NSIINTERFACEREQUESTOR nsString EmbedWindow::mTitle

Definition at line 85 of file EmbedWindow.h.

NS_DECL_ISUPPORTS NS_DECL_NSIWEBBROWSERCHROME NS_DECL_NSIWEBBROWSERCHROMEFOCUS NS_DECL_NSIEMBEDDINGSITEWINDOW NS_DECL_NSITOOLTIPLISTENER NS_DECL_NSICONTEXTMENULISTENER NS_DECL_NSIINTERFACEREQUESTOR nsString EmbedWindow::mTitle

Definition at line 88 of file EmbedWindow.h.

NS_DECL_ISUPPORTS NS_DECL_NSIWEBBROWSERCHROME NS_DECL_NSIWEBBROWSERCHROMEFOCUS NS_DECL_NSIEMBEDDINGSITEWINDOW NS_DECL_NSITOOLTIPLISTENER NS_DECL_NSICONTEXTMENULISTENER NS_DECL_NSIDNSLISTENER NS_DECL_NSIINTERFACEREQUESTOR nsString EmbedWindow::mTitle

Definition at line 99 of file EmbedWindow.h.

Definition at line 96 of file EmbedWindow.h.

Definition at line 94 of file EmbedWindow.h.

readonly attribute voidPtr nsIEmbeddingSiteWindow::siteWindow [inherited]

Native window for the site's window.

The implementor should copy the native window object into the address supplied by the caller. The type of the native window that the address refers to is platform and OS specific as follows:

  • On Win32 it is an HWND.
  • On MacOS this is a WindowPtr.
  • On GTK this is a GtkWidget*.

Definition at line 154 of file nsIEmbeddingSiteWindow.idl.

const unsigned long nsIWebBrowserChrome::STATUS_LINK = 0x00000003 [inherited]

Definition at line 57 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::STATUS_SCRIPT = 0x00000001 [inherited]

Definition at line 55 of file nsIWebBrowserChrome.idl.

const unsigned long nsIWebBrowserChrome::STATUS_SCRIPT_DEFAULT = 0x00000002 [inherited]

Definition at line 56 of file nsIWebBrowserChrome.idl.

PtWidget_t * EmbedWindow::sTipWindow = nsnull [static, private]

Definition at line 95 of file EmbedWindow.h.

PtWidget_t* EmbedWindow::sTipWindow [static, private]

Definition at line 109 of file EmbedWindow.h.

Title of the window.

Definition at line 140 of file nsIEmbeddingSiteWindow.idl.

Definition at line 99 of file EmbedWindow.h.

Visibility of the window.

Definition at line 135 of file nsIEmbeddingSiteWindow.idl.

The currently loaded WebBrowser.

The browser chrome may be told to set the WebBrowser object to a new object by setting this attribute. In this case the implementer is responsible for taking the new WebBrowser object and doing any necessary initialization or setup as if it had created the WebBrowser itself. This includes positioning setting up listeners etc.

Definition at line 75 of file nsIWebBrowserChrome.idl.


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