Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
MozillaBrowser.cpp File Reference
#include "stdafx.h"
#include <string.h>
#include <string>
#include <objidl.h>
#include <shlobj.h>
#include <commdlg.h>
#include "MozillaControl.h"
#include "MozillaBrowser.h"
#include "IEHtmlDocument.h"
#include "PropertyDlg.h"
#include "PageSetupDlg.h"
#include "PromptService.h"
#include "HelperAppDlg.h"
#include "WindowCreator.h"
#include "nsNetUtil.h"
#include "nsCWebBrowser.h"
#include "nsIAtom.h"
#include "nsILocalFile.h"
#include "nsIWebBrowserPersist.h"
#include "nsIClipboardCommands.h"
#include "nsIProfile.h"
#include "nsIPrintOptions.h"
#include "nsIWebBrowserPrint.h"
#include "nsIWidget.h"
#include "nsIWebBrowserFocus.h"
#include "nsAppDirectoryServiceDefs.h"
#include "nsIComponentRegistrar.h"
#include "nsIDOMWindow.h"
#include "nsIDOMHTMLAnchorElement.h"
#include "nsIDOMNSDocument.h"
#include "nsEmbedAPI.h"
#include "nsEmbedCID.h"

Go to the source code of this file.

Classes

class  PrintListener
class  SimpleDirectoryProvider

Defines

#define HACK_NON_REENTRANCY
#define NS_PROMPTSERVICE_CID   {0xa2112d6a, 0x0e28, 0x421f, {0xb4, 0x6a, 0x25, 0xc0, 0xb3, 0x8, 0xcb, 0xd0}}
#define NS_HELPERAPPLAUNCHERDIALOG_CID   {0xf68578eb, 0x6ec2, 0x4169, {0xae, 0x19, 0x8c, 0x62, 0x43, 0xf0, 0xab, 0xe1}}

Functions

static NS_DEFINE_CID (kPromptServiceCID, NS_PROMPTSERVICE_CID)
static NS_DEFINE_CID (kHelperAppLauncherDialogCID, NS_HELPERAPPLAUNCHERDIALOG_CID)
static BOOL _IsEqualGUID (REFGUID rguid1, REFGUID rguid2)
static BOOL CALLBACK EnumChildProc (HWND hwnd, LPARAM lParam)

Variables

static HANDLE s_hHackedNonReentrancy = NULL
static const char kDesignModeScheme [] = "data"
static const OLECHAR kDesignModeURL [] = "data:text/html,<html><body bgcolor=\"#00FF00\"><p>Mozilla Control</p></body></html>"
static const TCHAR kBrowserHelperObjectRegKey []
GUID CGID_IWebBrowser_Moz
GUID CGID_MSHTML_Moz

Define Documentation

Definition at line 78 of file MozillaBrowser.cpp.

#define NS_HELPERAPPLAUNCHERDIALOG_CID   {0xf68578eb, 0x6ec2, 0x4169, {0xae, 0x19, 0x8c, 0x62, 0x43, 0xf0, 0xab, 0xe1}}

Definition at line 86 of file MozillaBrowser.cpp.

#define NS_PROMPTSERVICE_CID   {0xa2112d6a, 0x0e28, 0x421f, {0xb4, 0x6a, 0x25, 0xc0, 0xb3, 0x8, 0xcb, 0xd0}}

Definition at line 83 of file MozillaBrowser.cpp.


Function Documentation

static BOOL _IsEqualGUID ( REFGUID  rguid1,
REFGUID  rguid2 
) [inline, static]

Definition at line 207 of file MozillaBrowser.cpp.

{
   return (
      ((PLONG) &rguid1)[0] == ((PLONG) &rguid2)[0] &&
      ((PLONG) &rguid1)[1] == ((PLONG) &rguid2)[1] &&
      ((PLONG) &rguid1)[2] == ((PLONG) &rguid2)[2] &&
      ((PLONG) &rguid1)[3] == ((PLONG) &rguid2)[3]);
}
static BOOL CALLBACK EnumChildProc ( HWND  hwnd,
LPARAM  lParam 
) [static]

Definition at line 1833 of file MozillaBrowser.cpp.

{
    ::RevokeDragDrop(hwnd);
    return TRUE;
}

Here is the caller graph for this function:

static NS_DEFINE_CID ( kPromptServiceCID  ,
NS_PROMPTSERVICE_CID   
) [static]
static NS_DEFINE_CID ( kHelperAppLauncherDialogCID  ,
NS_HELPERAPPLAUNCHERDIALOG_CID   
) [static]

Variable Documentation

Initial value:
    { 0xED016940L, 0xBD5B, 0x11cf, {0xBA, 0x4E, 0x00, 0xC0, 0x4F, 0xD7, 0x08, 0x16} }

Definition at line 140 of file MozillaBrowser.cpp.

Initial value:
    { 0xED016940L, 0xBD5B, 0x11cf, {0xBA, 0x4E, 0x00, 0xC0, 0x4F, 0xD7, 0x08, 0x16} }

Definition at line 143 of file MozillaBrowser.cpp.

Initial value:
    _T("Software\\Mozilla\\ActiveX Control\\Browser Helper Objects")

Definition at line 133 of file MozillaBrowser.cpp.

const char kDesignModeScheme[] = "data" [static]

Definition at line 127 of file MozillaBrowser.cpp.

const OLECHAR kDesignModeURL[] = "data:text/html,<html><body bgcolor=\"#00FF00\"><p>Mozilla Control</p></body></html>" [static]

Definition at line 128 of file MozillaBrowser.cpp.

Definition at line 80 of file MozillaBrowser.cpp.