Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
IWebBrowserImpl.h File Reference
#include <mshtml.h>
#include "nsIWebNavigation.h"
#include "nsIPrefBranch.h"
#include "nsIPrefLocalizedString.h"
#include "nsIDOMWindow.h"
#include "nsIBaseWindow.h"
#include "nsIWindowWatcher.h"
#include "nsIInputStream.h"
#include "nsIByteArrayInputStream.h"
#include "nsIURI.h"
#include "PropertyList.h"
#include "CPMozillaControl.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IWebBrowserImpl< T, pclsid, plibid >

Defines

#define ENSURE_BROWSER_IS_VALID()
#define ENSURE_GET_WEBNAV()

Define Documentation

Value:
if (!BrowserIsValid()) \
    { \
        NS_ASSERTION(0, "Browser is not valid"); \
        return SetErrorInfo(E_UNEXPECTED, L"Browser is not in a valid state"); \
    }

Definition at line 59 of file IWebBrowserImpl.h.

Value:
nsCOMPtr<nsIWebNavigation> webNav; \
    nsresult rv = GetWebNavigation(getter_AddRefs(webNav)); \
    if (NS_FAILED(rv)) \
    { \
        NS_ASSERTION(0, "Cannot get nsIWebNavigation"); \
        return SetErrorInfo(E_UNEXPECTED, L"Could not obtain nsIWebNavigation interface"); \
    }

Definition at line 66 of file IWebBrowserImpl.h.