Defines |
| #define | COBJMACROS |
| #define | NS_APPSTARTUPNOTIFIER_CONTRACTID "@mozilla.org/embedcomp/appstartup-notifier;1" |
| #define | NS_WEBBROWSER_CONTRACTID "@mozilla.org/embedding/browser/nsWebBrowser;1" |
| #define | NS_MEMORY_CONTRACTID "@mozilla.org/xpcom/memory-service;1" |
| #define | NS_COMMANDPARAMS_CONTRACTID "@mozilla.org/embedcomp/command-params;1" |
| #define | NS_HTMLSERIALIZER_CONTRACTID "@mozilla.org/layout/contentserializer;1?mimetype=text/html" |
| #define | NS_EDITORCONTROLLER_CONTRACTID "@mozilla.org/editor/editorcontroller;1" |
| #define | NS_PREFERENCES_CONTRACTID "@mozilla.org/preferences;1" |
| #define | APPSTARTUP_TOPIC "app-startup" |
| #define | PR_UINT32_MAX 0xffffffff |
| #define | NS_STRING_CONTAINER_INIT_DEPEND 0x0002 |
| #define | NS_CSTRING_CONTAINER_INIT_DEPEND 0x0002 |
| #define | NS_DLSYM(func) |
| #define | NSWBCHROME_THIS(iface) DEFINE_THIS(NSContainer, WebBrowserChrome, iface) |
| #define | NSCML_THIS(iface) DEFINE_THIS(NSContainer, ContextMenuListener, iface) |
| #define | NSURICL_THIS(iface) DEFINE_THIS(NSContainer, URIContentListener, iface) |
| #define | NSEMBWNDS_THIS(iface) DEFINE_THIS(NSContainer, EmbeddingSiteWindow, iface) |
| #define | NSTOOLTIP_THIS(iface) DEFINE_THIS(NSContainer, TooltipListener, iface) |
| #define | NSIFACEREQ_THIS(iface) DEFINE_THIS(NSContainer, InterfaceRequestor, iface) |
| #define | NSWEAKREF_THIS(iface) DEFINE_THIS(NSContainer, WeakReference, iface) |
| #define | NSSUPWEAKREF_THIS(iface) DEFINE_THIS(NSContainer, SupportsWeakReference, iface) |
Functions |
| | WINE_DEFAULT_DEBUG_CHANNEL (mshtml) |
| | WINE_DECLARE_DEBUG_CHANNEL (gecko) |
| static LRESULT WINAPI | nsembed_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| static void | register_nscontainer_class (void) |
| static void | set_environment (LPCWSTR gre_path) |
| static BOOL | load_xpcom (const PRUnichar *gre_path) |
| static BOOL | check_version (LPCWSTR gre_path, const char *version_string) |
| static BOOL | load_wine_gecko_v (PRUnichar *gre_path, HKEY mshtml_key, const char *version, const char *version_string) |
| static BOOL | load_wine_gecko (PRUnichar *gre_path) |
| static void | set_bool_pref (nsIPrefBranch *pref, const char *pref_name, BOOL val) |
| static void | set_int_pref (nsIPrefBranch *pref, const char *pref_name, int val) |
| static void | set_string_pref (nsIPrefBranch *pref, const char *pref_name, const char *val) |
| static void | set_lang (nsIPrefBranch *pref) |
| static void | set_proxy (nsIPrefBranch *pref) |
| static void | set_preferences (void) |
| static BOOL | init_xpcom (const PRUnichar *gre_path) |
| BOOL | load_gecko (BOOL silent) |
| void * | nsalloc (size_t size) |
| void | nsfree (void *mem) |
| static BOOL | nsACString_Init (nsACString *str, const char *data) |
| void | nsACString_InitDepend (nsACString *str, const char *data) |
| void | nsACString_SetData (nsACString *str, const char *data) |
| PRUint32 | nsACString_GetData (const nsACString *str, const char **data) |
| void | nsACString_Finish (nsACString *str) |
| BOOL | nsAString_Init (nsAString *str, const PRUnichar *data) |
| void | nsAString_InitDepend (nsAString *str, const PRUnichar *data) |
| void | nsAString_SetData (nsAString *str, const PRUnichar *data) |
| PRUint32 | nsAString_GetData (const nsAString *str, const PRUnichar **data) |
| void | nsAString_Finish (nsAString *str) |
| nsICommandParams * | create_nscommand_params (void) |
| nsresult | get_nsinterface (nsISupports *iface, REFIID riid, void **ppv) |
| static HRESULT | nsnode_to_nsstring_rec (nsIContentSerializer *serializer, nsIDOMNode *nsnode, nsAString *str) |
| HRESULT | nsnode_to_nsstring (nsIDOMNode *nsnode, nsAString *str) |
| void | get_editor_controller (NSContainer *This) |
| void | close_gecko (void) |
| static nsresult NSAPI | nsWebBrowserChrome_QueryInterface (nsIWebBrowserChrome *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsWebBrowserChrome_AddRef (nsIWebBrowserChrome *iface) |
| static nsrefcnt NSAPI | nsWebBrowserChrome_Release (nsIWebBrowserChrome *iface) |
| static nsresult NSAPI | nsWebBrowserChrome_SetStatus (nsIWebBrowserChrome *iface, PRUint32 statusType, const PRUnichar *status) |
| static nsresult NSAPI | nsWebBrowserChrome_GetWebBrowser (nsIWebBrowserChrome *iface, nsIWebBrowser **aWebBrowser) |
| static nsresult NSAPI | nsWebBrowserChrome_SetWebBrowser (nsIWebBrowserChrome *iface, nsIWebBrowser *aWebBrowser) |
| static nsresult NSAPI | nsWebBrowserChrome_GetChromeFlags (nsIWebBrowserChrome *iface, PRUint32 *aChromeFlags) |
| static nsresult NSAPI | nsWebBrowserChrome_SetChromeFlags (nsIWebBrowserChrome *iface, PRUint32 aChromeFlags) |
| static nsresult NSAPI | nsWebBrowserChrome_DestroyBrowserWindow (nsIWebBrowserChrome *iface) |
| static nsresult NSAPI | nsWebBrowserChrome_SizeBrowserTo (nsIWebBrowserChrome *iface, PRInt32 aCX, PRInt32 aCY) |
| static nsresult NSAPI | nsWebBrowserChrome_ShowAsModal (nsIWebBrowserChrome *iface) |
| static nsresult NSAPI | nsWebBrowserChrome_IsWindowModal (nsIWebBrowserChrome *iface, PRBool *_retval) |
| static nsresult NSAPI | nsWebBrowserChrome_ExitModalEventLoop (nsIWebBrowserChrome *iface, nsresult aStatus) |
| static nsresult NSAPI | nsContextMenuListener_QueryInterface (nsIContextMenuListener *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsContextMenuListener_AddRef (nsIContextMenuListener *iface) |
| static nsrefcnt NSAPI | nsContextMenuListener_Release (nsIContextMenuListener *iface) |
| static nsresult NSAPI | nsContextMenuListener_OnShowContextMenu (nsIContextMenuListener *iface, PRUint32 aContextFlags, nsIDOMEvent *aEvent, nsIDOMNode *aNode) |
| static nsresult NSAPI | nsURIContentListener_QueryInterface (nsIURIContentListener *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsURIContentListener_AddRef (nsIURIContentListener *iface) |
| static nsrefcnt NSAPI | nsURIContentListener_Release (nsIURIContentListener *iface) |
| static nsresult NSAPI | nsURIContentListener_OnStartURIOpen (nsIURIContentListener *iface, nsIURI *aURI, PRBool *_retval) |
| static nsresult NSAPI | nsURIContentListener_DoContent (nsIURIContentListener *iface, const char *aContentType, PRBool aIsContentPreferred, nsIRequest *aRequest, nsIStreamListener **aContentHandler, PRBool *_retval) |
| static nsresult NSAPI | nsURIContentListener_IsPreferred (nsIURIContentListener *iface, const char *aContentType, char **aDesiredContentType, PRBool *_retval) |
| static nsresult NSAPI | nsURIContentListener_CanHandleContent (nsIURIContentListener *iface, const char *aContentType, PRBool aIsContentPreferred, char **aDesiredContentType, PRBool *_retval) |
| static nsresult NSAPI | nsURIContentListener_GetLoadCookie (nsIURIContentListener *iface, nsISupports **aLoadCookie) |
| static nsresult NSAPI | nsURIContentListener_SetLoadCookie (nsIURIContentListener *iface, nsISupports *aLoadCookie) |
| static nsresult NSAPI | nsURIContentListener_GetParentContentListener (nsIURIContentListener *iface, nsIURIContentListener **aParentContentListener) |
| static nsresult NSAPI | nsURIContentListener_SetParentContentListener (nsIURIContentListener *iface, nsIURIContentListener *aParentContentListener) |
| static nsresult NSAPI | nsEmbeddingSiteWindow_QueryInterface (nsIEmbeddingSiteWindow *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsEmbeddingSiteWindow_AddRef (nsIEmbeddingSiteWindow *iface) |
| static nsrefcnt NSAPI | nsEmbeddingSiteWindow_Release (nsIEmbeddingSiteWindow *iface) |
| static nsresult NSAPI | nsEmbeddingSiteWindow_SetDimensions (nsIEmbeddingSiteWindow *iface, PRUint32 flags, PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy) |
| static nsresult NSAPI | nsEmbeddingSiteWindow_GetDimensions (nsIEmbeddingSiteWindow *iface, PRUint32 flags, PRInt32 *x, PRInt32 *y, PRInt32 *cx, PRInt32 *cy) |
| static nsresult NSAPI | nsEmbeddingSiteWindow_SetFocus (nsIEmbeddingSiteWindow *iface) |
| static nsresult NSAPI | nsEmbeddingSiteWindow_GetVisibility (nsIEmbeddingSiteWindow *iface, PRBool *aVisibility) |
| static nsresult NSAPI | nsEmbeddingSiteWindow_SetVisibility (nsIEmbeddingSiteWindow *iface, PRBool aVisibility) |
| static nsresult NSAPI | nsEmbeddingSiteWindow_GetTitle (nsIEmbeddingSiteWindow *iface, PRUnichar **aTitle) |
| static nsresult NSAPI | nsEmbeddingSiteWindow_SetTitle (nsIEmbeddingSiteWindow *iface, const PRUnichar *aTitle) |
| static nsresult NSAPI | nsEmbeddingSiteWindow_GetSiteWindow (nsIEmbeddingSiteWindow *iface, void **aSiteWindow) |
| static nsresult NSAPI | nsTooltipListener_QueryInterface (nsITooltipListener *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsTooltipListener_AddRef (nsITooltipListener *iface) |
| static nsrefcnt NSAPI | nsTooltipListener_Release (nsITooltipListener *iface) |
| static nsresult NSAPI | nsTooltipListener_OnShowTooltip (nsITooltipListener *iface, PRInt32 aXCoord, PRInt32 aYCoord, const PRUnichar *aTipText) |
| static nsresult NSAPI | nsTooltipListener_OnHideTooltip (nsITooltipListener *iface) |
| static nsresult NSAPI | nsInterfaceRequestor_QueryInterface (nsIInterfaceRequestor *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsInterfaceRequestor_AddRef (nsIInterfaceRequestor *iface) |
| static nsrefcnt NSAPI | nsInterfaceRequestor_Release (nsIInterfaceRequestor *iface) |
| static nsresult NSAPI | nsInterfaceRequestor_GetInterface (nsIInterfaceRequestor *iface, nsIIDRef riid, nsQIResult result) |
| static nsresult NSAPI | nsWeakReference_QueryInterface (nsIWeakReference *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsWeakReference_AddRef (nsIWeakReference *iface) |
| static nsrefcnt NSAPI | nsWeakReference_Release (nsIWeakReference *iface) |
| static nsresult NSAPI | nsWeakReference_QueryReferent (nsIWeakReference *iface, const nsIID *riid, void **result) |
| static nsresult NSAPI | nsSupportsWeakReference_QueryInterface (nsISupportsWeakReference *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsSupportsWeakReference_AddRef (nsISupportsWeakReference *iface) |
| static nsrefcnt NSAPI | nsSupportsWeakReference_Release (nsISupportsWeakReference *iface) |
| static nsresult NSAPI | nsSupportsWeakReference_GetWeakReference (nsISupportsWeakReference *iface, nsIWeakReference **_retval) |
| NSContainer * | NSContainer_Create (HTMLDocumentObj *doc, NSContainer *parent) |
| void | NSContainer_Release (NSContainer *This) |
Variables |
| static nsresult(* | NS_InitXPCOM2 )(nsIServiceManager **, void *, void *) |
| static nsresult(* | NS_ShutdownXPCOM )(nsIServiceManager *) |
| static nsresult(* | NS_GetComponentRegistrar )(nsIComponentRegistrar **) |
| static nsresult(* | NS_StringContainerInit2 )(nsStringContainer *, const PRUnichar *, PRUint32, PRUint32) |
| static nsresult(* | NS_CStringContainerInit2 )(nsCStringContainer *, const char *, PRUint32, PRUint32) |
| static nsresult(* | NS_StringContainerFinish )(nsStringContainer *) |
| static nsresult(* | NS_CStringContainerFinish )(nsCStringContainer *) |
| static nsresult(* | NS_StringSetData )(nsAString *, const PRUnichar *, PRUint32) |
| static nsresult(* | NS_CStringSetData )(nsACString *, const char *, PRUint32) |
| static nsresult(* | NS_NewLocalFile )(const nsAString *, PRBool, nsIFile **) |
| static PRUint32(* | NS_StringGetData )(const nsAString *, const PRUnichar **, PRBool *) |
| static PRUint32(* | NS_CStringGetData )(const nsACString *, const char **, PRBool *) |
| static HINSTANCE | hXPCOM = NULL |
| static nsIServiceManager * | pServMgr = NULL |
| static nsIComponentManager * | pCompMgr = NULL |
| static nsIMemory * | nsmem = NULL |
| static const WCHAR | wszNsContainer [] = {'N','s','C','o','n','t','a','i','n','e','r',0} |
| static ATOM | nscontainer_class |
| static CRITICAL_SECTION | cs_load_gecko = { &cs_load_gecko_dbg, -1, 0, 0, 0, 0 } |
| static CRITICAL_SECTION_DEBUG | cs_load_gecko_dbg |
static const
nsIWebBrowserChromeVtbl | nsWebBrowserChromeVtbl |
static const
nsIContextMenuListenerVtbl | nsContextMenuListenerVtbl |
static const
nsIURIContentListenerVtbl | nsURIContentListenerVtbl |
static const
nsIEmbeddingSiteWindowVtbl | nsEmbeddingSiteWindowVtbl |
| static const nsITooltipListenerVtbl | nsTooltipListenerVtbl |
static const
nsIInterfaceRequestorVtbl | nsInterfaceRequestorVtbl |
| static const nsIWeakReferenceVtbl | nsWeakReferenceVtbl |
static const
nsISupportsWeakReferenceVtbl | nsSupportsWeakReferenceVtbl |