Back to index

lightning-sunbird  0.9+nobinonly
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Attributes
ATL_NO_VTABLE Protocol Reference

#include <MozillaBrowser.h>

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

List of all members.

Classes

struct  LoadedPluginInfo
struct  PluginInfo

Public Types

typedef HRESULT(_stdcall * OleCommandProc )(CControlSite *pT, const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
typedef HRESULT(_stdcall * OleCommandProc )(CMozillaBrowser *pT, const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)

Public Member Functions

 CMozillaBrowser ()
virtual ~CMozillaBrowser ()
 COM_INTERFACE_ENTRY_IID (DIID_DWebBrowserEvents, CProxyDWebBrowserEvents< CMozillaBrowser >) COM_INTERFACE_ENTRY_IID(DIID_DWebBrowserEvents2
CProxyDWebBrowserEvents2
< CMozillaBrowser
COM_INTERFACE_ENTRY_IMPL (IQuickActivate) static HRESULT _stdcall PrintHandler(CMozillaBrowser *pThis
HWND GetCommandTargetWindow () const
LRESULT OnCreate (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
LRESULT OnDestroy (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
LRESULT OnSize (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
LRESULT OnSetFocus (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
LRESULT OnKillFocus (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
LRESULT OnGetDlgCode (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
LRESULT OnMouseActivate (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
LRESULT OnPrint (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnPageSetup (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnViewSource (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnSaveAs (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnProperties (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnCut (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnCopy (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnPaste (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnSelectAll (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnDocumentBack (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnDocumentForward (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnDocumentPrint (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnDocumentRefresh (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnDocumentProperties (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnLinkOpen (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnLinkOpenInNewWindow (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnLinkCopyShortcut (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnLinkProperties (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
STDMETHOD() InterfaceSupportsErrorInfo (REFIID riid)
STDMETHOD() GetViewStatus (DWORD *pdwStatus)
HRESULT InPlaceActivate (LONG iVerb, const RECT *prcPosRect)
virtual HRESULT STDMETHODCALLTYPE CMozillaBrowser::GetClientSite (IOleClientSite **ppClientSite)
virtual HRESULT STDMETHODCALLTYPE GetWebBrowser (void __RPC_FAR *__RPC_FAR *aBrowser)
virtual nsresult GetWebNavigation (nsIWebNavigation **aWebNav)
virtual nsresult GetDOMWindow (nsIDOMWindow **aDOMWindow)
virtual nsresult GetPrefs (nsIPrefBranch **aPrefBranch)
virtual PRBool BrowserIsValid ()
virtual HRESULT STDMETHODCALLTYPE get_Parent (IDispatch __RPC_FAR *__RPC_FAR *ppDisp)
virtual HRESULT STDMETHODCALLTYPE get_Document (IDispatch __RPC_FAR *__RPC_FAR *ppDisp)
virtual HRESULT STDMETHODCALLTYPE get_RegisterAsDropTarget (VARIANT_BOOL __RPC_FAR *pbRegister)
virtual HRESULT STDMETHODCALLTYPE put_RegisterAsDropTarget (VARIANT_BOOL bRegister)
HRESULT OnDraw (ATL_DRAWINFO &di)
 nsPluginHostCtrl ()
STDMETHOD() InterfaceSupportsErrorInfo (REFIID riid)
STDMETHOD() Load (LPPROPERTYBAG pPropBag, LPERRORLOG pErrorLog)
STDMETHOD() get_PluginSource (BSTR *pVal)
STDMETHOD() put_PluginSource (BSTR newVal)
STDMETHOD() get_PluginContentType (BSTR *pVal)
STDMETHOD() put_PluginContentType (BSTR newVal)
STDMETHOD() get_PluginsPage (BSTR *pVal)
STDMETHOD() put_PluginsPage (BSTR newVal)
LRESULT OnCreate (UINT, WPARAM, LPARAM, BOOL &)
LRESULT OnDestroy (UINT, WPARAM, LPARAM, BOOL &)
LRESULT OnSize (UINT, WPARAM, LPARAM, BOOL &)
LRESULT OnPaint (UINT, WPARAM, LPARAM, BOOL &)
HRESULT GetWebBrowserApp (IWebBrowserApp **pBrowser)
HRESULT GetBaseURL (TCHAR **szBaseURL)
HRESULT AddPluginParam (const char *szName, const char *szValue)
HRESULT LoadPluginByContentType (const TCHAR *pszContentType)
HRESULT LoadPlugin (const TCHAR *pszPluginPath)
HRESULT FindPluginPathByContentType (const TCHAR *pszContentType, TCHAR **ppszPluginPath)
HRESULT UnloadPlugin ()
HRESULT OpenURLStream (const TCHAR *szURL, void *pNotifyData, const void *pPostData, unsigned long nDataLength)
HRESULT CreatePluginInstance ()
HRESULT DestroyPluginInstance ()
HRESULT SizeToFitPluginInstance ()
 nsURLDataCallback ()
LRESULT OnNPPNewStream (UINT, WPARAM, LPARAM, BOOL &)
LRESULT OnNPPDestroyStream (UINT, WPARAM, LPARAM, BOOL &)
LRESULT OnNPPURLNotify (UINT, WPARAM, LPARAM, BOOL &)
LRESULT OnNPPWriteReady (UINT, WPARAM, LPARAM, BOOL &)
LRESULT OnNPPWrite (UINT, WPARAM, LPARAM, BOOL &)
LRESULT OnClassCreatePluginInstance (UINT, WPARAM, LPARAM, BOOL &)
LRESULT OnClassCleanup (UINT, WPARAM, LPARAM, BOOL &)
virtual HRESULT STDMETHODCALLTYPE OnStartBinding (DWORD dwReserved, IBinding __RPC_FAR *pib)
virtual HRESULT STDMETHODCALLTYPE GetPriority (LONG __RPC_FAR *pnPriority)
virtual HRESULT STDMETHODCALLTYPE OnLowResource (DWORD reserved)
virtual HRESULT STDMETHODCALLTYPE OnProgress (ULONG ulProgress, ULONG ulProgressMax, ULONG ulStatusCode, LPCWSTR szStatusText)
virtual HRESULT STDMETHODCALLTYPE OnStopBinding (HRESULT hresult, LPCWSTR szError)
virtual HRESULT STDMETHODCALLTYPE GetBindInfo (DWORD __RPC_FAR *grfBINDF, BINDINFO __RPC_FAR *pbindinfo)
virtual HRESULT STDMETHODCALLTYPE OnDataAvailable (DWORD grfBSCF, DWORD dwSize, FORMATETC __RPC_FAR *pformatetc, STGMEDIUM __RPC_FAR *pstgmed)
virtual HRESULT STDMETHODCALLTYPE OnObjectAvailable (REFIID riid, IUnknown __RPC_FAR *punk)
virtual HRESULT STDMETHODCALLTYPE Authenticate (HWND __RPC_FAR *phwnd, LPWSTR __RPC_FAR *pszUsername, LPWSTR __RPC_FAR *pszPassword)
 CXMLDocument ()
virtual ~CXMLDocument ()
STDMETHOD() InterfaceSupportsErrorInfo (REFIID riid)
HRESULT STDMETHODCALLTYPE Load (LPSTREAM pStm)
HRESULT STDMETHODCALLTYPE Save (LPSTREAM pStm, BOOL fClearDirty)
HRESULT STDMETHODCALLTYPE GetSizeMax (ULARGE_INTEGER __RPC_FAR *pCbSize)
HRESULT STDMETHODCALLTYPE InitNew (void)
HRESULT STDMETHODCALLTYPE GetClassID (CLSID __RPC_FAR *pClassID)
HRESULT STDMETHODCALLTYPE IsDirty (void)
HRESULT STDMETHODCALLTYPE Load (BOOL fFullyAvailable, IMoniker __RPC_FAR *pimkName, LPBC pibc, DWORD grfMode)
HRESULT STDMETHODCALLTYPE Save (IMoniker __RPC_FAR *pimkName, LPBC pbc, BOOL fRemember)
HRESULT STDMETHODCALLTYPE SaveCompleted (IMoniker __RPC_FAR *pimkName, LPBC pibc)
HRESULT STDMETHODCALLTYPE GetCurMoniker (IMoniker __RPC_FAR *__RPC_FAR *ppimkName)
HRESULT STDMETHODCALLTYPE GetErrorInfo (XML_ERROR __RPC_FAR *pErrorReturn)
HRESULT STDMETHODCALLTYPE get_root (IXMLElement __RPC_FAR *__RPC_FAR *p)
HRESULT STDMETHODCALLTYPE get_fileSize (BSTR __RPC_FAR *p)
HRESULT STDMETHODCALLTYPE get_fileModifiedDate (BSTR __RPC_FAR *p)
HRESULT STDMETHODCALLTYPE get_fileUpdatedDate (BSTR __RPC_FAR *p)
HRESULT STDMETHODCALLTYPE get_URL (BSTR __RPC_FAR *p)
HRESULT STDMETHODCALLTYPE put_URL (BSTR p)
HRESULT STDMETHODCALLTYPE get_mimeType (BSTR __RPC_FAR *p)
HRESULT STDMETHODCALLTYPE get_readyState (long __RPC_FAR *pl)
HRESULT STDMETHODCALLTYPE get_charset (BSTR __RPC_FAR *p)
HRESULT STDMETHODCALLTYPE put_charset (BSTR p)
HRESULT STDMETHODCALLTYPE get_version (BSTR __RPC_FAR *p)
HRESULT STDMETHODCALLTYPE get_doctype (BSTR __RPC_FAR *p)
HRESULT STDMETHODCALLTYPE get_dtdURL (BSTR __RPC_FAR *p)
HRESULT STDMETHODCALLTYPE createElement (VARIANT vType, VARIANT var1, IXMLElement __RPC_FAR *__RPC_FAR *ppElem)
 CXMLElement ()
virtual ~CXMLElement ()
virtual HRESULT SetParent (IXMLElement *pParent)
virtual HRESULT PutType (long nType)
virtual HRESULT ReleaseAll ()
virtual HRESULT STDMETHODCALLTYPE get_tagName (BSTR __RPC_FAR *p)
virtual HRESULT STDMETHODCALLTYPE put_tagName (BSTR p)
virtual HRESULT STDMETHODCALLTYPE get_parent (IXMLElement __RPC_FAR *__RPC_FAR *ppParent)
virtual HRESULT STDMETHODCALLTYPE setAttribute (BSTR strPropertyName, VARIANT PropertyValue)
virtual HRESULT STDMETHODCALLTYPE getAttribute (BSTR strPropertyName, VARIANT __RPC_FAR *PropertyValue)
virtual HRESULT STDMETHODCALLTYPE removeAttribute (BSTR strPropertyName)
virtual HRESULT STDMETHODCALLTYPE get_children (IXMLElementCollection __RPC_FAR *__RPC_FAR *pp)
virtual HRESULT STDMETHODCALLTYPE get_type (long __RPC_FAR *plType)
virtual HRESULT STDMETHODCALLTYPE get_text (BSTR __RPC_FAR *p)
virtual HRESULT STDMETHODCALLTYPE put_text (BSTR p)
virtual HRESULT STDMETHODCALLTYPE addChild (IXMLElement __RPC_FAR *pChildElem, long lIndex, long lReserved)
virtual HRESULT STDMETHODCALLTYPE removeChild (IXMLElement __RPC_FAR *pChildElem)
 CXMLElementCollection ()
virtual ~CXMLElementCollection ()
virtual HRESULT STDMETHODCALLTYPE put_length (long v)
virtual HRESULT STDMETHODCALLTYPE get_length (long __RPC_FAR *p)
virtual HRESULT STDMETHODCALLTYPE get__newEnum (IUnknown __RPC_FAR *__RPC_FAR *ppUnk)
virtual HRESULT STDMETHODCALLTYPE item (VARIANT var1, VARIANT var2, IDispatch __RPC_FAR *__RPC_FAR *ppDisp)
HRESULT Add (IXMLElement *pElement)
 CBrowserCtlSite ()
virtual HRESULT STDMETHODCALLTYPE ShowContextMenu (DWORD dwID, POINT __RPC_FAR *ppt, IUnknown __RPC_FAR *pcmdtReserved, IDispatch __RPC_FAR *pdispReserved)
virtual HRESULT STDMETHODCALLTYPE GetHostInfo (DOCHOSTUIINFO __RPC_FAR *pInfo)
virtual HRESULT STDMETHODCALLTYPE ShowUI (DWORD dwID, IOleInPlaceActiveObject __RPC_FAR *pActiveObject, IOleCommandTarget __RPC_FAR *pCommandTarget, IOleInPlaceFrame __RPC_FAR *pFrame, IOleInPlaceUIWindow __RPC_FAR *pDoc)
virtual HRESULT STDMETHODCALLTYPE HideUI (void)
virtual HRESULT STDMETHODCALLTYPE UpdateUI (void)
virtual HRESULT STDMETHODCALLTYPE EnableModeless (BOOL fEnable)
virtual HRESULT STDMETHODCALLTYPE OnDocWindowActivate (BOOL fActivate)
virtual HRESULT STDMETHODCALLTYPE OnFrameWindowActivate (BOOL fActivate)
virtual HRESULT STDMETHODCALLTYPE ResizeBorder (LPCRECT prcBorder, IOleInPlaceUIWindow __RPC_FAR *pUIWindow, BOOL fRameWindow)
virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator (LPMSG lpMsg, const GUID __RPC_FAR *pguidCmdGroup, DWORD nCmdID)
virtual HRESULT STDMETHODCALLTYPE GetOptionKeyPath (LPOLESTR __RPC_FAR *pchKey, DWORD dw)
virtual HRESULT STDMETHODCALLTYPE GetDropTarget (IDropTarget __RPC_FAR *pDropTarget, IDropTarget __RPC_FAR *__RPC_FAR *ppDropTarget)
virtual HRESULT STDMETHODCALLTYPE GetExternal (IDispatch __RPC_FAR *__RPC_FAR *ppDispatch)
virtual HRESULT STDMETHODCALLTYPE TranslateUrl (DWORD dwTranslate, OLECHAR __RPC_FAR *pchURLIn, OLECHAR __RPC_FAR *__RPC_FAR *ppchURLOut)
virtual HRESULT STDMETHODCALLTYPE FilterDataObject (IDataObject __RPC_FAR *pDO, IDataObject __RPC_FAR *__RPC_FAR *ppDORet)
virtual HRESULT STDMETHODCALLTYPE ShowMessage (HWND hwnd, LPOLESTR lpstrText, LPOLESTR lpstrCaption, DWORD dwType, LPOLESTR lpstrHelpFile, DWORD dwHelpContext, LRESULT __RPC_FAR *plResult)
virtual HRESULT STDMETHODCALLTYPE ShowHelp (HWND hwnd, LPOLESTR pszHelpFile, UINT uCommand, DWORD dwData, POINT ptMouse, IDispatch __RPC_FAR *pDispatchObjectHit)
 CBrowseEventSink ()
virtual HRESULT STDMETHODCALLTYPE GetTypeInfoCount (UINT __RPC_FAR *pctinfo)
virtual HRESULT STDMETHODCALLTYPE GetTypeInfo (UINT iTInfo, LCID lcid, ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames (REFIID riid, LPOLESTR __RPC_FAR *rgszNames, UINT cNames, LCID lcid, DISPID __RPC_FAR *rgDispId)
virtual HRESULT STDMETHODCALLTYPE Invoke (DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS __RPC_FAR *pDispParams, VARIANT __RPC_FAR *pVarResult, EXCEPINFO __RPC_FAR *pExcepInfo, UINT __RPC_FAR *puArgErr)
 CTestScriptHelper ()
STDMETHOD() get_TestCGI (BSTR *pVal)
STDMETHOD() get_TestURL (BSTR *pVal)
STDMETHOD() put_Result (TestResult newVal)
STDMETHOD() get_WebBrowser (LPDISPATCH *pVal)
STDMETHOD() OutputString (BSTR bstrMessage)
HWND GetCommandTargetWindow ()
virtual HRESULT Create (REFCLSID clsid, PropertyList &pl=PropertyList(), LPCWSTR szCodebase=NULL, IBindCtx *pBindContext=NULL)
virtual HRESULT Attach (HWND hwndParent, const RECT &rcPos, IUnknown *pInitStream=NULL)
virtual HRESULT Detach ()
virtual HRESULT GetControlUnknown (IUnknown **ppObject)
virtual HRESULT SetPosition (const RECT &rcPos)
virtual HRESULT Draw (HDC hdc)
virtual HRESULT DoVerb (LONG nVerb, LPMSG lpMsg=NULL)
virtual HRESULT Advise (IUnknown *pIUnkSink, const IID &iid, DWORD *pdwCookie)
virtual HRESULT Unadvise (const IID &iid, DWORD dwCookie)
virtual void SetServiceProvider (IServiceProvider *pSP)
virtual void SetContainer (IOleContainer *pContainer)
virtual void SetSecurityPolicy (CControlSiteSecurityPolicy *pSecurityPolicy)
virtual
CControlSiteSecurityPolicy
GetSecurityPolicy () const
virtual void SetAmbientUserMode (BOOL bUser)
virtual const CLSID & GetObjectCLSID () const
virtual BOOL IsObjectValid () const
virtual HWND GetParentWindow () const
virtual BOOL IsInPlaceActive () const
virtual BOOL IsClassSafeToHost (const CLSID &clsid)
virtual BOOL IsClassMarkedSafeForScripting (const CLSID &clsid, BOOL &bClassExists)
virtual BOOL IsObjectSafeForScripting (IUnknown *pObject, const IID &iid)
virtual BOOL IsObjectSafeForScripting (const IID &iid)
virtual HRESULT STDMETHODCALLTYPE QueryService (REFGUID guidService, REFIID riid, void **ppv)
virtual void STDMETHODCALLTYPE OnDataChange (FORMATETC __RPC_FAR *pFormatetc, STGMEDIUM __RPC_FAR *pStgmed)
virtual void STDMETHODCALLTYPE OnViewChange (DWORD dwAspect, LONG lindex)
virtual void STDMETHODCALLTYPE OnRename (IMoniker __RPC_FAR *pmk)
virtual void STDMETHODCALLTYPE OnSave (void)
virtual void STDMETHODCALLTYPE OnClose (void)
virtual void STDMETHODCALLTYPE OnLinkSrcChange (IMoniker __RPC_FAR *pmk)
virtual void STDMETHODCALLTYPE OnViewStatusChange (DWORD dwViewStatus)
virtual HRESULT STDMETHODCALLTYPE GetWindow (HWND __RPC_FAR *phwnd)
virtual HRESULT STDMETHODCALLTYPE GetWindow (REFGUID rguidReason, HWND *phwnd)
virtual HRESULT STDMETHODCALLTYPE ContextSensitiveHelp (BOOL fEnterMode)
virtual HRESULT STDMETHODCALLTYPE SaveObject (void)
virtual HRESULT STDMETHODCALLTYPE GetMoniker (DWORD dwAssign, DWORD dwWhichMoniker, IMoniker __RPC_FAR *__RPC_FAR *ppmk)
virtual HRESULT STDMETHODCALLTYPE GetContainer (IOleContainer __RPC_FAR *__RPC_FAR *ppContainer)
virtual HRESULT STDMETHODCALLTYPE ShowObject (void)
virtual HRESULT STDMETHODCALLTYPE OnShowWindow (BOOL fShow)
virtual HRESULT STDMETHODCALLTYPE RequestNewObjectLayout (void)
virtual HRESULT STDMETHODCALLTYPE CanInPlaceActivate (void)
virtual HRESULT STDMETHODCALLTYPE OnInPlaceActivate (void)
virtual HRESULT STDMETHODCALLTYPE OnUIActivate (void)
virtual HRESULT STDMETHODCALLTYPE GetWindowContext (IOleInPlaceFrame __RPC_FAR *__RPC_FAR *ppFrame, IOleInPlaceUIWindow __RPC_FAR *__RPC_FAR *ppDoc, LPRECT lprcPosRect, LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
virtual HRESULT STDMETHODCALLTYPE Scroll (SIZE scrollExtant)
virtual HRESULT STDMETHODCALLTYPE OnUIDeactivate (BOOL fUndoable)
virtual HRESULT STDMETHODCALLTYPE OnInPlaceDeactivate (void)
virtual HRESULT STDMETHODCALLTYPE DiscardUndoState (void)
virtual HRESULT STDMETHODCALLTYPE DeactivateAndUndo (void)
virtual HRESULT STDMETHODCALLTYPE OnPosRectChange (LPCRECT lprcPosRect)
virtual HRESULT STDMETHODCALLTYPE OnInPlaceActivateEx (BOOL __RPC_FAR *pfNoRedraw, DWORD dwFlags)
virtual HRESULT STDMETHODCALLTYPE OnInPlaceDeactivateEx (BOOL fNoRedraw)
virtual HRESULT STDMETHODCALLTYPE RequestUIActivate (void)
virtual HRESULT STDMETHODCALLTYPE CanWindowlessActivate (void)
virtual HRESULT STDMETHODCALLTYPE GetCapture (void)
virtual HRESULT STDMETHODCALLTYPE SetCapture (BOOL fCapture)
virtual HRESULT STDMETHODCALLTYPE GetFocus (void)
virtual HRESULT STDMETHODCALLTYPE SetFocus (BOOL fFocus)
virtual HRESULT STDMETHODCALLTYPE GetDC (LPCRECT pRect, DWORD grfFlags, HDC __RPC_FAR *phDC)
virtual HRESULT STDMETHODCALLTYPE ReleaseDC (HDC hDC)
virtual HRESULT STDMETHODCALLTYPE InvalidateRect (LPCRECT pRect, BOOL fErase)
virtual HRESULT STDMETHODCALLTYPE InvalidateRgn (HRGN hRGN, BOOL fErase)
virtual HRESULT STDMETHODCALLTYPE ScrollRect (INT dx, INT dy, LPCRECT pRectScroll, LPCRECT pRectClip)
virtual HRESULT STDMETHODCALLTYPE AdjustRect (LPRECT prc)
virtual HRESULT STDMETHODCALLTYPE OnDefWindowMessage (UINT msg, WPARAM wParam, LPARAM lParam, LRESULT __RPC_FAR *plResult)
virtual HRESULT STDMETHODCALLTYPE OnControlInfoChanged (void)
virtual HRESULT STDMETHODCALLTYPE LockInPlaceActive (BOOL fLock)
virtual HRESULT STDMETHODCALLTYPE GetExtendedControl (IDispatch __RPC_FAR *__RPC_FAR *ppDisp)
virtual HRESULT STDMETHODCALLTYPE TransformCoords (POINTL __RPC_FAR *pPtlHimetric, POINTF __RPC_FAR *pPtfContainer, DWORD dwFlags)
virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator (MSG __RPC_FAR *pMsg, DWORD grfModifiers)
virtual HRESULT STDMETHODCALLTYPE OnFocus (BOOL fGotFocus)
virtual HRESULT STDMETHODCALLTYPE ShowPropertyFrame (void)
virtual HRESULT STDMETHODCALLTYPE QueryStatus (const GUID __RPC_FAR *pguidCmdGroup, ULONG cCmds, OLECMD __RPC_FAR prgCmds[], OLECMDTEXT __RPC_FAR *pCmdText)
virtual HRESULT STDMETHODCALLTYPE Exec (const GUID __RPC_FAR *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT __RPC_FAR *pvaIn, VARIANT __RPC_FAR *pvaOut)
virtual HRESULT SetErrorInfo (HRESULT hr, LPCOLESTR lpszDesc=NULL)
virtual HRESULT STDMETHODCALLTYPE GoBack (void)
virtual HRESULT STDMETHODCALLTYPE GoForward (void)
virtual HRESULT STDMETHODCALLTYPE GoHome (void)
virtual HRESULT STDMETHODCALLTYPE GoSearch (void)
virtual HRESULT STDMETHODCALLTYPE Navigate (BSTR URL, VARIANT __RPC_FAR *Flags, VARIANT __RPC_FAR *TargetFrameName, VARIANT __RPC_FAR *PostData, VARIANT __RPC_FAR *Headers)
virtual HRESULT STDMETHODCALLTYPE Refresh (void)
virtual HRESULT STDMETHODCALLTYPE Refresh2 (VARIANT __RPC_FAR *Level)
virtual HRESULT STDMETHODCALLTYPE Stop (void)
virtual HRESULT STDMETHODCALLTYPE get_Application (IDispatch __RPC_FAR *__RPC_FAR *ppDisp)
virtual HRESULT STDMETHODCALLTYPE get_Container (IDispatch __RPC_FAR *__RPC_FAR *ppDisp)
virtual HRESULT STDMETHODCALLTYPE get_TopLevelContainer (VARIANT_BOOL __RPC_FAR *pBool)
virtual HRESULT STDMETHODCALLTYPE get_Type (BSTR __RPC_FAR *Type)
virtual HRESULT STDMETHODCALLTYPE get_Left (long __RPC_FAR *pl)
virtual HRESULT STDMETHODCALLTYPE put_Left (long Left)
virtual HRESULT STDMETHODCALLTYPE get_Top (long __RPC_FAR *pl)
virtual HRESULT STDMETHODCALLTYPE put_Top (long Top)
virtual HRESULT STDMETHODCALLTYPE get_Width (long __RPC_FAR *pl)
virtual HRESULT STDMETHODCALLTYPE put_Width (long Width)
virtual HRESULT STDMETHODCALLTYPE get_Height (long __RPC_FAR *pl)
virtual HRESULT STDMETHODCALLTYPE put_Height (long Height)
virtual HRESULT STDMETHODCALLTYPE get_LocationName (BSTR __RPC_FAR *LocationName)
virtual HRESULT STDMETHODCALLTYPE get_LocationURL (BSTR __RPC_FAR *LocationURL)
virtual HRESULT STDMETHODCALLTYPE get_Busy (VARIANT_BOOL __RPC_FAR *pBool)
virtual HRESULT STDMETHODCALLTYPE Quit (void)
virtual HRESULT STDMETHODCALLTYPE ClientToWindow (int __RPC_FAR *pcx, int __RPC_FAR *pcy)
virtual HRESULT STDMETHODCALLTYPE PutProperty (BSTR Property, VARIANT vtValue)
virtual HRESULT STDMETHODCALLTYPE GetProperty (BSTR Property, VARIANT __RPC_FAR *pvtValue)
virtual HRESULT STDMETHODCALLTYPE get_Name (BSTR __RPC_FAR *Name)
virtual HRESULT STDMETHODCALLTYPE get_HWND (long __RPC_FAR *pHWND)
virtual HRESULT STDMETHODCALLTYPE get_FullName (BSTR __RPC_FAR *FullName)
virtual HRESULT STDMETHODCALLTYPE get_Path (BSTR __RPC_FAR *Path)
virtual HRESULT STDMETHODCALLTYPE get_Visible (VARIANT_BOOL __RPC_FAR *pBool)
virtual HRESULT STDMETHODCALLTYPE put_Visible (VARIANT_BOOL Value)
virtual HRESULT STDMETHODCALLTYPE get_StatusBar (VARIANT_BOOL __RPC_FAR *pBool)
virtual HRESULT STDMETHODCALLTYPE put_StatusBar (VARIANT_BOOL Value)
virtual HRESULT STDMETHODCALLTYPE get_StatusText (BSTR __RPC_FAR *StatusText)
virtual HRESULT STDMETHODCALLTYPE put_StatusText (BSTR StatusText)
virtual HRESULT STDMETHODCALLTYPE get_ToolBar (int __RPC_FAR *Value)
virtual HRESULT STDMETHODCALLTYPE put_ToolBar (int Value)
virtual HRESULT STDMETHODCALLTYPE get_MenuBar (VARIANT_BOOL __RPC_FAR *Value)
virtual HRESULT STDMETHODCALLTYPE put_MenuBar (VARIANT_BOOL Value)
virtual HRESULT STDMETHODCALLTYPE get_FullScreen (VARIANT_BOOL __RPC_FAR *pbFullScreen)
virtual HRESULT STDMETHODCALLTYPE put_FullScreen (VARIANT_BOOL bFullScreen)
virtual HRESULT STDMETHODCALLTYPE Navigate2 (VARIANT __RPC_FAR *URL, VARIANT __RPC_FAR *Flags, VARIANT __RPC_FAR *TargetFrameName, VARIANT __RPC_FAR *PostData, VARIANT __RPC_FAR *Headers)
virtual HRESULT STDMETHODCALLTYPE QueryStatusWB (OLECMDID cmdID, OLECMDF __RPC_FAR *pcmdf)
virtual HRESULT STDMETHODCALLTYPE ExecWB (OLECMDID cmdID, OLECMDEXECOPT cmdexecopt, VARIANT __RPC_FAR *pvaIn, VARIANT __RPC_FAR *pvaOut)
virtual HRESULT STDMETHODCALLTYPE ShowBrowserBar (VARIANT __RPC_FAR *pvaClsid, VARIANT __RPC_FAR *pvarShow, VARIANT __RPC_FAR *pvarSize)
virtual HRESULT STDMETHODCALLTYPE get_ReadyState (READYSTATE __RPC_FAR *plReadyState)
virtual HRESULT STDMETHODCALLTYPE get_Offline (VARIANT_BOOL __RPC_FAR *pbOffline)
virtual HRESULT STDMETHODCALLTYPE put_Offline (VARIANT_BOOL bOffline)
virtual HRESULT STDMETHODCALLTYPE get_Silent (VARIANT_BOOL __RPC_FAR *pbSilent)
virtual HRESULT STDMETHODCALLTYPE put_Silent (VARIANT_BOOL bSilent)
virtual HRESULT STDMETHODCALLTYPE get_RegisterAsBrowser (VARIANT_BOOL __RPC_FAR *pbRegister)
virtual HRESULT STDMETHODCALLTYPE put_RegisterAsBrowser (VARIANT_BOOL bRegister)
virtual HRESULT STDMETHODCALLTYPE get_TheaterMode (VARIANT_BOOL __RPC_FAR *pbRegister)
virtual HRESULT STDMETHODCALLTYPE put_TheaterMode (VARIANT_BOOL bRegister)
virtual HRESULT STDMETHODCALLTYPE get_AddressBar (VARIANT_BOOL __RPC_FAR *Value)
virtual HRESULT STDMETHODCALLTYPE put_AddressBar (VARIANT_BOOL Value)
virtual HRESULT STDMETHODCALLTYPE get_Resizable (VARIANT_BOOL __RPC_FAR *Value)
virtual HRESULT STDMETHODCALLTYPE put_Resizable (VARIANT_BOOL Value)
void Fire_BeforeNavigate (BSTR URL, long Flags, BSTR TargetFrameName, VARIANT *PostData, BSTR Headers, VARIANT_BOOL *Cancel)
void Fire_NavigateComplete (BSTR URL)
void Fire_StatusTextChange (BSTR Text)
void Fire_StatusTextChange (BSTR Text)
void Fire_ProgressChange (long Progress, long ProgressMax)
void Fire_ProgressChange (long Progress, long ProgressMax)
void Fire_DownloadComplete ()
void Fire_DownloadComplete ()
void Fire_CommandStateChange (long Command, VARIANT_BOOL Enable)
void Fire_CommandStateChange (long Command, VARIANT_BOOL Enable)
void Fire_DownloadBegin ()
void Fire_DownloadBegin ()
void Fire_NewWindow (BSTR URL, long Flags, BSTR TargetFrameName, VARIANT *PostData, BSTR Headers, VARIANT_BOOL *Processed)
void Fire_TitleChange (BSTR Text)
void Fire_TitleChange (BSTR Text)
void Fire_FrameBeforeNavigate (BSTR URL, long Flags, BSTR TargetFrameName, VARIANT *PostData, BSTR Headers, VARIANT_BOOL *Cancel)
void Fire_FrameNavigateComplete (BSTR URL)
void Fire_FrameNewWindow (BSTR URL, long Flags, BSTR TargetFrameName, VARIANT *PostData, BSTR Headers, VARIANT_BOOL *Processed)
void Fire_Quit (VARIANT_BOOL *Cancel)
void Fire_WindowMove ()
void Fire_WindowResize ()
void Fire_WindowActivate ()
void Fire_PropertyChange (BSTR Property)
void Fire_PropertyChange (BSTR szProperty)
void Fire_BeforeNavigate2 (IDispatch *pDisp, VARIANT *URL, VARIANT *Flags, VARIANT *TargetFrameName, VARIANT *PostData, VARIANT *Headers, VARIANT_BOOL *Cancel)
void Fire_NewWindow2 (IDispatch **ppDisp, VARIANT_BOOL *Cancel)
void Fire_NavigateComplete2 (IDispatch *pDisp, VARIANT *URL)
void Fire_DocumentComplete (IDispatch *pDisp, VARIANT *URL)
void Fire_OnQuit ()
void Fire_OnVisible (VARIANT_BOOL Visible)
void Fire_OnToolBar (VARIANT_BOOL ToolBar)
void Fire_OnMenuBar (VARIANT_BOOL MenuBar)
void Fire_OnStatusBar (VARIANT_BOOL StatusBar)
void Fire_OnFullScreen (VARIANT_BOOL FullScreen)
void Fire_OnTheaterMode (VARIANT_BOOL TheaterMode)
virtual HRESULT STDMETHODCALLTYPE QueryStatus (const GUID __RPC_FAR *pguidCmdGroup, ULONG cCmds, OLECMD __RPC_FAR prgCmds[], OLECMDTEXT __RPC_FAR *pCmdText)
virtual HRESULT STDMETHODCALLTYPE Exec (const GUID __RPC_FAR *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT __RPC_FAR *pvaIn, VARIANT __RPC_FAR *pvaOut)

Static Public Member Functions

static HRESULT _stdcall EditModeHandler (CMozillaBrowser *pThis, const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
static HRESULT _stdcall EditCommandHandler (CMozillaBrowser *pThis, const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
static HRESULT OpenURL (nsPluginHostCtrl *pOwner, const TCHAR *szURL, void *pNotifyData, const void *pData, unsigned long nSize)
static CControlSiteSecurityPolicyGetDefaultControlSecurityPolicy ()

Public Attributes

CProxyDWebBrowserEvents2
< CMozillaBrowser > const GUID * 
pguidCmdGroup
CProxyDWebBrowserEvents2
< CMozillaBrowser > const GUID
DWORD 
nCmdID
CProxyDWebBrowserEvents2
< CMozillaBrowser > const GUID
DWORD DWORD 
nCmdexecopt
CProxyDWebBrowserEvents2
< CMozillaBrowser > const GUID
DWORD DWORD VARIANT * 
pvaIn
CProxyDWebBrowserEvents2
< CMozillaBrowser > const GUID
DWORD DWORD VARIANT VARIANT * 
pvaOut
CComBSTR m_bstrText
NPP_t m_NPP
BOOL m_bPluginIsAlive
BOOL m_bCreatePluginFromStreamData
nsPluginWnd m_wndPlugin
NPPluginFuncs m_NPPFuncs
LONG m_nReadyState
std::string m_szURL
CComQIPtr< IXMLElement,&IID_IXMLElement > m_spRoot
BOOL m_bUseCustomPopupMenu
BOOL m_bUseCustomDropTarget
CBrowseDlgm_pBrowseDlg
BrowserInfom_pBrowserInfo
HWND m_hWndParent
RECT m_rcObjectPos
unsigned m_bSetClientSiteFirst:1
unsigned m_bVisibleAtRuntime:1
unsigned m_bInPlaceActive:1
unsigned m_bUIActive:1
unsigned m_bInPlaceLocked:1
unsigned m_bSupportWindowlessActivation:1
unsigned m_bWindowless:1
unsigned m_bSafeForScriptingObjectsOnly:1
CComPtr< IServiceProvider > m_spServiceProvider
CComPtr< IOleContainer > m_spContainer
CComVariant mLastPostData
READYSTATE mBrowserReadyState
PRBool mBusyFlag
PropertyList mPropertyList

Protected Member Functions

virtual HRESULT Initialize ()
virtual HRESULT Terminate ()
virtual HRESULT CreateBrowser ()
virtual HRESULT DestroyBrowser ()
virtual HRESULT SetStartupErrorMessage (UINT nStringID)
virtual HRESULT GetDOMDocument (nsIDOMDocument **pDocument)
virtual HRESULT SetEditorMode (BOOL bEnabled)
virtual HRESULT OnEditorCommand (DWORD nCmdID)
virtual HRESULT PrintDocument (BOOL promptUser)
virtual HRESULT LoadBrowserHelpers ()
virtual HRESULT UnloadBrowserHelpers ()
virtual int MessageBox (LPCTSTR lpszText, LPCTSTR lpszCaption=_T(""), UINT nType=MB_OK)
virtual void ShowContextMenu (PRUint32 aContextFlags, nsIDOMEvent *aEvent, nsIDOMNode *aNode)
virtual void ShowURIPropertyDlg (const nsAString &aURI, const nsAString &aContentType)
virtual void NextDlgControl ()
virtual void PrevDlgControl ()
virtual ~nsPluginHostCtrl ()
HRESULT CreatePluginList (unsigned long ulFlags)
HRESULT CreatePluginListFrom (const TCHAR *szPluginsDir)
HRESULT CleanupPluginList ()
HRESULT GetPluginInfo (const TCHAR *pszPluginPath, PluginInfo *pInfo)
virtual ~nsURLDataCallback ()
void SetURL (const char *szURL)
void SetContentType (const char *szContentType)
void SetPostData (const void *pData, unsigned long nSize)
void SetOwner (nsPluginHostCtrl *pOwner)
void SetNotifyData (void *pNotifyData)
virtual void FireAmbientPropertyChange (DISPID id)

Static Protected Member Functions

static HRESULT InitPluginCallbacks ()
static void __cdecl StreamThread (void *pThis)

Protected Attributes

nsString mProfileName
CWebBrowserContainermWebBrowserContainer
CIEHtmlDocumentInstancemIERootDocument
nsCOMPtr< nsIWebBrowsermWebBrowser
nsCOMPtr< nsIBaseWindowmWebBrowserAsWin
nsCOMPtr< nsIEditingSessionmEditingSession
nsCOMPtr< nsICommandManagermCommandManager
nsCOMPtr< nsIDOMNodemContextNode
nsCOMPtr< nsIPrefBranchmPrefBranch
BOOL mValidBrowserFlag
BOOL mEditModeFlag
BOOL mHaveDropTargetFlag
tstring mStartupErrorMessage
CComUnkPtrmBrowserHelperList
ULONG mBrowserHelperListCount
CComBSTR m_bstrContentType
CComBSTR m_bstrSource
CComBSTR m_bstrPluginsPage
nsSimpleArray< PluginInfo * > m_Plugins
unsigned long m_nArgs
unsigned long m_nArgsMax
char ** m_pszArgNames
char ** m_pszArgValues
LoadedPluginInfom_pLoadedPlugin
NPWindow m_NPWindow
nsPluginHostCtrlm_pOwner
voidm_pNotifyData
HGLOBAL m_hPostData
NPStream m_NPStream
unsigned long m_nDataPos
unsigned long m_nDataMax
char * m_szContentType
char * m_szURL
BOOL m_bSaveToTempFile
BOOL m_bNotifyOnWrite
FILEm_pTempFile
char * m_szTempFileName
CComPtr< IBinding > m_cpBinding
CComPtr< IUnknownm_spObject
CComQIPtr< IViewObject,&IID_IViewObject > m_spIViewObject
CComQIPtr< IOleObject,&IID_IOleObject > m_spIOleObject
CComQIPtr< IOleInPlaceObject,&IID_IOleInPlaceObject > m_spIOleInPlaceObject
CComQIPtr
< IOleInPlaceObjectWindowless,&IID_IOleInPlaceObjectWindowless > 
m_spIOleInPlaceObjectWindowless
CLSID m_CLSID
PropertyList m_ParameterList
CControlSiteSecurityPolicym_pSecurityPolicy
unsigned m_bBindingInProgress
HRESULT m_hrBindResult
RECT m_rcBuffer
HBITMAP m_hBMBuffer
HBITMAP m_hBMBufferOld
HDC m_hDCBuffer
HRGN m_hRgnBuffer
DWORD m_dwBufferFlags
LCID m_nAmbientLocale
COLORREF m_clrAmbientForeColor
COLORREF m_clrAmbientBackColor
bool m_bAmbientShowHatching:1
bool m_bAmbientShowGrabHandles:1
bool m_bAmbientUserMode:1
bool m_bAmbientAppearance:1

Static Protected Attributes

static nsVoidArray sBrowserList
static nsSimpleArray
< LoadedPluginInfo * > 
m_LoadedPlugins
static NPNetscapeFuncs g_NPNFuncs

Private Attributes

friend CWebBrowserContainer
friend CPromptService
IXMLElement * m_pParent
ElementList m_cChildren
std::string m_szTagName
std::string m_szText
long m_nType
StringMap m_cAttributes
ElementList m_cElements

Detailed Description

Definition at line 76 of file MozillaBrowser.h.


Class Documentation

struct ATL_NO_VTABLE::LoadedPluginInfo

Definition at line 307 of file nsPluginHostCtrl.h.

Collaboration diagram for ATL_NO_VTABLE::LoadedPluginInfo:
Class Members
HINSTANCE hInstance
NPPluginFuncs NPPFuncs
DWORD nRefCount
TCHAR * szFullPath
struct ATL_NO_VTABLE::PluginInfo

Definition at line 291 of file nsPluginHostCtrl.h.

Class Members
TCHAR * szMIMEType
TCHAR * szPluginName
TCHAR * szPluginPath

Member Typedef Documentation

typedef HRESULT(_stdcall * IOleCommandTargetImpl< CControlSite >::OleCommandProc)(CControlSite *pT, const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut) [inherited]

Definition at line 99 of file IOleCommandTargetImpl.h.

Definition at line 99 of file IOleCommandTargetImpl.h.


Constructor & Destructor Documentation

virtual ATL_NO_VTABLE::~CMozillaBrowser ( ) [virtual]
virtual ATL_NO_VTABLE::~nsPluginHostCtrl ( ) [protected, virtual]
virtual ATL_NO_VTABLE::~nsURLDataCallback ( ) [protected, virtual]
virtual ATL_NO_VTABLE::~CXMLDocument ( ) [virtual]
virtual ATL_NO_VTABLE::~CXMLElement ( ) [virtual]

Member Function Documentation

HRESULT ATL_NO_VTABLE::Add ( IXMLElement *  pElement)
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::addChild ( IXMLElement __RPC_FAR *  pChildElem,
long  lIndex,
long  lReserved 
) [virtual]
HRESULT ATL_NO_VTABLE::AddPluginParam ( const char *  szName,
const char *  szValue 
)
HRESULT STDMETHODCALLTYPE CControlSite::AdjustRect ( LPRECT  prc) [virtual, inherited]

Definition at line 1208 of file ControlSite.cpp.

{
    if (prc == NULL)
    {
        return E_INVALIDARG;
    }

    // Clip the rectangle against the object position
    RECT rcI = { 0, 0, 0, 0 };
    IntersectRect(&rcI, &m_rcObjectPos, prc);
    *prc = rcI;
    return S_OK;
}
HRESULT CControlSite::Advise ( IUnknown pIUnkSink,
const IID &  iid,
DWORD pdwCookie 
) [virtual, inherited]

Definition at line 542 of file ControlSite.cpp.

{
    if (m_spObject == NULL)
    {
        return E_UNEXPECTED;
    }

    if (pIUnkSink == NULL || pdwCookie == NULL)
    {
        return E_INVALIDARG;
    }

    return AtlAdvise(m_spObject, pIUnkSink, iid, pdwCookie);
}
HRESULT CControlSite::Attach ( HWND  hwndParent,
const RECT &  rcPos,
IUnknown pInitStream = NULL 
) [virtual, inherited]

Definition at line 389 of file ControlSite.cpp.

{
    TRACE_METHOD(CControlSite::Attach);

    if (hwndParent == NULL)
    {
        NS_ASSERTION(0, "No parent hwnd");
        return E_INVALIDARG;
    }

    m_hWndParent = hwndParent;
    m_rcObjectPos = rcPos;

    // Object must have been created
    if (m_spObject == NULL)
    {
        return E_UNEXPECTED;
    }

    m_spIViewObject = m_spObject;
    m_spIOleObject = m_spObject;
    
    if (m_spIOleObject == NULL)
    {
        return E_FAIL;
    }
    
    DWORD dwMiscStatus;
    m_spIOleObject->GetMiscStatus(DVASPECT_CONTENT, &dwMiscStatus);

    if (dwMiscStatus & OLEMISC_SETCLIENTSITEFIRST)
    {
        m_bSetClientSiteFirst = TRUE;
    }
    if (dwMiscStatus & OLEMISC_INVISIBLEATRUNTIME)
    {
        m_bVisibleAtRuntime = FALSE;
    }

    // Some objects like to have the client site as the first thing
    // to be initialised (for ambient properties and so forth)
    if (m_bSetClientSiteFirst)
    {
        m_spIOleObject->SetClientSite(this);
    }

    // If there is a parameter list for the object and no init stream then
    // create one here.
    CPropertyBagInstance *pPropertyBag = NULL;
    if (pInitStream == NULL && m_ParameterList.GetSize() > 0)
    {
        CPropertyBagInstance::CreateInstance(&pPropertyBag);
        pPropertyBag->AddRef();
        for (unsigned long i = 0; i < m_ParameterList.GetSize(); i++)
        {
            pPropertyBag->Write(m_ParameterList.GetNameOf(i),
                const_cast<VARIANT *>(m_ParameterList.GetValueOf(i)));
        }
        pInitStream = (IPersistPropertyBag *) pPropertyBag;
    }

    // Initialise the control from store if one is provided
    if (pInitStream)
    {
        CComQIPtr<IPropertyBag, &IID_IPropertyBag> spPropertyBag = pInitStream;
        CComQIPtr<IStream, &IID_IStream> spStream = pInitStream;
        CComQIPtr<IPersistStream, &IID_IPersistStream> spIPersistStream = m_spIOleObject;
        CComQIPtr<IPersistPropertyBag, &IID_IPersistPropertyBag> spIPersistPropertyBag = m_spIOleObject;

        if (spIPersistPropertyBag && spPropertyBag)
        {
            spIPersistPropertyBag->Load(spPropertyBag, NULL);
        }
        else if (spIPersistStream && spStream)
        {
            spIPersistStream->Load(spStream);
        }
    }
    else
    {
        // Initialise the object if possible
        CComQIPtr<IPersistStreamInit, &IID_IPersistStreamInit> spIPersistStreamInit = m_spIOleObject;
        if (spIPersistStreamInit)
        {
            spIPersistStreamInit->InitNew();
        }
    }

    m_spIOleInPlaceObject = m_spObject;
    m_spIOleInPlaceObjectWindowless = m_spObject;

    m_spIOleInPlaceObject->SetObjectRects(&m_rcObjectPos, &m_rcObjectPos);

    // In-place activate the object
    if (m_bVisibleAtRuntime)
    {
        DoVerb(OLEIVERB_INPLACEACTIVATE);
    }

    // For those objects which haven't had their client site set yet,
    // it's done here.
    if (!m_bSetClientSiteFirst)
    {
        m_spIOleObject->SetClientSite(this);
    }

    return S_OK;
}

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::Authenticate ( HWND __RPC_FAR *  phwnd,
LPWSTR __RPC_FAR *  pszUsername,
LPWSTR __RPC_FAR *  pszPassword 
) [virtual]
virtual PRBool ATL_NO_VTABLE::BrowserIsValid ( ) [virtual]
HRESULT STDMETHODCALLTYPE CControlSite::CanInPlaceActivate ( void  ) [virtual, inherited]

Definition at line 880 of file ControlSite.cpp.

{
    return S_OK;
}
HRESULT STDMETHODCALLTYPE CControlSite::CanWindowlessActivate ( void  ) [virtual, inherited]

Definition at line 1005 of file ControlSite.cpp.

{
    // Allow windowless activation?
    return (m_bSupportWindowlessActivation) ? S_OK : S_FALSE;
}

Definition at line 17 of file ControlEventSink.h.

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::ClientToWindow ( int __RPC_FAR *  pcx,
int __RPC_FAR *  pcy 
) [inline, virtual, inherited]

Definition at line 739 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::ClientToWindow()\n"));
        ENSURE_BROWSER_IS_VALID();

        //This generates an exception in the IE control.
        // TODO convert points to be relative to browser
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::CMozillaBrowser::GetClientSite ( IOleClientSite **  ppClientSite) [virtual]
HRESULT STDMETHODCALLTYPE CControlSite::ContextSensitiveHelp ( BOOL  fEnterMode) [virtual, inherited]

Definition at line 824 of file ControlSite.cpp.

{
    return S_OK;
}
HRESULT CControlSite::Create ( REFCLSID  clsid,
PropertyList pl = PropertyList(),
LPCWSTR  szCodebase = NULL,
IBindCtx *  pBindContext = NULL 
) [virtual, inherited]

Definition at line 226 of file ControlSite.cpp.

{
    TRACE_METHOD(CControlSite::Create);

    m_CLSID = clsid;
    m_ParameterList = pl;

    // See if security policy will allow the control to be hosted
    if (m_pSecurityPolicy && !m_pSecurityPolicy->IsClassSafeToHost(clsid))
    {
        return E_FAIL;
    }

    // See if object is script safe
    BOOL checkForObjectSafety = FALSE;
    if (m_pSecurityPolicy && m_bSafeForScriptingObjectsOnly)
    {
        BOOL bClassExists = FALSE;
        BOOL bIsSafe = m_pSecurityPolicy->IsClassMarkedSafeForScripting(clsid, bClassExists);
        if (!bClassExists && szCodebase)
        {
            // Class doesn't exist, so allow code below to fetch it
        }
        else if (!bIsSafe)
        {
            // The class is not flagged as safe for scripting, so
            // we'll have to create it to ask it if its safe.
            checkForObjectSafety = TRUE;
        }
    }

    // Create the object
    CComPtr<IUnknown> spObject;
    HRESULT hr = CoCreateInstance(clsid, NULL, CLSCTX_ALL, IID_IUnknown, (void **) &spObject);
    if (SUCCEEDED(hr) && checkForObjectSafety)
    {
        // Assume scripting via IDispatch
        if (!m_pSecurityPolicy->IsObjectSafeForScripting(spObject, __uuidof(IDispatch)))
        {
            return E_FAIL;
        }
        // Drop through, success!
    }

    // Do we need to download the control?
    if (FAILED(hr) && szCodebase)
    {
        wchar_t *szURL = NULL;

        // Test if the code base ends in #version=a,b,c,d
        DWORD dwFileVersionMS = 0xffffffff;
        DWORD dwFileVersionLS = 0xffffffff;
        const wchar_t *szHash = wcsrchr(szCodebase, wchar_t('#'));
        if (szHash)
        {
            if (wcsnicmp(szHash, L"#version=", 9) == 0)
            {
                int a, b, c, d;
                if (swscanf(szHash + 9, L"%d,%d,%d,%d", &a, &b, &c, &d) == 4)
                {
                    dwFileVersionMS = MAKELONG(b,a);
                    dwFileVersionLS = MAKELONG(d,c);
                }
            }
            szURL = _wcsdup(szCodebase);
            // Terminate at the hash mark
            if (szURL)
                szURL[szHash - szCodebase] = wchar_t('\0');
        }
        else
        {
            szURL = _wcsdup(szCodebase);
        }
        if (!szURL)
            return E_OUTOFMEMORY;

        CComPtr<IBindCtx> spBindContext; 
        CComPtr<IBindStatusCallback> spBindStatusCallback;
        CComPtr<IBindStatusCallback> spOldBSC;

        // Create our own bind context or use the one provided?
        BOOL useInternalBSC = FALSE;
        if (!pBindContext)
        {
            useInternalBSC = TRUE;
            hr = CreateBindCtx(0, &spBindContext);
            if (FAILED(hr))
            {
                free(szURL);
                return hr;
            }
            spBindStatusCallback = dynamic_cast<IBindStatusCallback *>(this);
            hr = RegisterBindStatusCallback(spBindContext, spBindStatusCallback, &spOldBSC, 0);
            if (FAILED(hr))
            {
                free(szURL);
                return hr;
            }
        }
        else
        {
            spBindContext = pBindContext;
        }

        hr = CoGetClassObjectFromURL(clsid, szURL, dwFileVersionMS, dwFileVersionLS,
            NULL, spBindContext, CLSCTX_ALL, NULL, IID_IUnknown, (void **) &m_spObject);
        
        free(szURL);
        
        // Handle the internal binding synchronously so the object exists
        // or an error code is available when the method returns.
        if (useInternalBSC)
        {
            if (MK_S_ASYNCHRONOUS == hr)
            {
                m_bBindingInProgress = TRUE;
                m_hrBindResult = E_FAIL;

                // Spin around waiting for binding to complete
                HANDLE hFakeEvent = ::CreateEvent(NULL, TRUE, FALSE, NULL);
                while (m_bBindingInProgress)
                {
                    MSG msg;
                    // Process pending messages
                    while (::PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE))
                    {
                        if (!::GetMessage(&msg, NULL, 0, 0))
                        {
                            m_bBindingInProgress = FALSE;
                            break;
                        }
                        ::TranslateMessage(&msg);
                        ::DispatchMessage(&msg);
                    }
                    if (!m_bBindingInProgress)
                        break;
                    // Sleep for a bit or the next msg to appear
                    ::MsgWaitForMultipleObjects(1, &hFakeEvent, FALSE, 500, QS_ALLEVENTS);
                }
                ::CloseHandle(hFakeEvent);

                // Set the result
                hr = m_hrBindResult;
            }

            // Destroy the bind status callback & context
            if (spBindStatusCallback)
            {
                RevokeBindStatusCallback(spBindContext, spBindStatusCallback);
                spBindContext.Release();
            }
        }
    }

    if (spObject)
        m_spObject = spObject;

    return hr;
}

Here is the call graph for this function:

virtual HRESULT ATL_NO_VTABLE::CreateBrowser ( ) [protected, virtual]
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::createElement ( VARIANT  vType,
VARIANT  var1,
IXMLElement __RPC_FAR *__RPC_FAR *  ppElem 
)
HRESULT ATL_NO_VTABLE::CreatePluginList ( unsigned long  ulFlags) [protected]
HRESULT ATL_NO_VTABLE::CreatePluginListFrom ( const TCHAR szPluginsDir) [protected]

Definition at line 16 of file TestScriptHelper.h.

HRESULT STDMETHODCALLTYPE CControlSite::DeactivateAndUndo ( void  ) [virtual, inherited]

Definition at line 947 of file ControlSite.cpp.

{
    return S_OK;
}
virtual HRESULT ATL_NO_VTABLE::DestroyBrowser ( ) [protected, virtual]
HRESULT CControlSite::Detach ( ) [virtual, inherited]

Definition at line 500 of file ControlSite.cpp.

{
    TRACE_METHOD(CControlSite::Detach);

    if (m_spIOleInPlaceObjectWindowless)
    {
        m_spIOleInPlaceObjectWindowless.Release();
    }

    if (m_spIOleInPlaceObject)
    {
        m_spIOleInPlaceObject->InPlaceDeactivate();
        m_spIOleInPlaceObject.Release();
    }

    if (m_spIOleObject)
    {
        m_spIOleObject->Close(OLECLOSE_NOSAVE);
        m_spIOleObject->SetClientSite(NULL);
        m_spIOleObject.Release();
    }

    m_spIViewObject.Release();
    m_spObject.Release();
    
    return S_OK;
}

Here is the caller graph for this function:

HRESULT STDMETHODCALLTYPE CControlSite::DiscardUndoState ( void  ) [virtual, inherited]

Definition at line 941 of file ControlSite.cpp.

{
    return S_OK;
}
HRESULT CControlSite::DoVerb ( LONG  nVerb,
LPMSG  lpMsg = NULL 
) [virtual, inherited]

Definition at line 597 of file ControlSite.cpp.

{
    TRACE_METHOD(CControlSite::DoVerb);

    if (m_spIOleObject == NULL)
    {
        return E_FAIL;
    }

    return m_spIOleObject->DoVerb(nVerb, lpMsg, this, 0, m_hWndParent, &m_rcObjectPos);
}

Here is the caller graph for this function:

HRESULT CControlSite::Draw ( HDC  hdc) [virtual, inherited]

Definition at line 571 of file ControlSite.cpp.

{
    TRACE_METHOD(CControlSite::Draw);

    // Draw only when control is windowless or deactivated
    if (m_spIViewObject)
    {
        if (m_bWindowless || !m_bInPlaceActive)
        {
            RECTL *prcBounds = (m_bWindowless) ? NULL : (RECTL *) &m_rcObjectPos;
            m_spIViewObject->Draw(DVASPECT_CONTENT, -1, NULL, NULL, NULL, hdc, prcBounds, NULL, NULL, 0);
        }
    }
    else
    {
        // Draw something to indicate no control is there
        HBRUSH hbr = CreateSolidBrush(RGB(200,200,200));
        FillRect(hdc, &m_rcObjectPos, hbr);
        DeleteObject(hbr);
    }

    return S_OK;
}
static HRESULT _stdcall ATL_NO_VTABLE::EditCommandHandler ( CMozillaBrowser pThis,
const GUID *  pguidCmdGroup,
DWORD  nCmdID,
DWORD  nCmdexecopt,
VARIANT *  pvaIn,
VARIANT *  pvaOut 
) [static]
static HRESULT _stdcall ATL_NO_VTABLE::EditModeHandler ( CMozillaBrowser pThis,
const GUID *  pguidCmdGroup,
DWORD  nCmdID,
DWORD  nCmdexecopt,
VARIANT *  pvaIn,
VARIANT *  pvaOut 
) [static]
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::EnableModeless ( BOOL  fEnable) [virtual]
virtual HRESULT STDMETHODCALLTYPE IOleCommandTargetImpl< CControlSite >::Exec ( const GUID __RPC_FAR *  pguidCmdGroup,
DWORD  nCmdID,
DWORD  nCmdexecopt,
VARIANT __RPC_FAR *  pvaIn,
VARIANT __RPC_FAR *  pvaOut 
) [inline, virtual, inherited]

Definition at line 203 of file IOleCommandTargetImpl.h.

    {
        T* pT = static_cast<T*>(this);
        BOOL bCmdGroupFound = FALSE;

        OleCommandInfo *pCommands = pT->GetCommandTable();
        ATLASSERT(pCommands);

        // Search the support command list
        for (int nSupported = 0; pCommands[nSupported].pCmdGUID != &GUID_NULL; nSupported++)
        {
            OleCommandInfo *pCI = &pCommands[nSupported];

            if (pguidCmdGroup && pCI->pCmdGUID && memcmp(pguidCmdGroup, pCI->pCmdGUID, sizeof(GUID)) == 0)
            {
                continue;
            }
            bCmdGroupFound = TRUE;

            if (pCI->nCmdID != nCmdID)
            {
                continue;
            }

            // Send ourselves a WM_COMMAND windows message with the associated
            // identifier and exec data
            OleExecData cData;
            cData.pguidCmdGroup = pguidCmdGroup;
            cData.nCmdID = nCmdID;
            cData.nCmdexecopt = nCmdexecopt;
            cData.pvaIn = pvaIn;
            cData.pvaOut = pvaOut;

            if (pCI->pfnCommandProc)
            {
                pCI->pfnCommandProc(pT, pCI->pCmdGUID, pCI->nCmdID, nCmdexecopt, pvaIn, pvaOut);
            }
            else if (pCI->nWindowsCmdID != 0 && nCmdexecopt != OLECMDEXECOPT_SHOWHELP)
            {
                HWND hwndTarget = pT->GetCommandTargetWindow();
                if (hwndTarget)
                {
                    ::SendMessage(hwndTarget, WM_COMMAND, LOWORD(pCI->nWindowsCmdID), (LPARAM) &cData);
                }
            }
            else
            {
                // Command supported but not implemented
                continue;
            }

            return S_OK;
        }

        // Was the command group found?
        if (!bCmdGroupFound)
        {
            OLECMDERR_E_UNKNOWNGROUP;
        }

        return OLECMDERR_E_NOTSUPPORTED;
    }
virtual HRESULT STDMETHODCALLTYPE IOleCommandTargetImpl< CMozillaBrowser >::Exec ( const GUID __RPC_FAR *  pguidCmdGroup,
DWORD  nCmdID,
DWORD  nCmdexecopt,
VARIANT __RPC_FAR *  pvaIn,
VARIANT __RPC_FAR *  pvaOut 
) [inline, virtual, inherited]

Definition at line 203 of file IOleCommandTargetImpl.h.

    {
        T* pT = static_cast<T*>(this);
        BOOL bCmdGroupFound = FALSE;

        OleCommandInfo *pCommands = pT->GetCommandTable();
        ATLASSERT(pCommands);

        // Search the support command list
        for (int nSupported = 0; pCommands[nSupported].pCmdGUID != &GUID_NULL; nSupported++)
        {
            OleCommandInfo *pCI = &pCommands[nSupported];

            if (pguidCmdGroup && pCI->pCmdGUID && memcmp(pguidCmdGroup, pCI->pCmdGUID, sizeof(GUID)) == 0)
            {
                continue;
            }
            bCmdGroupFound = TRUE;

            if (pCI->nCmdID != nCmdID)
            {
                continue;
            }

            // Send ourselves a WM_COMMAND windows message with the associated
            // identifier and exec data
            OleExecData cData;
            cData.pguidCmdGroup = pguidCmdGroup;
            cData.nCmdID = nCmdID;
            cData.nCmdexecopt = nCmdexecopt;
            cData.pvaIn = pvaIn;
            cData.pvaOut = pvaOut;

            if (pCI->pfnCommandProc)
            {
                pCI->pfnCommandProc(pT, pCI->pCmdGUID, pCI->nCmdID, nCmdexecopt, pvaIn, pvaOut);
            }
            else if (pCI->nWindowsCmdID != 0 && nCmdexecopt != OLECMDEXECOPT_SHOWHELP)
            {
                HWND hwndTarget = pT->GetCommandTargetWindow();
                if (hwndTarget)
                {
                    ::SendMessage(hwndTarget, WM_COMMAND, LOWORD(pCI->nWindowsCmdID), (LPARAM) &cData);
                }
            }
            else
            {
                // Command supported but not implemented
                continue;
            }

            return S_OK;
        }

        // Was the command group found?
        if (!bCmdGroupFound)
        {
            OLECMDERR_E_UNKNOWNGROUP;
        }

        return OLECMDERR_E_NOTSUPPORTED;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::ExecWB ( OLECMDID  cmdID,
OLECMDEXECOPT  cmdexecopt,
VARIANT __RPC_FAR *  pvaIn,
VARIANT __RPC_FAR *  pvaOut 
) [inline, virtual, inherited]

Definition at line 1016 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::ExecWB()\n"));
        ENSURE_BROWSER_IS_VALID();
        // Call through to IOleCommandTarget::Exec
        CComQIPtr<IOleCommandTarget> cmdTarget = this;
        if (cmdTarget)
        {
            return cmdTarget->Exec(NULL, cmdID, cmdexecopt, pvaIn, pvaOut);
        }
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::FilterDataObject ( IDataObject __RPC_FAR *  pDO,
IDataObject __RPC_FAR *__RPC_FAR *  ppDORet 
) [virtual]
HRESULT ATL_NO_VTABLE::FindPluginPathByContentType ( const TCHAR pszContentType,
TCHAR **  ppszPluginPath 
)
void CProxyDWebBrowserEvents< CMozillaBrowser >::Fire_BeforeNavigate ( BSTR  URL,
long  Flags,
BSTR  TargetFrameName,
VARIANT *  PostData,
BSTR  Headers,
VARIANT_BOOL *  Cancel 
) [inline, inherited]

Definition at line 49 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[6];
        for (int i = 0; i < 6; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[5].vt = VT_BSTR;
                pvars[5].bstrVal= URL;
                pvars[4].vt = VT_I4;
                pvars[4].lVal= Flags;
                pvars[3].vt = VT_BSTR;
                pvars[3].bstrVal= TargetFrameName;
                pvars[2].vt = VT_VARIANT | VT_BYREF;
                pvars[2].byref= PostData;
                pvars[1].vt = VT_BSTR;
                pvars[1].bstrVal= Headers;
                pvars[0].vt = VT_BOOL | VT_BYREF;
                pvars[0].byref= Cancel;
                DISPPARAMS disp = { pvars, NULL, 6, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x64, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_BeforeNavigate2 ( IDispatch pDisp,
VARIANT *  URL,
VARIANT *  Flags,
VARIANT *  TargetFrameName,
VARIANT *  PostData,
VARIANT *  Headers,
VARIANT_BOOL *  Cancel 
) [inline, inherited]

Definition at line 661 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[7];
        for (int i = 0; i < 7; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[6].vt = VT_DISPATCH;
                pvars[6].pdispVal= pDisp;
                pvars[5].vt = VT_VARIANT | VT_BYREF;
                pvars[5].byref= URL;
                pvars[4].vt = VT_VARIANT | VT_BYREF;
                pvars[4].byref= Flags;
                pvars[3].vt = VT_VARIANT | VT_BYREF;
                pvars[3].byref= TargetFrameName;
                pvars[2].vt = VT_VARIANT | VT_BYREF;
                pvars[2].byref= PostData;
                pvars[1].vt = VT_VARIANT | VT_BYREF;
                pvars[1].byref= Headers;
                pvars[0].vt = VT_BOOL | VT_BYREF;
                pvars[0].byref= Cancel;
                DISPPARAMS disp = { pvars, NULL, 7, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0xfa, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents< CMozillaBrowser >::Fire_CommandStateChange ( long  Command,
VARIANT_BOOL  Enable 
) [inline, inherited]

Definition at line 180 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[2];
        for (int i = 0; i < 2; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[1].vt = VT_I4;
                pvars[1].lVal= Command;
                pvars[0].vt = VT_BOOL;
                pvars[0].boolVal= Enable;
                DISPPARAMS disp = { pvars, NULL, 2, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x69, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_CommandStateChange ( long  Command,
VARIANT_BOOL  Enable 
) [inline, inherited]

Definition at line 552 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[2];
        for (int i = 0; i < 2; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[1].vt = VT_I4;
                pvars[1].lVal= Command;
                pvars[0].vt = VT_BOOL;
                pvars[0].boolVal= Enable;
                DISPPARAMS disp = { pvars, NULL, 2, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x69, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_DocumentComplete ( IDispatch pDisp,
VARIANT *  URL 
) [inline, inherited]

Definition at line 757 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[2];
        for (int i = 0; i < 2; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[1].vt = VT_DISPATCH;
                pvars[1].pdispVal= pDisp;
                pvars[0].vt = VT_VARIANT | VT_BYREF;
                pvars[0].byref= URL;
                DISPPARAMS disp = { pvars, NULL, 2, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x103, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }

Definition at line 207 of file CPMozillaControl.h.

    {
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                DISPPARAMS disp = { NULL, NULL, 0, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x6a, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
    }

Definition at line 579 of file CPMozillaControl.h.

    {
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                DISPPARAMS disp = { NULL, NULL, 0, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x6a, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
    }

Definition at line 163 of file CPMozillaControl.h.

    {
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                DISPPARAMS disp = { NULL, NULL, 0, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x68, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
    }

Definition at line 596 of file CPMozillaControl.h.

    {
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                DISPPARAMS disp = { NULL, NULL, 0, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x68, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
    }
void CProxyDWebBrowserEvents< CMozillaBrowser >::Fire_FrameBeforeNavigate ( BSTR  URL,
long  Flags,
BSTR  TargetFrameName,
VARIANT *  PostData,
BSTR  Headers,
VARIANT_BOOL *  Cancel 
) [inline, inherited]

Definition at line 287 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[6];
        for (int i = 0; i < 6; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[5].vt = VT_BSTR;
                pvars[5].bstrVal= URL;
                pvars[4].vt = VT_I4;
                pvars[4].lVal= Flags;
                pvars[3].vt = VT_BSTR;
                pvars[3].bstrVal= TargetFrameName;
                pvars[2].vt = VT_VARIANT | VT_BYREF;
                pvars[2].byref= PostData;
                pvars[1].vt = VT_BSTR;
                pvars[1].bstrVal= Headers;
                pvars[0].vt = VT_BOOL | VT_BYREF;
                pvars[0].byref= Cancel;
                DISPPARAMS disp = { pvars, NULL, 6, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0xc8, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }

Definition at line 326 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BSTR;
                pvars[0].bstrVal= URL;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0xc9, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents< CMozillaBrowser >::Fire_FrameNewWindow ( BSTR  URL,
long  Flags,
BSTR  TargetFrameName,
VARIANT *  PostData,
BSTR  Headers,
VARIANT_BOOL *  Processed 
) [inline, inherited]

Definition at line 350 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[6];
        for (int i = 0; i < 6; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[5].vt = VT_BSTR;
                pvars[5].bstrVal= URL;
                pvars[4].vt = VT_I4;
                pvars[4].lVal= Flags;
                pvars[3].vt = VT_BSTR;
                pvars[3].bstrVal= TargetFrameName;
                pvars[2].vt = VT_VARIANT | VT_BYREF;
                pvars[2].byref= PostData;
                pvars[1].vt = VT_BSTR;
                pvars[1].bstrVal= Headers;
                pvars[0].vt = VT_BOOL | VT_BYREF;
                pvars[0].byref= Processed;
                DISPPARAMS disp = { pvars, NULL, 6, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0xcc, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents< CMozillaBrowser >::Fire_NavigateComplete ( BSTR  URL) [inline, inherited]

Definition at line 88 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BSTR;
                pvars[0].bstrVal= URL;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x65, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_NavigateComplete2 ( IDispatch pDisp,
VARIANT *  URL 
) [inline, inherited]

Definition at line 730 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[2];
        for (int i = 0; i < 2; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[1].vt = VT_DISPATCH;
                pvars[1].pdispVal= pDisp;
                pvars[0].vt = VT_VARIANT | VT_BYREF;
                pvars[0].byref= URL;
                DISPPARAMS disp = { pvars, NULL, 2, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0xfc, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents< CMozillaBrowser >::Fire_NewWindow ( BSTR  URL,
long  Flags,
BSTR  TargetFrameName,
VARIANT *  PostData,
BSTR  Headers,
VARIANT_BOOL *  Processed 
) [inline, inherited]

Definition at line 224 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[6];
        for (int i = 0; i < 6; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[5].vt = VT_BSTR;
                pvars[5].bstrVal= URL;
                pvars[4].vt = VT_I4;
                pvars[4].lVal= Flags;
                pvars[3].vt = VT_BSTR;
                pvars[3].bstrVal= TargetFrameName;
                pvars[2].vt = VT_VARIANT | VT_BYREF;
                pvars[2].byref= PostData;
                pvars[1].vt = VT_BSTR;
                pvars[1].bstrVal= Headers;
                pvars[0].vt = VT_BOOL | VT_BYREF;
                pvars[0].byref= Processed;
                DISPPARAMS disp = { pvars, NULL, 6, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x6b, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_NewWindow2 ( IDispatch **  ppDisp,
VARIANT_BOOL *  Cancel 
) [inline, inherited]

Definition at line 703 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[2];
        for (int i = 0; i < 2; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[1].vt = VT_DISPATCH | VT_BYREF;
                pvars[1].byref= ppDisp;
                pvars[0].vt = VT_BOOL | VT_BYREF;
                pvars[0].byref= Cancel;
                DISPPARAMS disp = { pvars, NULL, 2, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0xfb, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_OnFullScreen ( VARIANT_BOOL  FullScreen) [inline, inherited]

Definition at line 897 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BOOL;
                pvars[0].boolVal= FullScreen;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x102, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_OnMenuBar ( VARIANT_BOOL  MenuBar) [inline, inherited]

Definition at line 849 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BOOL;
                pvars[0].boolVal= MenuBar;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x100, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }

Definition at line 784 of file CPMozillaControl.h.

    {
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                DISPPARAMS disp = { NULL, NULL, 0, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0xfd, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_OnStatusBar ( VARIANT_BOOL  StatusBar) [inline, inherited]

Definition at line 873 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BOOL;
                pvars[0].boolVal= StatusBar;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x101, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_OnTheaterMode ( VARIANT_BOOL  TheaterMode) [inline, inherited]

Definition at line 921 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BOOL;
                pvars[0].boolVal= TheaterMode;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x104, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_OnToolBar ( VARIANT_BOOL  ToolBar) [inline, inherited]

Definition at line 825 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BOOL;
                pvars[0].boolVal= ToolBar;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0xff, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_OnVisible ( VARIANT_BOOL  Visible) [inline, inherited]

Definition at line 801 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BOOL;
                pvars[0].boolVal= Visible;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0xfe, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents< CMozillaBrowser >::Fire_ProgressChange ( long  Progress,
long  ProgressMax 
) [inline, inherited]

Definition at line 136 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[2];
        for (int i = 0; i < 2; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[1].vt = VT_I4;
                pvars[1].lVal= Progress;
                pvars[0].vt = VT_I4;
                pvars[0].lVal= ProgressMax;
                DISPPARAMS disp = { pvars, NULL, 2, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x6c, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_ProgressChange ( long  Progress,
long  ProgressMax 
) [inline, inherited]

Definition at line 525 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[2];
        for (int i = 0; i < 2; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[1].vt = VT_I4;
                pvars[1].lVal= Progress;
                pvars[0].vt = VT_I4;
                pvars[0].lVal= ProgressMax;
                DISPPARAMS disp = { pvars, NULL, 2, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x6c, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents< CMozillaBrowser >::Fire_PropertyChange ( BSTR  Property) [inline, inherited]

Definition at line 464 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BSTR;
                pvars[0].bstrVal= Property;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x70, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_PropertyChange ( BSTR  szProperty) [inline, inherited]

Definition at line 637 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BSTR;
                pvars[0].bstrVal= szProperty;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x70, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents< CMozillaBrowser >::Fire_Quit ( VARIANT_BOOL *  Cancel) [inline, inherited]

Definition at line 389 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BOOL | VT_BYREF;
                pvars[0].byref= Cancel;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x67, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents< CMozillaBrowser >::Fire_StatusTextChange ( BSTR  Text) [inline, inherited]

Definition at line 112 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BSTR;
                pvars[0].bstrVal= Text;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x66, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_StatusTextChange ( BSTR  Text) [inline, inherited]

Definition at line 501 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BSTR;
                pvars[0].bstrVal= Text;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x66, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents< CMozillaBrowser >::Fire_TitleChange ( BSTR  Text) [inline, inherited]

Definition at line 263 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BSTR;
                pvars[0].bstrVal= Text;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x71, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }
void CProxyDWebBrowserEvents2< CMozillaBrowser >::Fire_TitleChange ( BSTR  Text) [inline, inherited]

Definition at line 613 of file CPMozillaControl.h.

    {
        VARIANTARG* pvars = new VARIANTARG[1];
        for (int i = 0; i < 1; i++)
            VariantInit(&pvars[i]);
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                pvars[0].vt = VT_BSTR;
                pvars[0].bstrVal= Text;
                DISPPARAMS disp = { pvars, NULL, 1, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x71, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
        delete[] pvars;
    }

Definition at line 447 of file CPMozillaControl.h.

    {
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                DISPPARAMS disp = { NULL, NULL, 0, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x6f, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
    }

Definition at line 413 of file CPMozillaControl.h.

    {
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                DISPPARAMS disp = { NULL, NULL, 0, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x6d, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
    }

Definition at line 430 of file CPMozillaControl.h.

    {
        T* pT = (T*)this;
        pT->Lock();
        IUnknown** pp = m_vec.begin();
        while (pp < m_vec.end())
        {
            if (*pp != NULL)
            {
                DISPPARAMS disp = { NULL, NULL, 0, 0 };
                IDispatch* pDispatch = reinterpret_cast<IDispatch*>(*pp);
                pDispatch->Invoke(0x6e, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL);
            }
            pp++;
        }
        pT->Unlock();
    }
void CControlSite::FireAmbientPropertyChange ( DISPID  id) [protected, virtual, inherited]

Definition at line 623 of file ControlSite.cpp.

{
    if (m_spObject)
    {
        CComQIPtr<IOleControl> spControl = m_spObject;
        if (spControl)
        {
            spControl->OnAmbientPropertyChange(id);
        }
    }
}

Here is the caller graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get__newEnum ( IUnknown __RPC_FAR *__RPC_FAR *  ppUnk) [virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_AddressBar ( VARIANT_BOOL __RPC_FAR *  Value) [inline, virtual, inherited]

Definition at line 1141 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_AddressBar()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (Value == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        //There is no AddressBar in this control.
        *Value = VARIANT_FALSE;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Application ( IDispatch __RPC_FAR *__RPC_FAR *  ppDisp) [inline, virtual, inherited]

Definition at line 500 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Application()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (!ppDisp)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        // Return a pointer to this controls dispatch interface
        *ppDisp = (IDispatch *) this;
        (*ppDisp)->AddRef();
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Busy ( VARIANT_BOOL __RPC_FAR *  pBool) [inline, virtual, inherited]

Definition at line 716 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Busy()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (!pBool)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        *pBool = (mBusyFlag) ? VARIANT_TRUE : VARIANT_FALSE;
        return S_OK;
    }

Here is the call graph for this function:

HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_charset ( BSTR __RPC_FAR *  p)
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_children ( IXMLElementCollection __RPC_FAR *__RPC_FAR *  pp) [virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Container ( IDispatch __RPC_FAR *__RPC_FAR *  ppDisp) [inline, virtual, inherited]

Definition at line 518 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Container()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (!ppDisp)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        //TODO: Implement get_Container: Retrieve a pointer to the IDispatch interface of the container.
        *ppDisp = NULL;
        return SetErrorInfo(E_UNEXPECTED);
    }

Here is the call graph for this function:

HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_doctype ( BSTR __RPC_FAR *  p)
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_Document ( IDispatch __RPC_FAR *__RPC_FAR *  ppDisp) [virtual]
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_dtdURL ( BSTR __RPC_FAR *  p)
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_fileModifiedDate ( BSTR __RPC_FAR *  p)
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_fileSize ( BSTR __RPC_FAR *  p)
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_fileUpdatedDate ( BSTR __RPC_FAR *  p)
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_FullName ( BSTR __RPC_FAR *  FullName) [inline, virtual, inherited]

Definition at line 811 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_FullName()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (FullName == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }

        // TODO: Implement get_FullName (Return the full path of the executable containing this control)
        *FullName = SysAllocString(L""); // TODO get Mozilla's executable name
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_FullScreen ( VARIANT_BOOL __RPC_FAR *  pbFullScreen) [inline, virtual, inherited]

Definition at line 955 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_FullScreen()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (pbFullScreen == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }

        //FullScreen mode doesn't really apply to this control.
        *pbFullScreen = VARIANT_FALSE;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Height ( long __RPC_FAR *  pl) [inline, virtual, inherited]

Definition at line 637 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Height()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (pl == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }

        //TODO: Implement get_Height - Should return the hieght of this control.
        *pl = 0;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_HWND ( long __RPC_FAR *  pHWND) [inline, virtual, inherited]

Definition at line 796 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_HWND()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (pHWND == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }

        //This is supposed to return a handle to the IE main window.  Since that doesn't exist
        //in the control's case, this shouldn't do anything.
        *pHWND = NULL;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Left ( long __RPC_FAR *  pl) [inline, virtual, inherited]

Definition at line 579 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Left()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (pl == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }

        //TODO: Implement get_Left - Should return the left position of this control.
        *pl = 0;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_length ( long __RPC_FAR *  p) [virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_LocationName ( BSTR __RPC_FAR *  LocationName) [inline, virtual, inherited]

Definition at line 658 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_LocationName()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (LocationName == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        // Get the url from the web shell
        nsXPIDLString szLocationName;
        ENSURE_GET_WEBNAV();
        nsCOMPtr<nsIBaseWindow> baseWindow = do_QueryInterface(webNav);
        baseWindow->GetTitle(getter_Copies(szLocationName));
        if (nsnull == (const PRUnichar *) szLocationName)
        {
            return SetErrorInfo(E_UNEXPECTED);
        }

        // Convert the string to a BSTR
        USES_CONVERSION;
        LPCOLESTR pszConvertedLocationName = W2COLE((const PRUnichar *) szLocationName);
        *LocationName = SysAllocString(pszConvertedLocationName);

        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_LocationURL ( BSTR __RPC_FAR *  LocationURL) [inline, virtual, inherited]

Definition at line 684 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_LocationURL()\n"));
        ENSURE_BROWSER_IS_VALID();

        if (LocationURL == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        nsCOMPtr<nsIURI> uri;
        // Get the current url from the browser
        nsCOMPtr<nsIWebNavigation> webNav;
        GetWebNavigation(getter_AddRefs(webNav));
        if (webNav)
        {
            webNav->GetCurrentURI(getter_AddRefs(uri));
        }
        if (uri)
        {
            USES_CONVERSION;
            nsCAutoString aURI;
            uri->GetAsciiSpec(aURI);
            *LocationURL = SysAllocString(A2OLE(aURI.get()));
        }
        else
        {
            *LocationURL = NULL;
        }

    return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_MenuBar ( VARIANT_BOOL __RPC_FAR *  Value) [inline, virtual, inherited]

Definition at line 933 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_MenuBar()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (Value == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }

        //There is no MenuBar in this control.
        *Value = VARIANT_FALSE;
        return S_OK;
    }

Here is the call graph for this function:

HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_mimeType ( BSTR __RPC_FAR *  p)
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Name ( BSTR __RPC_FAR *  Name) [inline, virtual, inherited]

Definition at line 782 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Name()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (Name == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }

        // TODO: Implement get_Name (get Mozilla's executable name)
        *Name = SysAllocString(L"Mozilla Web Browser Control");
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Offline ( VARIANT_BOOL __RPC_FAR *  pbOffline) [inline, virtual, inherited]

Definition at line 1049 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Offline()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (pbOffline == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        //TODO: Implement get_Offline
        *pbOffline = VARIANT_FALSE;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_parent ( IXMLElement __RPC_FAR *__RPC_FAR *  ppParent) [virtual]
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_Parent ( IDispatch __RPC_FAR *__RPC_FAR *  ppDisp) [virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Path ( BSTR __RPC_FAR *  Path) [inline, virtual, inherited]

Definition at line 825 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Path()\n"));
        ENSURE_BROWSER_IS_VALID();

        if (Path == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }

        // TODO: Implement get_Path (get Mozilla's path)
        *Path = SysAllocString(L"");
        return S_OK;
    }

Here is the call graph for this function:

STDMETHOD() ATL_NO_VTABLE::get_PluginContentType ( BSTR *  pVal)
STDMETHOD() ATL_NO_VTABLE::get_PluginSource ( BSTR *  pVal)
STDMETHOD() ATL_NO_VTABLE::get_PluginsPage ( BSTR *  pVal)
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_readyState ( long __RPC_FAR *  pl)
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_ReadyState ( READYSTATE __RPC_FAR *  plReadyState) [inline, virtual, inherited]

Definition at line 1036 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_ReadyState()\n"));
        // Note: may be called when browser is not yet initialized so there
        // is no validity check here.
        if (plReadyState == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        *plReadyState = mBrowserReadyState;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_RegisterAsBrowser ( VARIANT_BOOL __RPC_FAR *  pbRegister) [inline, virtual, inherited]

Definition at line 1089 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_RegisterAsBrowser()\n"));
        ENSURE_BROWSER_IS_VALID();

        if (pbRegister == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        //TODO: Implement get_RegisterAsBrowser
        *pbRegister = VARIANT_FALSE;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_RegisterAsDropTarget ( VARIANT_BOOL __RPC_FAR *  pbRegister) [virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Resizable ( VARIANT_BOOL __RPC_FAR *  Value) [inline, virtual, inherited]

Definition at line 1161 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Resizable()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (Value == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        //TODO:  Not sure if this should actually be implemented or not.
        *Value = VARIANT_TRUE;
        return S_OK;
    }

Here is the call graph for this function:

HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_root ( IXMLElement __RPC_FAR *__RPC_FAR *  p)
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Silent ( VARIANT_BOOL __RPC_FAR *  pbSilent) [inline, virtual, inherited]

Definition at line 1069 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Silent()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (pbSilent == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        //Only really applies to the IE app, not a control
        *pbSilent = VARIANT_FALSE;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_StatusBar ( VARIANT_BOOL __RPC_FAR *  pBool) [inline, virtual, inherited]

Definition at line 864 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_StatusBar()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (pBool == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        //There is no StatusBar in this control.
        *pBool = VARIANT_FALSE;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_StatusText ( BSTR __RPC_FAR *  StatusText) [inline, virtual, inherited]

Definition at line 885 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_StatusText()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (StatusText == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }

        //TODO: Implement get_StatusText
        //NOTE: This function is related to the MS status bar which doesn't exist in this control.  Needs more
        //        investigation, but probably doesn't apply.
        *StatusText = SysAllocString(L"");
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_tagName ( BSTR __RPC_FAR *  p) [virtual]
STDMETHOD() ATL_NO_VTABLE::get_TestCGI ( BSTR *  pVal)
STDMETHOD() ATL_NO_VTABLE::get_TestURL ( BSTR *  pVal)
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_text ( BSTR __RPC_FAR *  p) [virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_TheaterMode ( VARIANT_BOOL __RPC_FAR *  pbRegister) [inline, virtual, inherited]

Definition at line 1121 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_TheaterMode()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (pbRegister == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        // TheaterMode doesn't apply to this control.
        *pbRegister = VARIANT_FALSE;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_ToolBar ( int __RPC_FAR *  Value) [inline, virtual, inherited]

Definition at line 911 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_ToolBar()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (Value == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }

        //There is no ToolBar in this control.
        *Value = FALSE;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Top ( long __RPC_FAR *  pl) [inline, virtual, inherited]

Definition at line 599 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Top()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (pl == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        //TODO: Implement get_Top - Should return the top position of this control.
        *pl = 0;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_TopLevelContainer ( VARIANT_BOOL __RPC_FAR *  pBool) [inline, virtual, inherited]

Definition at line 541 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_TopLevelContainer()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (!pBool)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        //TODO: Implement get_TopLevelContainer
        *pBool = VARIANT_TRUE;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_type ( long __RPC_FAR *  plType) [virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Type ( BSTR __RPC_FAR *  Type) [inline, virtual, inherited]

Definition at line 554 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Type()\n"));
        ENSURE_BROWSER_IS_VALID();

        //NOTE:    This code should work in theory, but can't be verified because GetDoctype
        //        has not been implemented yet.
#if 0
        nsIDOMDocument *pIDOMDocument = nsnull;
        if ( SUCCEEDED(GetDOMDocument(&pIDOMDocument)) )
        {
            nsIDOMDocumentType *pIDOMDocumentType = nsnull;
            if ( SUCCEEDED(pIDOMDocument->GetDoctype(&pIDOMDocumentType)) )
            {
                nsAutoString docName;
                pIDOMDocumentType->GetName(docName);
                //NG_TRACE("pIDOMDocumentType returns: %s", docName);
                //Still need to manipulate docName so that it goes into *Type param of this function.
            }
        }
#endif
        //TODO: Implement get_Type
        return SetErrorInfo(E_FAIL, L"get_Type: failed");
    }

Here is the call graph for this function:

HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_URL ( BSTR __RPC_FAR *  p)
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::get_version ( BSTR __RPC_FAR *  p)
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Visible ( VARIANT_BOOL __RPC_FAR *  pBool) [inline, virtual, inherited]

Definition at line 840 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Visible()\n"));
        ENSURE_BROWSER_IS_VALID();

        if (pBool == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }

        //TODO: Implement get_Visible?
        *pBool = VARIANT_TRUE;
        return S_OK;
    }

Here is the call graph for this function:

STDMETHOD() ATL_NO_VTABLE::get_WebBrowser ( LPDISPATCH *  pVal)
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::get_Width ( long __RPC_FAR *  pl) [inline, virtual, inherited]

Definition at line 618 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::get_Width()\n"));
        ENSURE_BROWSER_IS_VALID();
        //TODO: Implement get_Width- Should return the width of this control.
        if (pl == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        *pl = 0;
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::getAttribute ( BSTR  strPropertyName,
VARIANT __RPC_FAR *  PropertyValue 
) [virtual]
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetBindInfo ( DWORD __RPC_FAR *  grfBINDF,
BINDINFO __RPC_FAR *  pbindinfo 
) [virtual]

Reimplemented from CControlSite.

HRESULT STDMETHODCALLTYPE CControlSite::GetCapture ( void  ) [virtual, inherited]

Definition at line 1012 of file ControlSite.cpp.

{
    // TODO capture the mouse for the object
    return S_FALSE;
}
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetClassID ( CLSID __RPC_FAR *  pClassID)
HWND CControlSite::GetCommandTargetWindow ( ) [inline, inherited]

Definition at line 221 of file ControlSite.h.

    {
        return NULL; // TODO
    }

Definition at line 308 of file MozillaBrowser.h.

    {
        return m_hWnd;
    }
HRESULT STDMETHODCALLTYPE CControlSite::GetContainer ( IOleContainer __RPC_FAR *__RPC_FAR *  ppContainer) [virtual, inherited]

Definition at line 846 of file ControlSite.cpp.

{
    if (!ppContainer) return E_INVALIDARG;
    *ppContainer = m_spContainer;
    if (*ppContainer)
    {
        (*ppContainer)->AddRef();
    }
    return (*ppContainer) ? S_OK : E_NOINTERFACE;
}
HRESULT CControlSite::GetControlUnknown ( IUnknown **  ppObject) [virtual, inherited]

Definition at line 530 of file ControlSite.cpp.

{
    *ppObject = NULL;
    if (m_spObject)
    {
        m_spObject->QueryInterface(IID_IUnknown, (void **) ppObject);
    }
    return S_OK;
}
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetCurMoniker ( IMoniker __RPC_FAR *__RPC_FAR *  ppimkName)
HRESULT STDMETHODCALLTYPE CControlSite::GetDC ( LPCRECT  pRect,
DWORD  grfFlags,
HDC __RPC_FAR *  phDC 
) [virtual, inherited]

Definition at line 1038 of file ControlSite.cpp.

{
    if (phDC == NULL)
    {
        return E_INVALIDARG;
    }

    // Can't do nested painting
    if (m_hDCBuffer != NULL)
    {
        return E_UNEXPECTED;
    }

    m_rcBuffer = m_rcObjectPos;
    if (pRect != NULL)
    {
        m_rcBuffer = *pRect;
    }

    m_hBMBuffer = NULL;
    m_dwBufferFlags = grfFlags;

    // See if the control wants a DC that is onscreen or offscreen
    if (m_dwBufferFlags & OLEDC_OFFSCREEN)
    {
        m_hDCBuffer = CreateCompatibleDC(NULL);
        if (m_hDCBuffer == NULL)
        {
            // Error
            return E_OUTOFMEMORY;
        }

        long cx = m_rcBuffer.right - m_rcBuffer.left;
        long cy = m_rcBuffer.bottom - m_rcBuffer.top;

        m_hBMBuffer = CreateCompatibleBitmap(m_hDCBuffer, cx, cy);
        m_hBMBufferOld = (HBITMAP) SelectObject(m_hDCBuffer, m_hBMBuffer);
        SetViewportOrgEx(m_hDCBuffer, m_rcBuffer.left, m_rcBuffer.top, NULL);

        // TODO When OLEDC_PAINTBKGND we must draw every site behind this one
    }
    else
    {
        // TODO When OLEDC_PAINTBKGND we must draw every site behind this one

        // Get the window DC
        m_hDCBuffer = GetWindowDC(m_hWndParent);
        if (m_hDCBuffer == NULL)
        {
            // Error
            return E_OUTOFMEMORY;
        }

        // Clip the control so it can't trash anywhere it isn't allowed to draw
        if (!(m_dwBufferFlags & OLEDC_NODRAW))
        {
            m_hRgnBuffer = CreateRectRgnIndirect(&m_rcBuffer);

            // TODO Clip out opaque areas of sites behind this one

            SelectClipRgn(m_hDCBuffer, m_hRgnBuffer);
        }
    }

    *phDC = m_hDCBuffer;

    return S_OK;
}

Here is the caller graph for this function:

Definition at line 649 of file ControlSite.cpp.

{
    static CDefaultControlSiteSecurityPolicy defaultControlSecurityPolicy;
    return &defaultControlSecurityPolicy;
}

Here is the caller graph for this function:

virtual HRESULT ATL_NO_VTABLE::GetDOMDocument ( nsIDOMDocument **  pDocument) [protected, virtual]
virtual nsresult ATL_NO_VTABLE::GetDOMWindow ( nsIDOMWindow **  aDOMWindow) [virtual]
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetDropTarget ( IDropTarget __RPC_FAR *  pDropTarget,
IDropTarget __RPC_FAR *__RPC_FAR *  ppDropTarget 
) [virtual]
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetErrorInfo ( XML_ERROR __RPC_FAR *  pErrorReturn)
HRESULT STDMETHODCALLTYPE CControlSite::GetExtendedControl ( IDispatch __RPC_FAR *__RPC_FAR *  ppDisp) [virtual, inherited]

Definition at line 1256 of file ControlSite.cpp.

{
    return E_NOTIMPL;
}
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetExternal ( IDispatch __RPC_FAR *__RPC_FAR *  ppDispatch) [virtual]
HRESULT STDMETHODCALLTYPE CControlSite::GetFocus ( void  ) [virtual, inherited]

Definition at line 1026 of file ControlSite.cpp.

{
    return S_OK;
}
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetHostInfo ( DOCHOSTUIINFO __RPC_FAR *  pInfo) [virtual]
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetIDsOfNames ( REFIID  riid,
LPOLESTR __RPC_FAR *  rgszNames,
UINT  cNames,
LCID  lcid,
DISPID __RPC_FAR *  rgDispId 
) [virtual]

Reimplemented from CControlSite.

HRESULT STDMETHODCALLTYPE CControlSite::GetMoniker ( DWORD  dwAssign,
DWORD  dwWhichMoniker,
IMoniker __RPC_FAR *__RPC_FAR *  ppmk 
) [virtual, inherited]

Definition at line 840 of file ControlSite.cpp.

{
    return E_NOTIMPL;
}
virtual const CLSID& CControlSite::GetObjectCLSID ( ) const [inline, virtual, inherited]

Definition at line 271 of file ControlSite.h.

    {
        return m_CLSID;
    }
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetOptionKeyPath ( LPOLESTR __RPC_FAR *  pchKey,
DWORD  dw 
) [virtual]
virtual HWND CControlSite::GetParentWindow ( ) const [inline, virtual, inherited]

Definition at line 281 of file ControlSite.h.

    {
        return m_hWndParent;
    }
HRESULT ATL_NO_VTABLE::GetPluginInfo ( const TCHAR pszPluginPath,
PluginInfo pInfo 
) [protected]
virtual nsresult ATL_NO_VTABLE::GetPrefs ( nsIPrefBranch **  aPrefBranch) [virtual]
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetPriority ( LONG __RPC_FAR *  pnPriority) [virtual]

Reimplemented from CControlSite.

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::GetProperty ( BSTR  Property,
VARIANT __RPC_FAR *  pvtValue 
) [inline, virtual, inherited]

Definition at line 761 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::GetProperty()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (Property == NULL || pvtValue == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        VariantInit(pvtValue);
        for (unsigned long i = 0; i < mPropertyList.GetSize(); i++)
        {
            if (wcsicmp(mPropertyList.GetNameOf(i), Property) == 0)
            {
                // Copy the new value
                VariantCopy(pvtValue, const_cast<VARIANT *>(mPropertyList.GetValueOf(i)));
                return S_OK;
            }
        }
        return S_OK;
    }

Here is the call graph for this function:

virtual CControlSiteSecurityPolicy* CControlSite::GetSecurityPolicy ( ) const [inline, virtual, inherited]

Definition at line 261 of file ControlSite.h.

    {
        return m_pSecurityPolicy;
    }
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetSizeMax ( ULARGE_INTEGER __RPC_FAR *  pCbSize)
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetTypeInfo ( UINT  iTInfo,
LCID  lcid,
ITypeInfo __RPC_FAR *__RPC_FAR *  ppTInfo 
) [virtual]

Reimplemented from CControlSite.

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetTypeInfoCount ( UINT __RPC_FAR *  pctinfo) [virtual]

Reimplemented from CControlSite.

STDMETHOD() ATL_NO_VTABLE::GetViewStatus ( DWORD pdwStatus) [inline]

Definition at line 348 of file MozillaBrowser.h.

    {
        ATLTRACE(_T("IViewObjectExImpl::GetViewStatus\n"));
        *pdwStatus = VIEWSTATUS_SOLIDBKGND | VIEWSTATUS_OPAQUE;
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::GetWebBrowser ( void __RPC_FAR *__RPC_FAR *  aBrowser) [virtual]
HRESULT ATL_NO_VTABLE::GetWebBrowserApp ( IWebBrowserApp **  pBrowser)
virtual nsresult ATL_NO_VTABLE::GetWebNavigation ( nsIWebNavigation **  aWebNav) [virtual]
HRESULT STDMETHODCALLTYPE CControlSite::GetWindow ( HWND __RPC_FAR *  phwnd) [virtual, inherited]

Definition at line 817 of file ControlSite.cpp.

{
    *phwnd = m_hWndParent;
    return S_OK;
}
HRESULT STDMETHODCALLTYPE CControlSite::GetWindow ( REFGUID  rguidReason,
HWND phwnd 
) [virtual, inherited]

Definition at line 1412 of file ControlSite.cpp.

{
    *phwnd = NULL;
    return S_OK;
}
HRESULT STDMETHODCALLTYPE CControlSite::GetWindowContext ( IOleInPlaceFrame __RPC_FAR *__RPC_FAR *  ppFrame,
IOleInPlaceUIWindow __RPC_FAR *__RPC_FAR *  ppDoc,
LPRECT  lprcPosRect,
LPRECT  lprcClipRect,
LPOLEINPLACEFRAMEINFO  lpFrameInfo 
) [virtual, inherited]

Definition at line 900 of file ControlSite.cpp.

{
    *lprcPosRect = m_rcObjectPos;
    *lprcClipRect = m_rcObjectPos;

    CControlSiteIPFrameInstance *pIPFrame = NULL;
    CControlSiteIPFrameInstance::CreateInstance(&pIPFrame);
    pIPFrame->AddRef();

    *ppFrame = (IOleInPlaceFrame *) pIPFrame;
    *ppDoc = NULL;

    lpFrameInfo->fMDIApp = FALSE;
    lpFrameInfo->hwndFrame = NULL;
    lpFrameInfo->haccel = NULL;
    lpFrameInfo->cAccelEntries = 0;

    return S_OK;
}
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::GoBack ( void  ) [inline, virtual, inherited]

Definition at line 139 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::GoBack()\n"));
        ENSURE_BROWSER_IS_VALID();
        ENSURE_GET_WEBNAV();

        PRBool aCanGoBack = PR_FALSE;
        webNav->GetCanGoBack(&aCanGoBack);
        if (aCanGoBack == PR_TRUE)
        {
            webNav->GoBack();
        }
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::GoForward ( void  ) [inline, virtual, inherited]

Definition at line 154 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::GoBack()\n"));
        ENSURE_BROWSER_IS_VALID();
        ENSURE_GET_WEBNAV();

        PRBool aCanGoForward = PR_FALSE;
        webNav->GetCanGoForward(&aCanGoForward);
        if (aCanGoForward == PR_TRUE)
        {
            webNav->GoForward();
        }
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::GoHome ( void  ) [inline, virtual, inherited]

Definition at line 169 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::GoHome()\n"));
        ENSURE_BROWSER_IS_VALID();

        CComBSTR bstrUrl(L"http://home.netscape.com/");

        // Find the home page stored in prefs
        nsCOMPtr<nsIPrefBranch> prefBranch;
        if (NS_SUCCEEDED(GetPrefs(getter_AddRefs(prefBranch))))
        {
            nsCOMPtr<nsIPrefLocalizedString> homePage;
            prefBranch->GetComplexValue("browser.startup.homepage",
                                            NS_GET_IID(nsIPrefLocalizedString),
                                            getter_AddRefs(homePage));

            if (homePage)
            {
                nsXPIDLString homePageString;
                nsresult rv = homePage->ToString(getter_Copies(homePageString));
                if (NS_SUCCEEDED(rv))
                {
                    bstrUrl = homePageString.get();
                }
            }
        }

        // Navigate to the home page
        Navigate(bstrUrl, NULL, NULL, NULL, NULL);
    
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::GoSearch ( void  ) [inline, virtual, inherited]

Definition at line 201 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::GoSearch()\n"));
        ENSURE_BROWSER_IS_VALID();

        CComBSTR bstrUrl(L"http://search.netscape.com/");

        //NOTE:    This code has not been implemented yet
#if 0
        // Find the home page stored in prefs
        nsCOMPtr<nsIPrefBranch> prefBranch;
        if (NS_SUCCEEDED(GetPrefs(getter_AddRefs(prefBranch))))
        {
            // TODO find and navigate to the search page stored in prefs
            //      and not this hard coded address
        }
#endif
        // Navigate to the search page
        Navigate(bstrUrl, NULL, NULL, NULL, NULL);
    
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::HideUI ( void  ) [virtual]
virtual HRESULT ATL_NO_VTABLE::Initialize ( ) [protected, virtual]
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::InitNew ( void  )
static HRESULT ATL_NO_VTABLE::InitPluginCallbacks ( ) [static, protected]
HRESULT ATL_NO_VTABLE::InPlaceActivate ( LONG  iVerb,
const RECT *  prcPosRect 
)
STDMETHOD() ATL_NO_VTABLE::InterfaceSupportsErrorInfo ( REFIID  riid)
STDMETHOD() ATL_NO_VTABLE::InterfaceSupportsErrorInfo ( REFIID  riid) [inline]

Definition at line 246 of file nsPluginHostCtrl.h.

       {
              static const IID* arr[] = 
              {
                     &IID_IMozPluginHostCtrl,
              };
              for (int i=0; i<sizeof(arr)/sizeof(arr[0]); i++)
              {
                     if (InlineIsEqualGUID(*arr[i], riid))
                            return S_OK;
              }
              return S_FALSE;
       }
STDMETHOD() ATL_NO_VTABLE::InterfaceSupportsErrorInfo ( REFIID  riid)
HRESULT STDMETHODCALLTYPE CControlSite::InvalidateRect ( LPCRECT  pRect,
BOOL  fErase 
) [virtual, inherited]

Definition at line 1166 of file ControlSite.cpp.

{
    // Clip the rectangle against the object's size and invalidate it
    RECT rcI = { 0, 0, 0, 0 };
    if (pRect == NULL)
    {
        rcI = m_rcObjectPos;
    }
    else
    {
        IntersectRect(&rcI, &m_rcObjectPos, pRect);
    }
    ::InvalidateRect(m_hWndParent, &rcI, fErase);

    return S_OK;
}

Here is the caller graph for this function:

HRESULT STDMETHODCALLTYPE CControlSite::InvalidateRgn ( HRGN  hRGN,
BOOL  fErase 
) [virtual, inherited]

Definition at line 1183 of file ControlSite.cpp.

{
    if (hRGN == NULL)
    {
        ::InvalidateRect(m_hWndParent, &m_rcObjectPos, fErase);
    }
    else
    {
        // Clip the region with the object's bounding area
        HRGN hrgnClip = CreateRectRgnIndirect(&m_rcObjectPos);
        if (CombineRgn(hrgnClip, hrgnClip, hRGN, RGN_AND) != ERROR)
        {
            ::InvalidateRgn(m_hWndParent, hrgnClip, fErase);
        }
        DeleteObject(hrgnClip);
    }

    return S_OK;
}

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::Invoke ( DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS __RPC_FAR *  pDispParams,
VARIANT __RPC_FAR *  pVarResult,
EXCEPINFO __RPC_FAR *  pExcepInfo,
UINT __RPC_FAR *  puArgErr 
) [virtual]

Reimplemented from CControlSite.

BOOL CControlSite::IsClassMarkedSafeForScripting ( const CLSID &  clsid,
BOOL bClassExists 
) [virtual, inherited]

Implements CControlSiteSecurityPolicy.

Definition at line 664 of file ControlSite.cpp.

{
    if (m_pSecurityPolicy)
        return m_pSecurityPolicy->IsClassMarkedSafeForScripting(clsid, bClassExists);
    return TRUE;
}

Here is the call graph for this function:

BOOL CControlSite::IsClassSafeToHost ( const CLSID &  clsid) [virtual, inherited]

Implements CControlSiteSecurityPolicy.

Definition at line 656 of file ControlSite.cpp.

{
    if (m_pSecurityPolicy)
        return m_pSecurityPolicy->IsClassSafeToHost(clsid);
    return TRUE;
}

Here is the call graph for this function:

HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::IsDirty ( void  )
virtual BOOL CControlSite::IsInPlaceActive ( ) const [inline, virtual, inherited]

Definition at line 286 of file ControlSite.h.

    {
        return m_bInPlaceActive;
    }
BOOL CControlSite::IsObjectSafeForScripting ( IUnknown pObject,
const IID &  iid 
) [virtual, inherited]

Implements CControlSiteSecurityPolicy.

Definition at line 672 of file ControlSite.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL CControlSite::IsObjectSafeForScripting ( const IID &  iid) [virtual, inherited]

Definition at line 679 of file ControlSite.cpp.

Here is the call graph for this function:

virtual BOOL CControlSite::IsObjectValid ( ) const [inline, virtual, inherited]

Definition at line 276 of file ControlSite.h.

    {
        return (m_spObject) ? TRUE : FALSE;
    }
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::item ( VARIANT  var1,
VARIANT  var2,
IDispatch __RPC_FAR *__RPC_FAR *  ppDisp 
) [virtual]
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::Load ( LPSTREAM  pStm)
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::Load ( BOOL  fFullyAvailable,
IMoniker __RPC_FAR *  pimkName,
LPBC  pibc,
DWORD  grfMode 
)
STDMETHOD() ATL_NO_VTABLE::Load ( LPPROPERTYBAG  pPropBag,
LPERRORLOG  pErrorLog 
)
virtual HRESULT ATL_NO_VTABLE::LoadBrowserHelpers ( ) [protected, virtual]
HRESULT STDMETHODCALLTYPE CControlSite::LockInPlaceActive ( BOOL  fLock) [virtual, inherited]

Definition at line 1249 of file ControlSite.cpp.

{
    m_bInPlaceLocked = fLock;
    return S_OK;
}
virtual int ATL_NO_VTABLE::MessageBox ( LPCTSTR  lpszText,
LPCTSTR  lpszCaption = _T(""),
UINT  nType = MB_OK 
) [protected, virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::Navigate ( BSTR  URL,
VARIANT __RPC_FAR *  Flags,
VARIANT __RPC_FAR *  TargetFrameName,
VARIANT __RPC_FAR *  PostData,
VARIANT __RPC_FAR *  Headers 
) [inline, virtual, inherited]

Definition at line 224 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::Navigate()\n"));
        ENSURE_BROWSER_IS_VALID();

        // Extract the URL parameter
        if (URL == NULL)
        {
            NS_ASSERTION(0, "No URL supplied");
            return SetErrorInfo(E_INVALIDARG);
        }

        PRBool openInNewWindow = PR_FALSE;
        PRUint32 loadFlags = nsIWebNavigation::LOAD_FLAGS_NONE;

        // Extract the navigate flags parameter
        LONG lFlags = 0;
        if (Flags &&
            Flags->vt != VT_ERROR &&
            Flags->vt != VT_EMPTY &&
            Flags->vt != VT_NULL)
        {
            CComVariant vFlags;
            if ( vFlags.ChangeType(VT_I4, Flags) != S_OK )
            {
                NS_ASSERTION(0, "Flags param is invalid");
                return SetErrorInfo(E_INVALIDARG);
            }
            lFlags = vFlags.lVal;
        }
        if (lFlags & navOpenInNewWindow) 
        {
            openInNewWindow = PR_TRUE;
        }
        if (lFlags & navNoHistory)
        {
            // Disable history
            loadFlags |= nsIWebNavigation::LOAD_FLAGS_BYPASS_HISTORY;
        }
        if (lFlags & navNoReadFromCache)
        {
            // Disable read from cache
            loadFlags |= nsIWebNavigation::LOAD_FLAGS_BYPASS_CACHE;

        }
        if (lFlags & navNoWriteToCache)
        {
            // Disable write to cache
            loadFlags |= nsIWebNavigation::LOAD_FLAGS_BYPASS_CACHE;
        }

        // Extract the target frame parameter
        nsCOMPtr<nsIWebNavigation> targetNav;
        if (TargetFrameName &&
            TargetFrameName->vt == VT_BSTR &&
            TargetFrameName->bstrVal)
        {
            // Search for the named frame
            nsCOMPtr<nsIDOMWindow> window;
            GetDOMWindow(getter_AddRefs(window));
            if (window)
            {
                nsCOMPtr<nsIWindowWatcher> windowWatcher = do_GetService(NS_WINDOWWATCHER_CONTRACTID);
                if (windowWatcher)
                {
                    nsCOMPtr<nsIDOMWindow> targetWindow;
                    windowWatcher->GetWindowByName(TargetFrameName->bstrVal, window,
                        getter_AddRefs(targetWindow));
                    if (targetWindow)
                    {
                        targetNav = do_GetInterface(targetWindow);
                    }
                }
            }
            // No target nav? Open in new window
            if (!targetNav)
                openInNewWindow = PR_TRUE;
        }

        // Open in new window
        if (openInNewWindow)
        {
            CComQIPtr<IDispatch> spDispNew;
            VARIANT_BOOL bCancel = VARIANT_FALSE;
        
            // Test if the event sink can give us a new window to navigate into
            Fire_NewWindow2(&spDispNew, &bCancel);

            lFlags &= ~(navOpenInNewWindow);
            if ((bCancel == VARIANT_FALSE) && spDispNew)
            {
                CComQIPtr<IWebBrowser2> spOther = spDispNew;
                if (spOther)
                {
                    CComVariant vURL(URL);
                    CComVariant vFlags(lFlags);
                    return spOther->Navigate2(&vURL, &vFlags, TargetFrameName, PostData, Headers);
                }
            }

            // NOTE: The IE control will launch an instance of iexplore.exe and
            //       return an interface to that if the client does not respond to
            //       FireNewWindow2, but the Mozilla control will not. Potentially
            //       it could also open an instance of IE for such occasions.
            //

            // Can't open a new window without client support
            return S_OK;
        }

        // As documented in MSDN:
        //
        //   The post data specified by PostData is passed as a SAFEARRAY
        //   structure. The variant should be of type VT_ARRAY and point to
        //   a SAFEARRAY. The SAFEARRAY should be of element type VT_UI1,
        //   dimension one, and have an element count equal to the number of
        //   bytes of post data.

        // Extract the post data parameter
        nsCOMPtr<nsIInputStream> postDataStream;
        mLastPostData.Clear();
        if (PostData &&
            PostData->vt == (VT_ARRAY | VT_UI1) &&
            PostData->parray)
        {
            mLastPostData.Copy(PostData);
            
            unsigned long nSizeData = PostData->parray->rgsabound[0].cElements;
            if (nSizeData > 0)
            {
                char szCL[64];
                sprintf(szCL, "Content-Length: %lu\r\n\r\n", nSizeData);
                unsigned long nSizeCL = strlen(szCL);
                unsigned long nSize = nSizeCL + nSizeData;

                char *tmp = (char *) nsMemory::Alloc(nSize + 1); // byte stream owns this mem
                if (tmp)
                {

                    // Copy the array data into a buffer
                    SafeArrayLock(PostData->parray);
                    memcpy(tmp, szCL, nSizeCL);
                    memcpy(tmp + nSizeCL, PostData->parray->pvData, nSizeData);
                    tmp[nSize] = '\0';
                    SafeArrayUnlock(PostData->parray);

                    // Create a byte array input stream object.
                    nsCOMPtr<nsIByteArrayInputStream> stream;
                    nsresult rv = NS_NewByteArrayInputStream(
                        getter_AddRefs(stream), tmp, nSize);
                    if (NS_FAILED(rv) || !stream)
                    {
                        NS_ASSERTION(0, "cannot create byte stream");
                        nsMemory::Free(tmp);
                        return SetErrorInfo(E_UNEXPECTED);
                    }

                    postDataStream = stream;
                }
            }
        }

        // Extract the headers parameter
        nsCOMPtr<nsIByteArrayInputStream> headersStream;
        if (Headers &&
            Headers->vt == VT_BSTR &&
            Headers->bstrVal)
        {
            
            USES_CONVERSION;
            char *headers = OLE2A(Headers->bstrVal);
            if (headers)
            {
                size_t nSize = SysStringLen(Headers->bstrVal) + 1;
                char *tmp = (char *) nsMemory::Alloc(nSize); // byteArray stream owns this mem
                if (tmp)
                {
                    // Copy BSTR to buffer
                    WideCharToMultiByte(CP_ACP, 0, Headers->bstrVal, nSize - 1, tmp, nSize, NULL, NULL);
                    tmp[nSize - 1] = '\0';

                    // Create a byte array input stream object which will own the buffer
                    nsCOMPtr<nsIByteArrayInputStream> stream;
                    nsresult rv = 
                        NS_NewByteArrayInputStream(getter_AddRefs(stream), tmp, nSize);
                    if (NS_FAILED(rv) || !stream)
                    {
                        NS_ASSERTION(0, "cannot create byte stream");
                        nsMemory::Free(tmp);
                    }
                    headersStream = do_QueryInterface(stream);
                }
            }
        }

        // Use the specified target or the top level web navigation
        nsCOMPtr<nsIWebNavigation> webNavToUse;
        if (targetNav)
        {
            webNavToUse = targetNav;
        }
        else
        {
            GetWebNavigation(getter_AddRefs(webNavToUse));
        }
    
        // Load the URL    
        nsresult rv = NS_ERROR_FAILURE;
        if (webNavToUse)
        {
            rv = webNavToUse->LoadURI(URL,
                    loadFlags, nsnull, postDataStream, headersStream);
        }

        return NS_SUCCEEDED(rv) ? S_OK : E_FAIL;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::Navigate2 ( VARIANT __RPC_FAR *  URL,
VARIANT __RPC_FAR *  Flags,
VARIANT __RPC_FAR *  TargetFrameName,
VARIANT __RPC_FAR *  PostData,
VARIANT __RPC_FAR *  Headers 
) [inline, virtual, inherited]

Definition at line 978 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::Navigate2()\n"));
        CComVariant vURLAsString;
        if (vURLAsString.ChangeType(VT_BSTR, URL) != S_OK)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        return Navigate(vURLAsString.bstrVal, Flags, TargetFrameName, PostData, Headers);
    }

Here is the call graph for this function:

virtual void ATL_NO_VTABLE::NextDlgControl ( ) [protected, virtual]
void STDMETHODCALLTYPE CControlSite::OnClose ( void  ) [virtual, inherited]

Definition at line 791 of file ControlSite.cpp.

{
}
HRESULT STDMETHODCALLTYPE CControlSite::OnControlInfoChanged ( void  ) [virtual, inherited]

Definition at line 1243 of file ControlSite.cpp.

{
    return S_OK;
}
LRESULT ATL_NO_VTABLE::OnCopy ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnCreate ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnCut ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::OnDataAvailable ( DWORD  grfBSCF,
DWORD  dwSize,
FORMATETC __RPC_FAR *  pformatetc,
STGMEDIUM __RPC_FAR *  pstgmed 
) [virtual]

Reimplemented from CControlSite.

void STDMETHODCALLTYPE CControlSite::OnDataChange ( FORMATETC __RPC_FAR *  pFormatetc,
STGMEDIUM __RPC_FAR *  pStgmed 
) [virtual, inherited]

Definition at line 769 of file ControlSite.cpp.

{
}
HRESULT STDMETHODCALLTYPE CControlSite::OnDefWindowMessage ( UINT  msg,
WPARAM  wParam,
LPARAM  lParam,
LRESULT __RPC_FAR *  plResult 
) [virtual, inherited]

Definition at line 1222 of file ControlSite.cpp.

{
    if (plResult == NULL)
    {
        return E_INVALIDARG;
    }
    
    // Pass the message to the windowless control
    if (m_bWindowless && m_spIOleInPlaceObjectWindowless)
    {
        return m_spIOleInPlaceObjectWindowless->OnWindowMessage(msg, wParam, lParam, plResult);
    }

    return S_FALSE;
}
LRESULT ATL_NO_VTABLE::OnDestroy ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnDocumentBack ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnDocumentForward ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnDocumentPrint ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnDocumentProperties ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnDocumentRefresh ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::OnDocWindowActivate ( BOOL  fActivate) [virtual]
HRESULT ATL_NO_VTABLE::OnDraw ( ATL_DRAWINFO &  di)
virtual HRESULT ATL_NO_VTABLE::OnEditorCommand ( DWORD  nCmdID) [protected, virtual]
HRESULT STDMETHODCALLTYPE CControlSite::OnFocus ( BOOL  fGotFocus) [virtual, inherited]

Definition at line 1338 of file ControlSite.cpp.

{
    return S_OK;
}
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::OnFrameWindowActivate ( BOOL  fActivate) [virtual]
LRESULT ATL_NO_VTABLE::OnGetDlgCode ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL bHandled 
)
HRESULT STDMETHODCALLTYPE CControlSite::OnInPlaceActivate ( void  ) [virtual, inherited]

Definition at line 886 of file ControlSite.cpp.

{
    m_bInPlaceActive = TRUE;
    return S_OK;
}
HRESULT STDMETHODCALLTYPE CControlSite::OnInPlaceActivateEx ( BOOL __RPC_FAR *  pfNoRedraw,
DWORD  dwFlags 
) [virtual, inherited]

Definition at line 968 of file ControlSite.cpp.

{
    m_bInPlaceActive = TRUE;

    if (pfNoRedraw)
    {
        *pfNoRedraw = FALSE;
    }
    if (dwFlags & ACTIVATE_WINDOWLESS)
    {
        if (!m_bSupportWindowlessActivation)
        {
            return E_INVALIDARG;
        }
        m_bWindowless = TRUE;
    }
    return S_OK;
}
HRESULT STDMETHODCALLTYPE CControlSite::OnInPlaceDeactivate ( void  ) [virtual, inherited]

Definition at line 934 of file ControlSite.cpp.

{
    m_bInPlaceActive = FALSE;
    return S_OK;
}
HRESULT STDMETHODCALLTYPE CControlSite::OnInPlaceDeactivateEx ( BOOL  fNoRedraw) [virtual, inherited]

Definition at line 988 of file ControlSite.cpp.

{
    m_bInPlaceActive = FALSE;
    return S_OK;
}
LRESULT ATL_NO_VTABLE::OnKillFocus ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnLinkCopyShortcut ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnLinkOpen ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnLinkOpenInNewWindow ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnLinkProperties ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
void STDMETHODCALLTYPE CControlSite::OnLinkSrcChange ( IMoniker __RPC_FAR *  pmk) [virtual, inherited]

Definition at line 800 of file ControlSite.cpp.

{
}
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::OnLowResource ( DWORD  reserved) [virtual]

Reimplemented from CControlSite.

LRESULT ATL_NO_VTABLE::OnMouseActivate ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL bHandled 
)
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::OnObjectAvailable ( REFIID  riid,
IUnknown __RPC_FAR *  punk 
) [virtual]

Reimplemented from CControlSite.

LRESULT ATL_NO_VTABLE::OnPageSetup ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnPaste ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
HRESULT STDMETHODCALLTYPE CControlSite::OnPosRectChange ( LPCRECT  lprcPosRect) [virtual, inherited]

Definition at line 953 of file ControlSite.cpp.

{
    if (lprcPosRect == NULL)
    {
        return E_INVALIDARG;
    }
    SetPosition(m_rcObjectPos);
    return S_OK;
}

Here is the call graph for this function:

LRESULT ATL_NO_VTABLE::OnPrint ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::OnProgress ( ULONG  ulProgress,
ULONG  ulProgressMax,
ULONG  ulStatusCode,
LPCWSTR  szStatusText 
) [virtual]

Reimplemented from CControlSite.

LRESULT ATL_NO_VTABLE::OnProperties ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
void STDMETHODCALLTYPE CControlSite::OnRename ( IMoniker __RPC_FAR *  pmk) [virtual, inherited]

Definition at line 781 of file ControlSite.cpp.

{
}
void STDMETHODCALLTYPE CControlSite::OnSave ( void  ) [virtual, inherited]

Definition at line 786 of file ControlSite.cpp.

{
}
LRESULT ATL_NO_VTABLE::OnSaveAs ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnSelectAll ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
LRESULT ATL_NO_VTABLE::OnSetFocus ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL bHandled 
)
HRESULT STDMETHODCALLTYPE CControlSite::OnShowWindow ( BOOL  fShow) [virtual, inherited]

Definition at line 864 of file ControlSite.cpp.

{
    return S_OK;
}
LRESULT ATL_NO_VTABLE::OnSize ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL bHandled 
)
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::OnStartBinding ( DWORD  dwReserved,
IBinding __RPC_FAR *  pib 
) [virtual]

Reimplemented from CControlSite.

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::OnStopBinding ( HRESULT  hresult,
LPCWSTR  szError 
) [virtual]

Reimplemented from CControlSite.

HRESULT STDMETHODCALLTYPE CControlSite::OnUIActivate ( void  ) [virtual, inherited]

Definition at line 893 of file ControlSite.cpp.

{
    m_bUIActive = TRUE;
    return S_OK;
}
HRESULT STDMETHODCALLTYPE CControlSite::OnUIDeactivate ( BOOL  fUndoable) [virtual, inherited]

Definition at line 927 of file ControlSite.cpp.

{
    m_bUIActive = FALSE;
    return S_OK;
}
void STDMETHODCALLTYPE CControlSite::OnViewChange ( DWORD  dwAspect,
LONG  lindex 
) [virtual, inherited]

Definition at line 774 of file ControlSite.cpp.

{
    // Redraw the control
    InvalidateRect(NULL, FALSE);
}

Here is the call graph for this function:

LRESULT ATL_NO_VTABLE::OnViewSource ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL bHandled 
)
void STDMETHODCALLTYPE CControlSite::OnViewStatusChange ( DWORD  dwViewStatus) [virtual, inherited]

Definition at line 809 of file ControlSite.cpp.

{
}
static HRESULT ATL_NO_VTABLE::OpenURL ( nsPluginHostCtrl pOwner,
const TCHAR szURL,
void pNotifyData,
const void pData,
unsigned long  nSize 
) [static]
HRESULT ATL_NO_VTABLE::OpenURLStream ( const TCHAR szURL,
void pNotifyData,
const void pPostData,
unsigned long  nDataLength 
)
STDMETHOD() ATL_NO_VTABLE::OutputString ( BSTR  bstrMessage)
virtual void ATL_NO_VTABLE::PrevDlgControl ( ) [protected, virtual]
virtual HRESULT ATL_NO_VTABLE::PrintDocument ( BOOL  promptUser) [protected, virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_AddressBar ( VARIANT_BOOL  Value) [inline, virtual, inherited]

Definition at line 1153 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_AddressBar()\n"));
        ENSURE_BROWSER_IS_VALID();
        //There is no AddressBar in this control.
        return S_OK;
    }
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::put_charset ( BSTR  p)
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_FullScreen ( VARIANT_BOOL  bFullScreen) [inline, virtual, inherited]

Definition at line 969 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_FullScreen()\n"));
        ENSURE_BROWSER_IS_VALID();
        //FullScreen mode doesn't really apply to this control.
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_Height ( long  Height) [inline, virtual, inherited]

Definition at line 650 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_Height()\n"));
        ENSURE_BROWSER_IS_VALID();
        //TODO: Implement put_Height - Should set the height of this control.
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_Left ( long  Left) [inline, virtual, inherited]

Definition at line 592 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_Left()\n"));
        ENSURE_BROWSER_IS_VALID();
        //TODO: Implement put_Left - Should set the left position of this control.
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::put_length ( long  v) [virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_MenuBar ( VARIANT_BOOL  Value) [inline, virtual, inherited]

Definition at line 947 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_MenuBar()\n"));
        ENSURE_BROWSER_IS_VALID();
        //There is no MenuBar in this control.
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_Offline ( VARIANT_BOOL  bOffline) [inline, virtual, inherited]

Definition at line 1061 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_Offline()\n"));
        ENSURE_BROWSER_IS_VALID();
        //TODO: Implement get_Offline
        return S_OK;
    }
STDMETHOD() ATL_NO_VTABLE::put_PluginContentType ( BSTR  newVal)
STDMETHOD() ATL_NO_VTABLE::put_PluginSource ( BSTR  newVal)
STDMETHOD() ATL_NO_VTABLE::put_PluginsPage ( BSTR  newVal)
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_RegisterAsBrowser ( VARIANT_BOOL  bRegister) [inline, virtual, inherited]

Definition at line 1102 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_RegisterAsBrowser()\n"));
        ENSURE_BROWSER_IS_VALID();
        //TODO: Implement put_RegisterAsBrowser
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::put_RegisterAsDropTarget ( VARIANT_BOOL  bRegister) [virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_Resizable ( VARIANT_BOOL  Value) [inline, virtual, inherited]

Definition at line 1173 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_Resizable()\n"));
        ENSURE_BROWSER_IS_VALID();
        //TODO:  Not sure if this should actually be implemented or not.
        return S_OK;
    }
STDMETHOD() ATL_NO_VTABLE::put_Result ( TestResult  newVal)
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_Silent ( VARIANT_BOOL  bSilent) [inline, virtual, inherited]

Definition at line 1081 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_Silent()\n"));
        ENSURE_BROWSER_IS_VALID();
        //Only really applies to the IE app, not a control
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_StatusBar ( VARIANT_BOOL  Value) [inline, virtual, inherited]

Definition at line 877 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_StatusBar()\n"));
        ENSURE_BROWSER_IS_VALID();
        //There is no StatusBar in this control.
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_StatusText ( BSTR  StatusText) [inline, virtual, inherited]

Definition at line 901 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_StatusText()\n"));
        ENSURE_BROWSER_IS_VALID();
        //TODO: Implement put_StatusText
        //NOTE: This function is related to the MS status bar which doesn't exist in this control.  Needs more
        //        investigation, but probably doesn't apply.
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::put_tagName ( BSTR  p) [virtual]
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::put_text ( BSTR  p) [virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_TheaterMode ( VARIANT_BOOL  bRegister) [inline, virtual, inherited]

Definition at line 1133 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_TheaterMode()\n"));
        ENSURE_BROWSER_IS_VALID();
        //There is no TheaterMode in this control.
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_ToolBar ( int  Value) [inline, virtual, inherited]

Definition at line 925 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_ToolBar()\n"));
        ENSURE_BROWSER_IS_VALID();
        //There is no ToolBar in this control.
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_Top ( long  Top) [inline, virtual, inherited]

Definition at line 611 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_Top()\n"));
        ENSURE_BROWSER_IS_VALID();
        //TODO: Implement set_Top - Should set the top position of this control.
        return S_OK;
    }
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::put_URL ( BSTR  p)
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_Visible ( VARIANT_BOOL  Value) [inline, virtual, inherited]

Definition at line 855 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_Visible()\n"));
        ENSURE_BROWSER_IS_VALID();

        //TODO: Implement put_Visible?
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::put_Width ( long  Width) [inline, virtual, inherited]

Definition at line 630 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::put_Width()\n"));
        ENSURE_BROWSER_IS_VALID();
        //TODO: Implement put_Width - Should set the width of this control.
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::PutProperty ( BSTR  Property,
VARIANT  vtValue 
) [inline, virtual, inherited]

Definition at line 749 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::PutProperty()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (Property == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        mPropertyList.AddOrReplaceNamedProperty(Property, vtValue);
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT ATL_NO_VTABLE::PutType ( long  nType) [virtual]
HRESULT STDMETHODCALLTYPE CControlSite::QueryService ( REFGUID  guidService,
REFIID  riid,
void **  ppv 
) [virtual, inherited]

Definition at line 687 of file ControlSite.cpp.

{
    if (m_spServiceProvider)
        return m_spServiceProvider->QueryService(guidService, riid, ppv);
    return E_NOINTERFACE;
}
virtual HRESULT STDMETHODCALLTYPE IOleCommandTargetImpl< CControlSite >::QueryStatus ( const GUID __RPC_FAR *  pguidCmdGroup,
ULONG  cCmds,
OLECMD __RPC_FAR  prgCmds[],
OLECMDTEXT __RPC_FAR *  pCmdText 
) [inline, virtual, inherited]

Definition at line 112 of file IOleCommandTargetImpl.h.

    {
        T* pT = static_cast<T*>(this);
        
        if (prgCmds == NULL)
        {
            return E_INVALIDARG;
        }

        OleCommandInfo *pCommands = pT->GetCommandTable();
        ATLASSERT(pCommands);

        BOOL bCmdGroupFound = FALSE;
        BOOL bTextSet = FALSE;

        // Iterate through list of commands and flag them as supported/unsupported
        for (ULONG nCmd = 0; nCmd < cCmds; nCmd++)
        {
            // Unsupported by default
            prgCmds[nCmd].cmdf = 0;

            // Search the support command list
            for (int nSupported = 0; pCommands[nSupported].pCmdGUID != &GUID_NULL; nSupported++)
            {
                OleCommandInfo *pCI = &pCommands[nSupported];

                if (pguidCmdGroup && pCI->pCmdGUID && memcmp(pguidCmdGroup, pCI->pCmdGUID, sizeof(GUID)) == 0)
                {
                    continue;
                }
                bCmdGroupFound = TRUE;

                if (pCI->nCmdID != prgCmds[nCmd].cmdID)
                {
                    continue;
                }

                // Command is supported so flag it and possibly enable it
                prgCmds[nCmd].cmdf = OLECMDF_SUPPORTED;
                if (pCI->nWindowsCmdID != 0)
                {
                    prgCmds[nCmd].cmdf |= OLECMDF_ENABLED;
                }

                // Copy the status/verb text for the first supported command only
                if (!bTextSet && pCmdText)
                {
                    // See what text the caller wants
                    wchar_t *pszTextToCopy = NULL;
                    if (pCmdText->cmdtextf & OLECMDTEXTF_NAME)
                    {
                        pszTextToCopy = pCI->szVerbText;
                    }
                    else if (pCmdText->cmdtextf & OLECMDTEXTF_STATUS)
                    {
                        pszTextToCopy = pCI->szStatusText;
                    }
                    
                    // Copy the text
                    pCmdText->cwActual = 0;
                    memset(pCmdText->rgwz, 0, pCmdText->cwBuf * sizeof(wchar_t));
                    if (pszTextToCopy)
                    {
                        // Don't exceed the provided buffer size
                        size_t nTextLen = wcslen(pszTextToCopy);
                        if (nTextLen > pCmdText->cwBuf)
                        {
                            nTextLen = pCmdText->cwBuf;
                        }

                        wcsncpy(pCmdText->rgwz, pszTextToCopy, nTextLen);
                        pCmdText->cwActual = nTextLen;
                    }
                    
                    bTextSet = TRUE;
                }
                break;
            }
        }
        
        // Was the command group found?
        if (!bCmdGroupFound)
        {
            OLECMDERR_E_UNKNOWNGROUP;
        }

        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IOleCommandTargetImpl< CMozillaBrowser >::QueryStatus ( const GUID __RPC_FAR *  pguidCmdGroup,
ULONG  cCmds,
OLECMD __RPC_FAR  prgCmds[],
OLECMDTEXT __RPC_FAR *  pCmdText 
) [inline, virtual, inherited]

Definition at line 112 of file IOleCommandTargetImpl.h.

    {
        T* pT = static_cast<T*>(this);
        
        if (prgCmds == NULL)
        {
            return E_INVALIDARG;
        }

        OleCommandInfo *pCommands = pT->GetCommandTable();
        ATLASSERT(pCommands);

        BOOL bCmdGroupFound = FALSE;
        BOOL bTextSet = FALSE;

        // Iterate through list of commands and flag them as supported/unsupported
        for (ULONG nCmd = 0; nCmd < cCmds; nCmd++)
        {
            // Unsupported by default
            prgCmds[nCmd].cmdf = 0;

            // Search the support command list
            for (int nSupported = 0; pCommands[nSupported].pCmdGUID != &GUID_NULL; nSupported++)
            {
                OleCommandInfo *pCI = &pCommands[nSupported];

                if (pguidCmdGroup && pCI->pCmdGUID && memcmp(pguidCmdGroup, pCI->pCmdGUID, sizeof(GUID)) == 0)
                {
                    continue;
                }
                bCmdGroupFound = TRUE;

                if (pCI->nCmdID != prgCmds[nCmd].cmdID)
                {
                    continue;
                }

                // Command is supported so flag it and possibly enable it
                prgCmds[nCmd].cmdf = OLECMDF_SUPPORTED;
                if (pCI->nWindowsCmdID != 0)
                {
                    prgCmds[nCmd].cmdf |= OLECMDF_ENABLED;
                }

                // Copy the status/verb text for the first supported command only
                if (!bTextSet && pCmdText)
                {
                    // See what text the caller wants
                    wchar_t *pszTextToCopy = NULL;
                    if (pCmdText->cmdtextf & OLECMDTEXTF_NAME)
                    {
                        pszTextToCopy = pCI->szVerbText;
                    }
                    else if (pCmdText->cmdtextf & OLECMDTEXTF_STATUS)
                    {
                        pszTextToCopy = pCI->szStatusText;
                    }
                    
                    // Copy the text
                    pCmdText->cwActual = 0;
                    memset(pCmdText->rgwz, 0, pCmdText->cwBuf * sizeof(wchar_t));
                    if (pszTextToCopy)
                    {
                        // Don't exceed the provided buffer size
                        size_t nTextLen = wcslen(pszTextToCopy);
                        if (nTextLen > pCmdText->cwBuf)
                        {
                            nTextLen = pCmdText->cwBuf;
                        }

                        wcsncpy(pCmdText->rgwz, pszTextToCopy, nTextLen);
                        pCmdText->cwActual = nTextLen;
                    }
                    
                    bTextSet = TRUE;
                }
                break;
            }
        }
        
        // Was the command group found?
        if (!bCmdGroupFound)
        {
            OLECMDERR_E_UNKNOWNGROUP;
        }

        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::QueryStatusWB ( OLECMDID  cmdID,
OLECMDF __RPC_FAR *  pcmdf 
) [inline, virtual, inherited]

Definition at line 989 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::QueryStatusWB()\n"));
        ENSURE_BROWSER_IS_VALID();
        if (pcmdf == NULL)
        {
            return SetErrorInfo(E_INVALIDARG);
        }
        // Call through to IOleCommandTarget::QueryStatus
        CComQIPtr<IOleCommandTarget> cmdTarget = this;
        if (cmdTarget)
        {
            OLECMD cmd;
            HRESULT hr;
    
            cmd.cmdID = cmdID;
            cmd.cmdf = 0;
            hr = cmdTarget->QueryStatus(NULL, 1, &cmd, NULL);
            if (SUCCEEDED(hr))
            {
                *pcmdf = (OLECMDF) cmd.cmdf;
            }
            return hr;
        }
        return E_NOTIMPL;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::Quit ( void  ) [inline, virtual, inherited]

Definition at line 729 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::Quit()\n"));
        ENSURE_BROWSER_IS_VALID();

        //This generates an exception in the IE control.
        // TODO fire quit event
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::Refresh ( void  ) [inline, virtual, inherited]

Definition at line 441 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::Refresh()\n"));
        // Reload the page
        CComVariant vRefreshType(REFRESH_NORMAL);
        return Refresh2(&vRefreshType);
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::Refresh2 ( VARIANT __RPC_FAR *  Level) [inline, virtual, inherited]

Definition at line 449 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::Refresh2()\n"));

        ENSURE_BROWSER_IS_VALID();
        ENSURE_GET_WEBNAV();
        if (Level == NULL)
            return E_INVALIDARG;

        // Check the requested refresh type
        OLECMDID_REFRESHFLAG iRefreshLevel = OLECMDIDF_REFRESH_NORMAL;
        CComVariant vLevelAsInt;
        if ( vLevelAsInt.ChangeType(VT_I4, Level) != S_OK )
        {
            NS_ASSERTION(0, "Cannot change refresh type to int");
            return SetErrorInfo(E_UNEXPECTED);
        }
        iRefreshLevel = (OLECMDID_REFRESHFLAG) vLevelAsInt.iVal;

        // Turn the IE refresh type into the nearest NG equivalent
        PRUint32 flags = nsIWebNavigation::LOAD_FLAGS_NONE;
        switch (iRefreshLevel & OLECMDIDF_REFRESH_LEVELMASK)
        {
        case OLECMDIDF_REFRESH_NORMAL:
        case OLECMDIDF_REFRESH_IFEXPIRED:
        case OLECMDIDF_REFRESH_CONTINUE:
        case OLECMDIDF_REFRESH_NO_CACHE:
        case OLECMDIDF_REFRESH_RELOAD:
            flags = nsIWebNavigation::LOAD_FLAGS_NONE;
            break;
        case OLECMDIDF_REFRESH_COMPLETELY:
            flags = nsIWebNavigation::LOAD_FLAGS_BYPASS_CACHE | nsIWebNavigation::LOAD_FLAGS_BYPASS_PROXY;
            break;
        default:
            // No idea what refresh type this is supposed to be
            NS_ASSERTION(0, "Unknown refresh type");
            return SetErrorInfo(E_UNEXPECTED);
        }

        webNav->Reload(flags);

        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT ATL_NO_VTABLE::ReleaseAll ( ) [virtual]
HRESULT STDMETHODCALLTYPE CControlSite::ReleaseDC ( HDC  hDC) [virtual, inherited]

Definition at line 1108 of file ControlSite.cpp.

{
    // Release the DC
    if (hDC == NULL || hDC != m_hDCBuffer)
    {
        return E_INVALIDARG;
    }

    // Test if the DC was offscreen or onscreen
    if ((m_dwBufferFlags & OLEDC_OFFSCREEN) &&
        !(m_dwBufferFlags & OLEDC_NODRAW))
    {
        // BitBlt the buffer into the control's object
        SetViewportOrgEx(m_hDCBuffer, 0, 0, NULL);
        HDC hdc = GetWindowDC(m_hWndParent);

        long cx = m_rcBuffer.right - m_rcBuffer.left;
        long cy = m_rcBuffer.bottom - m_rcBuffer.top;

        BitBlt(hdc, m_rcBuffer.left, m_rcBuffer.top, cx, cy, m_hDCBuffer, 0, 0, SRCCOPY);
        
        ::ReleaseDC(m_hWndParent, hdc);
    }
    else
    {
        // TODO If OLEDC_PAINTBKGND is set draw the DVASPECT_CONTENT of every object above this one
    }

    // Clean up settings ready for next drawing
    if (m_hRgnBuffer)
    {
        SelectClipRgn(m_hDCBuffer, NULL);
        DeleteObject(m_hRgnBuffer);
        m_hRgnBuffer = NULL;
    }
    
    SelectObject(m_hDCBuffer, m_hBMBufferOld);
    if (m_hBMBuffer)
    {
        DeleteObject(m_hBMBuffer);
        m_hBMBuffer = NULL;
    }

    // Delete the DC
    if (m_dwBufferFlags & OLEDC_OFFSCREEN)
    {
        ::DeleteDC(m_hDCBuffer);
    }
    else
    {
        ::ReleaseDC(m_hWndParent, m_hDCBuffer);
    }
    m_hDCBuffer = NULL;

    return S_OK;
}

Here is the caller graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::removeAttribute ( BSTR  strPropertyName) [virtual]
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::removeChild ( IXMLElement __RPC_FAR *  pChildElem) [virtual]
HRESULT STDMETHODCALLTYPE CControlSite::RequestNewObjectLayout ( void  ) [virtual, inherited]

Definition at line 870 of file ControlSite.cpp.

{
    return E_NOTIMPL;
}
HRESULT STDMETHODCALLTYPE CControlSite::RequestUIActivate ( void  ) [virtual, inherited]

Definition at line 995 of file ControlSite.cpp.

{
    return S_FALSE;
}
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::ResizeBorder ( LPCRECT  prcBorder,
IOleInPlaceUIWindow __RPC_FAR *  pUIWindow,
BOOL  fRameWindow 
) [virtual]
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::Save ( LPSTREAM  pStm,
BOOL  fClearDirty 
)
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::Save ( IMoniker __RPC_FAR *  pimkName,
LPBC  pbc,
BOOL  fRemember 
)
HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::SaveCompleted ( IMoniker __RPC_FAR *  pimkName,
LPBC  pibc 
)
HRESULT STDMETHODCALLTYPE CControlSite::SaveObject ( void  ) [virtual, inherited]

Definition at line 834 of file ControlSite.cpp.

{
    return S_OK;
}
HRESULT STDMETHODCALLTYPE CControlSite::Scroll ( SIZE  scrollExtant) [virtual, inherited]

Definition at line 921 of file ControlSite.cpp.

{
    return S_OK;
}
HRESULT STDMETHODCALLTYPE CControlSite::ScrollRect ( INT  dx,
INT  dy,
LPCRECT  pRectScroll,
LPCRECT  pRectClip 
) [virtual, inherited]

Definition at line 1203 of file ControlSite.cpp.

{
    return S_OK;
}
void CControlSite::SetAmbientUserMode ( BOOL  bUser) [virtual, inherited]

Definition at line 636 of file ControlSite.cpp.

{
    bool bNewMode = bUserMode ? true : false;
    if (m_bAmbientUserMode != bNewMode)
    {
        m_bAmbientUserMode = bNewMode;
        FireAmbientPropertyChange(DISPID_AMBIENT_USERMODE);
    }
}

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::setAttribute ( BSTR  strPropertyName,
VARIANT  PropertyValue 
) [virtual]
HRESULT STDMETHODCALLTYPE CControlSite::SetCapture ( BOOL  fCapture) [virtual, inherited]

Definition at line 1019 of file ControlSite.cpp.

{
    // TODO capture the mouse for the object
    return S_FALSE;
}
virtual void CControlSite::SetContainer ( IOleContainer *  pContainer) [inline, virtual, inherited]

Definition at line 251 of file ControlSite.h.

    {
        m_spContainer = pContainer;
    }
void ATL_NO_VTABLE::SetContentType ( const char *  szContentType) [inline, protected]

Definition at line 164 of file nsURLDataCallback.h.

    {
        if (m_szContentType) { free(m_szContentType); m_szContentType = NULL; }
        if (szContentType) { m_szContentType = strdup(szContentType); }
    }
virtual HRESULT ATL_NO_VTABLE::SetEditorMode ( BOOL  bEnabled) [protected, virtual]
virtual HRESULT IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::SetErrorInfo ( HRESULT  hr,
LPCOLESTR  lpszDesc = NULL 
) [inline, virtual, inherited]

Definition at line 118 of file IWebBrowserImpl.h.

    {
        if (lpszDesc == NULL)
        {
            // Fill in a few generic descriptions
            switch (hr)
            {
            case E_UNEXPECTED:
                lpszDesc = L"Method was called while control was uninitialized";
                break;
            case E_INVALIDARG:
                lpszDesc = L"Method was called with an invalid parameter";
                break;
            }
        }
        AtlSetErrorInfo(*pclsid, lpszDesc, 0, NULL, GUID_NULL, hr, NULL);
        return hr;
    }
HRESULT STDMETHODCALLTYPE CControlSite::SetFocus ( BOOL  fFocus) [virtual, inherited]

Definition at line 1032 of file ControlSite.cpp.

{
    return S_OK;
}
void ATL_NO_VTABLE::SetNotifyData ( void pNotifyData) [inline, protected]

Definition at line 171 of file nsURLDataCallback.h.

{ m_pNotifyData = pNotifyData; }
void ATL_NO_VTABLE::SetOwner ( nsPluginHostCtrl pOwner) [inline, protected]

Definition at line 170 of file nsURLDataCallback.h.

{ m_pOwner = pOwner; }
virtual HRESULT ATL_NO_VTABLE::SetParent ( IXMLElement *  pParent) [virtual]
HRESULT CControlSite::SetPosition ( const RECT &  rcPos) [virtual, inherited]

Definition at line 611 of file ControlSite.cpp.

Here is the caller graph for this function:

void ATL_NO_VTABLE::SetPostData ( const void pData,
unsigned long  nSize 
) [protected]
virtual void CControlSite::SetSecurityPolicy ( CControlSiteSecurityPolicy pSecurityPolicy) [inline, virtual, inherited]

Definition at line 257 of file ControlSite.h.

    {
        m_pSecurityPolicy = pSecurityPolicy;
    }
virtual void CControlSite::SetServiceProvider ( IServiceProvider *  pSP) [inline, virtual, inherited]

Definition at line 247 of file ControlSite.h.

    {
        m_spServiceProvider = pSP;
    }
virtual HRESULT ATL_NO_VTABLE::SetStartupErrorMessage ( UINT  nStringID) [protected, virtual]
void ATL_NO_VTABLE::SetURL ( const char *  szURL) [inline, protected]

Definition at line 159 of file nsURLDataCallback.h.

    {
        if (m_szURL) { free(m_szURL); m_szURL = NULL; }
        if (szURL) { m_szURL = strdup(szURL); }
    }
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::ShowBrowserBar ( VARIANT __RPC_FAR *  pvaClsid,
VARIANT __RPC_FAR *  pvarShow,
VARIANT __RPC_FAR *  pvarSize 
) [inline, virtual, inherited]

Definition at line 1029 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::ShowBrowserBar()\n"));
        ENSURE_BROWSER_IS_VALID();
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::ShowContextMenu ( DWORD  dwID,
POINT __RPC_FAR *  ppt,
IUnknown __RPC_FAR *  pcmdtReserved,
IDispatch __RPC_FAR *  pdispReserved 
) [virtual]
virtual void ATL_NO_VTABLE::ShowContextMenu ( PRUint32  aContextFlags,
nsIDOMEvent aEvent,
nsIDOMNode aNode 
) [protected, virtual]
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::ShowHelp ( HWND  hwnd,
LPOLESTR  pszHelpFile,
UINT  uCommand,
DWORD  dwData,
POINT  ptMouse,
IDispatch __RPC_FAR *  pDispatchObjectHit 
) [virtual]
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::ShowMessage ( HWND  hwnd,
LPOLESTR  lpstrText,
LPOLESTR  lpstrCaption,
DWORD  dwType,
LPOLESTR  lpstrHelpFile,
DWORD  dwHelpContext,
LRESULT __RPC_FAR *  plResult 
) [virtual]
HRESULT STDMETHODCALLTYPE CControlSite::ShowObject ( void  ) [virtual, inherited]

Definition at line 858 of file ControlSite.cpp.

{
    return S_OK;
}
HRESULT STDMETHODCALLTYPE CControlSite::ShowPropertyFrame ( void  ) [virtual, inherited]

Definition at line 1344 of file ControlSite.cpp.

{
    return E_NOTIMPL;
}
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::ShowUI ( DWORD  dwID,
IOleInPlaceActiveObject __RPC_FAR *  pActiveObject,
IOleCommandTarget __RPC_FAR *  pCommandTarget,
IOleInPlaceFrame __RPC_FAR *  pFrame,
IOleInPlaceUIWindow __RPC_FAR *  pDoc 
) [virtual]
virtual void ATL_NO_VTABLE::ShowURIPropertyDlg ( const nsAString &  aURI,
const nsAString &  aContentType 
) [protected, virtual]
virtual HRESULT STDMETHODCALLTYPE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::Stop ( void  ) [inline, virtual, inherited]

Definition at line 492 of file IWebBrowserImpl.h.

    {
        ATLTRACE(_T("IWebBrowserImpl::Stop()\n"));
        ENSURE_BROWSER_IS_VALID();
        ENSURE_GET_WEBNAV();
        webNav->Stop(nsIWebNavigation::STOP_ALL);
        return S_OK;
    }
static void __cdecl ATL_NO_VTABLE::StreamThread ( void pThis) [static, protected]
virtual HRESULT ATL_NO_VTABLE::Terminate ( ) [protected, virtual]
HRESULT STDMETHODCALLTYPE CControlSite::TransformCoords ( POINTL __RPC_FAR *  pPtlHimetric,
POINTF __RPC_FAR *  pPtfContainer,
DWORD  dwFlags 
) [virtual, inherited]

Definition at line 1262 of file ControlSite.cpp.

{
    HRESULT hr = S_OK;

    if (pPtlHimetric == NULL)
    {
        return E_INVALIDARG;
    }
    if (pPtfContainer == NULL)
    {
        return E_INVALIDARG;
    }

    HDC hdc = ::GetDC(m_hWndParent);
    ::SetMapMode(hdc, MM_HIMETRIC);
    POINT rgptConvert[2];
    rgptConvert[0].x = 0;
    rgptConvert[0].y = 0;

    if (dwFlags & XFORMCOORDS_HIMETRICTOCONTAINER)
    {
        rgptConvert[1].x = pPtlHimetric->x;
        rgptConvert[1].y = pPtlHimetric->y;
        ::LPtoDP(hdc, rgptConvert, 2);
        if (dwFlags & XFORMCOORDS_SIZE)
        {
            pPtfContainer->x = (float)(rgptConvert[1].x - rgptConvert[0].x);
            pPtfContainer->y = (float)(rgptConvert[0].y - rgptConvert[1].y);
        }
        else if (dwFlags & XFORMCOORDS_POSITION)
        {
            pPtfContainer->x = (float)rgptConvert[1].x;
            pPtfContainer->y = (float)rgptConvert[1].y;
        }
        else
        {
            hr = E_INVALIDARG;
        }
    }
    else if (dwFlags & XFORMCOORDS_CONTAINERTOHIMETRIC)
    {
        rgptConvert[1].x = (int)(pPtfContainer->x);
        rgptConvert[1].y = (int)(pPtfContainer->y);
        ::DPtoLP(hdc, rgptConvert, 2);
        if (dwFlags & XFORMCOORDS_SIZE)
        {
            pPtlHimetric->x = rgptConvert[1].x - rgptConvert[0].x;
            pPtlHimetric->y = rgptConvert[0].y - rgptConvert[1].y;
        }
        else if (dwFlags & XFORMCOORDS_POSITION)
        {
            pPtlHimetric->x = rgptConvert[1].x;
            pPtlHimetric->y = rgptConvert[1].y;
        }
        else
        {
            hr = E_INVALIDARG;
        }
    }
    else
    {
        hr = E_INVALIDARG;
    }

    ::ReleaseDC(m_hWndParent, hdc);

    return hr;
}

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::TranslateAccelerator ( LPMSG  lpMsg,
const GUID __RPC_FAR *  pguidCmdGroup,
DWORD  nCmdID 
) [virtual]
HRESULT STDMETHODCALLTYPE CControlSite::TranslateAccelerator ( MSG __RPC_FAR *  pMsg,
DWORD  grfModifiers 
) [virtual, inherited]

Definition at line 1332 of file ControlSite.cpp.

{
    return E_NOTIMPL;
}
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::TranslateUrl ( DWORD  dwTranslate,
OLECHAR __RPC_FAR *  pchURLIn,
OLECHAR __RPC_FAR *__RPC_FAR *  ppchURLOut 
) [virtual]
HRESULT CControlSite::Unadvise ( const IID &  iid,
DWORD  dwCookie 
) [virtual, inherited]

Definition at line 559 of file ControlSite.cpp.

{
    if (m_spObject == NULL)
    {
        return E_UNEXPECTED;
    }

    return AtlUnadvise(m_spObject, iid, dwCookie);
}
virtual HRESULT ATL_NO_VTABLE::UnloadBrowserHelpers ( ) [protected, virtual]
virtual HRESULT STDMETHODCALLTYPE ATL_NO_VTABLE::UpdateUI ( void  ) [virtual]

Member Data Documentation

Definition at line 99 of file MozillaBrowser.h.

Definition at line 98 of file MozillaBrowser.h.

Definition at line 321 of file nsPluginHostCtrl.h.

bool CControlSite::m_bAmbientAppearance [protected, inherited]

Definition at line 200 of file ControlSite.h.

Definition at line 196 of file ControlSite.h.

Definition at line 194 of file ControlSite.h.

bool CControlSite::m_bAmbientUserMode [protected, inherited]

Definition at line 198 of file ControlSite.h.

unsigned CControlSite::m_bBindingInProgress [protected, inherited]

Definition at line 168 of file ControlSite.h.

Definition at line 332 of file nsPluginHostCtrl.h.

unsigned CControlSite::m_bInPlaceActive [inherited]

Definition at line 129 of file ControlSite.h.

unsigned CControlSite::m_bInPlaceLocked [inherited]

Definition at line 133 of file ControlSite.h.

Definition at line 153 of file nsURLDataCallback.h.

Definition at line 331 of file nsPluginHostCtrl.h.

Definition at line 139 of file ControlSite.h.

Definition at line 152 of file nsURLDataCallback.h.

Definition at line 125 of file ControlSite.h.

CComBSTR ATL_NO_VTABLE::m_bstrContentType [protected]

Definition at line 286 of file nsPluginHostCtrl.h.

CComBSTR ATL_NO_VTABLE::m_bstrPluginsPage [protected]

Definition at line 288 of file nsPluginHostCtrl.h.

CComBSTR ATL_NO_VTABLE::m_bstrSource [protected]

Definition at line 287 of file nsPluginHostCtrl.h.

Definition at line 283 of file nsPluginHostCtrl.h.

Definition at line 135 of file ControlSite.h.

unsigned CControlSite::m_bUIActive [inherited]

Definition at line 131 of file ControlSite.h.

Definition at line 29 of file CBrowserCtlSite.h.

Definition at line 28 of file CBrowserCtlSite.h.

unsigned CControlSite::m_bVisibleAtRuntime [inherited]

Definition at line 127 of file ControlSite.h.

unsigned CControlSite::m_bWindowless [inherited]

Definition at line 137 of file ControlSite.h.

Definition at line 33 of file XMLElement.h.

Definition at line 25 of file XMLElement.h.

Definition at line 16 of file XMLElementCollection.h.

Definition at line 192 of file ControlSite.h.

Definition at line 190 of file ControlSite.h.

CLSID CControlSite::m_CLSID [protected, inherited]

Definition at line 160 of file ControlSite.h.

CComPtr<IBinding> ATL_NO_VTABLE::m_cpBinding [protected]

Definition at line 157 of file nsURLDataCallback.h.

DWORD CControlSite::m_dwBufferFlags [protected, inherited]

Definition at line 184 of file ControlSite.h.

HBITMAP CControlSite::m_hBMBuffer [protected, inherited]

Definition at line 176 of file ControlSite.h.

HBITMAP CControlSite::m_hBMBufferOld [protected, inherited]

Definition at line 178 of file ControlSite.h.

HDC CControlSite::m_hDCBuffer [protected, inherited]

Definition at line 180 of file ControlSite.h.

Definition at line 143 of file nsURLDataCallback.h.

HRESULT CControlSite::m_hrBindResult [protected, inherited]

Definition at line 170 of file ControlSite.h.

HRGN CControlSite::m_hRgnBuffer [protected, inherited]

Definition at line 182 of file ControlSite.h.

Definition at line 121 of file ControlSite.h.

Definition at line 315 of file nsPluginHostCtrl.h.

LCID CControlSite::m_nAmbientLocale [protected, inherited]

Definition at line 188 of file ControlSite.h.

unsigned long ATL_NO_VTABLE::m_nArgs [protected]

Definition at line 301 of file nsPluginHostCtrl.h.

unsigned long ATL_NO_VTABLE::m_nArgsMax [protected]

Definition at line 302 of file nsPluginHostCtrl.h.

unsigned long ATL_NO_VTABLE::m_nDataMax [protected]

Definition at line 147 of file nsURLDataCallback.h.

unsigned long ATL_NO_VTABLE::m_nDataPos [protected]

Definition at line 146 of file nsURLDataCallback.h.

Definition at line 330 of file nsPluginHostCtrl.h.

Definition at line 336 of file nsPluginHostCtrl.h.

Definition at line 145 of file nsURLDataCallback.h.

Definition at line 319 of file nsPluginHostCtrl.h.

Definition at line 35 of file XMLDocument.h.

Definition at line 31 of file XMLElement.h.

Definition at line 162 of file ControlSite.h.

Definition at line 22 of file ControlEventSink.h.

Definition at line 21 of file TestScriptHelper.h.

Definition at line 317 of file nsPluginHostCtrl.h.

Definition at line 298 of file nsPluginHostCtrl.h.

Definition at line 142 of file nsURLDataCallback.h.

Definition at line 141 of file nsURLDataCallback.h.

IXMLElement* ATL_NO_VTABLE::m_pParent [private]

Definition at line 23 of file XMLElement.h.

Definition at line 164 of file ControlSite.h.

char** ATL_NO_VTABLE::m_pszArgNames [protected]

Definition at line 303 of file nsPluginHostCtrl.h.

char** ATL_NO_VTABLE::m_pszArgValues [protected]

Definition at line 304 of file nsPluginHostCtrl.h.

Definition at line 154 of file nsURLDataCallback.h.

RECT CControlSite::m_rcBuffer [protected, inherited]

Definition at line 174 of file ControlSite.h.

RECT CControlSite::m_rcObjectPos [inherited]

Definition at line 123 of file ControlSite.h.

CComPtr<IOleContainer> CControlSite::m_spContainer [inherited]

Definition at line 143 of file ControlSite.h.

CComQIPtr<IOleInPlaceObject, &IID_IOleInPlaceObject> CControlSite::m_spIOleInPlaceObject [protected, inherited]

Definition at line 156 of file ControlSite.h.

CComQIPtr<IOleInPlaceObjectWindowless, &IID_IOleInPlaceObjectWindowless> CControlSite::m_spIOleInPlaceObjectWindowless [protected, inherited]

Definition at line 158 of file ControlSite.h.

CComQIPtr<IOleObject, &IID_IOleObject> CControlSite::m_spIOleObject [protected, inherited]

Definition at line 154 of file ControlSite.h.

CComQIPtr<IViewObject, &IID_IViewObject> CControlSite::m_spIViewObject [protected, inherited]

Definition at line 152 of file ControlSite.h.

CComPtr<IUnknown> CControlSite::m_spObject [protected, inherited]

Definition at line 150 of file ControlSite.h.

CComQIPtr<IXMLElement, &IID_IXMLElement> ATL_NO_VTABLE::m_spRoot

Definition at line 37 of file XMLDocument.h.

CComPtr<IServiceProvider> CControlSite::m_spServiceProvider [inherited]

Definition at line 141 of file ControlSite.h.

char* ATL_NO_VTABLE::m_szContentType [protected]

Definition at line 149 of file nsURLDataCallback.h.

Definition at line 27 of file XMLElement.h.

Definition at line 155 of file nsURLDataCallback.h.

Definition at line 29 of file XMLElement.h.

Definition at line 36 of file XMLDocument.h.

char* ATL_NO_VTABLE::m_szURL [protected]

Definition at line 150 of file nsURLDataCallback.h.

Definition at line 333 of file nsPluginHostCtrl.h.

Definition at line 390 of file MozillaBrowser.h.

Definition at line 391 of file MozillaBrowser.h.

READYSTATE IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::mBrowserReadyState [inherited]

Definition at line 106 of file IWebBrowserImpl.h.

PRBool IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::mBusyFlag [inherited]

Definition at line 108 of file IWebBrowserImpl.h.

Definition at line 373 of file MozillaBrowser.h.

Definition at line 376 of file MozillaBrowser.h.

Definition at line 372 of file MozillaBrowser.h.

Definition at line 384 of file MozillaBrowser.h.

Definition at line 386 of file MozillaBrowser.h.

Definition at line 367 of file MozillaBrowser.h.

CComVariant IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::mLastPostData [inherited]

Definition at line 104 of file IWebBrowserImpl.h.

Definition at line 379 of file MozillaBrowser.h.

Definition at line 362 of file MozillaBrowser.h.

PropertyList IWebBrowserImpl< CMozillaBrowser , pclsid, plibid >::mPropertyList [inherited]

Definition at line 110 of file IWebBrowserImpl.h.

Definition at line 388 of file MozillaBrowser.h.

Definition at line 382 of file MozillaBrowser.h.

Definition at line 370 of file MozillaBrowser.h.

Definition at line 371 of file MozillaBrowser.h.

Definition at line 365 of file MozillaBrowser.h.

Definition at line 192 of file MozillaBrowser.h.

Definition at line 192 of file MozillaBrowser.h.

Definition at line 192 of file MozillaBrowser.h.

Definition at line 192 of file MozillaBrowser.h.

Definition at line 192 of file MozillaBrowser.h.

Definition at line 359 of file MozillaBrowser.h.


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