Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
IEDocument Class Reference
Inheritance diagram for IEDocument:
Inheritance graph
[legend]
Collaboration diagram for IEDocument:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IEDocument ()
HRESULT Init (PluginInstanceData *pData)
virtual ~IEDocument ()
virtual HRESULT STDMETHODCALLTYPE QueryService (REFGUID guidService, REFIID riid, void **ppvObject)
virtual HRESULT STDMETHODCALLTYPE get_Script (IDispatch **p)
virtual HRESULT STDMETHODCALLTYPE get_all (IHTMLElementCollection **p)
virtual HRESULT STDMETHODCALLTYPE get_body (IHTMLElement **p)
virtual HRESULT STDMETHODCALLTYPE get_activeElement (IHTMLElement **p)
virtual HRESULT STDMETHODCALLTYPE get_images (IHTMLElementCollection **p)
virtual HRESULT STDMETHODCALLTYPE get_applets (IHTMLElementCollection **p)
virtual HRESULT STDMETHODCALLTYPE get_links (IHTMLElementCollection **p)
virtual HRESULT STDMETHODCALLTYPE get_forms (IHTMLElementCollection **p)
virtual HRESULT STDMETHODCALLTYPE get_anchors (IHTMLElementCollection **p)
virtual HRESULT STDMETHODCALLTYPE put_title (BSTR v)
virtual HRESULT STDMETHODCALLTYPE get_title (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE get_scripts (IHTMLElementCollection **p)
virtual HRESULT STDMETHODCALLTYPE put_designMode (BSTR v)
virtual HRESULT STDMETHODCALLTYPE get_designMode (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE get_selection (IHTMLSelectionObject **p)
virtual HRESULT STDMETHODCALLTYPE get_readyState (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE get_frames (IHTMLFramesCollection2 **p)
virtual HRESULT STDMETHODCALLTYPE get_embeds (IHTMLElementCollection **p)
virtual HRESULT STDMETHODCALLTYPE get_plugins (IHTMLElementCollection **p)
virtual HRESULT STDMETHODCALLTYPE put_alinkColor (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_alinkColor (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_bgColor (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_bgColor (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_fgColor (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_fgColor (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_linkColor (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_linkColor (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_vlinkColor (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_vlinkColor (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE get_referrer (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE get_location (IHTMLLocation **p)
virtual HRESULT STDMETHODCALLTYPE get_lastModified (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE put_URL (BSTR v)
virtual HRESULT STDMETHODCALLTYPE get_URL (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE put_domain (BSTR v)
virtual HRESULT STDMETHODCALLTYPE get_domain (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE put_cookie (BSTR v)
virtual HRESULT STDMETHODCALLTYPE get_cookie (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE put_expando (VARIANT_BOOL v)
virtual HRESULT STDMETHODCALLTYPE get_expando (VARIANT_BOOL *p)
virtual HRESULT STDMETHODCALLTYPE put_charset (BSTR v)
virtual HRESULT STDMETHODCALLTYPE get_charset (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE put_defaultCharset (BSTR v)
virtual HRESULT STDMETHODCALLTYPE get_defaultCharset (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE get_mimeType (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE get_fileSize (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE get_fileCreatedDate (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE get_fileModifiedDate (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE get_fileUpdatedDate (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE get_security (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE get_protocol (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE get_nameProp (BSTR *p)
virtual HRESULT STDMETHODCALLTYPE write (SAFEARRAY *psarray)
virtual HRESULT STDMETHODCALLTYPE writeln (SAFEARRAY *psarray)
virtual HRESULT STDMETHODCALLTYPE open (BSTR url, VARIANT name, VARIANT features, VARIANT replace, IDispatch **pomWindowResult)
virtual HRESULT STDMETHODCALLTYPE close (void)
virtual HRESULT STDMETHODCALLTYPE clear (void)
virtual HRESULT STDMETHODCALLTYPE queryCommandSupported (BSTR cmdID, VARIANT_BOOL *pfRet)
virtual HRESULT STDMETHODCALLTYPE queryCommandEnabled (BSTR cmdID, VARIANT_BOOL *pfRet)
virtual HRESULT STDMETHODCALLTYPE queryCommandState (BSTR cmdID, VARIANT_BOOL *pfRet)
virtual HRESULT STDMETHODCALLTYPE queryCommandIndeterm (BSTR cmdID, VARIANT_BOOL *pfRet)
virtual HRESULT STDMETHODCALLTYPE queryCommandText (BSTR cmdID, BSTR *pcmdText)
virtual HRESULT STDMETHODCALLTYPE queryCommandValue (BSTR cmdID, VARIANT *pcmdValue)
virtual HRESULT STDMETHODCALLTYPE execCommand (BSTR cmdID, VARIANT_BOOL showUI, VARIANT value, VARIANT_BOOL *pfRet)
virtual HRESULT STDMETHODCALLTYPE execCommandShowHelp (BSTR cmdID, VARIANT_BOOL *pfRet)
virtual HRESULT STDMETHODCALLTYPE createElement (BSTR eTag, IHTMLElement **newElem)
virtual HRESULT STDMETHODCALLTYPE put_onhelp (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onhelp (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onclick (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onclick (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_ondblclick (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_ondblclick (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onkeyup (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onkeyup (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onkeydown (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onkeydown (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onkeypress (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onkeypress (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onmouseup (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onmouseup (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onmousedown (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onmousedown (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onmousemove (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onmousemove (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onmouseout (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onmouseout (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onmouseover (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onmouseover (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onreadystatechange (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onafterupdate (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onafterupdate (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onrowexit (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onrowexit (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onrowenter (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onrowenter (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_ondragstart (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_ondragstart (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onselectstart (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onselectstart (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE elementFromPoint (long x, long y, IHTMLElement **elementHit)
virtual HRESULT STDMETHODCALLTYPE get_parentWindow (IHTMLWindow2 **p)
virtual HRESULT STDMETHODCALLTYPE get_styleSheets (IHTMLStyleSheetsCollection **p)
virtual HRESULT STDMETHODCALLTYPE put_onbeforeupdate (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onbeforeupdate (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE put_onerrorupdate (VARIANT v)
virtual HRESULT STDMETHODCALLTYPE get_onerrorupdate (VARIANT *p)
virtual HRESULT STDMETHODCALLTYPE toString (BSTR *String)
virtual HRESULT STDMETHODCALLTYPE createStyleSheet (BSTR bstrHref, long lIndex, IHTMLStyleSheet **ppnewStyleSheet)
virtual HRESULT STDMETHODCALLTYPE ParseDisplayName (IBindCtx *pbc, LPOLESTR pszDisplayName, ULONG *pchEaten, IMoniker **ppmkOut)
virtual HRESULT STDMETHODCALLTYPE EnumObjects (DWORD grfFlags, IEnumUnknown **ppenum)
virtual HRESULT STDMETHODCALLTYPE LockContainer (BOOL fLock)
virtual HRESULT STDMETHODCALLTYPE SetBrowseContext (IHlinkBrowseContext *pihlbc)
virtual HRESULT STDMETHODCALLTYPE GetBrowseContext (IHlinkBrowseContext **ppihlbc)
virtual HRESULT STDMETHODCALLTYPE Navigate (DWORD grfHLNF, LPBC pbc, IBindStatusCallback *pibsc, IHlink *pihlNavigate)
virtual HRESULT STDMETHODCALLTYPE OnNavigate (DWORD grfHLNF, IMoniker *pimkTarget, LPCWSTR pwzLocation, LPCWSTR pwzFriendlyName, DWORD dwreserved)
virtual HRESULT STDMETHODCALLTYPE UpdateHlink (ULONG uHLID, IMoniker *pimkTarget, LPCWSTR pwzLocation, LPCWSTR pwzFriendlyName)
virtual HRESULT STDMETHODCALLTYPE CreateMoniker (LPOLESTR szName, IBindCtx *pBC, IMoniker **ppmk, DWORD dwReserved)
virtual HRESULT STDMETHODCALLTYPE MonikerBindToStorage (IMoniker *pMk, IBindCtx *pBC, IBindStatusCallback *pBSC, REFIID riid, void **ppvObj)
virtual HRESULT STDMETHODCALLTYPE MonikerBindToObject (IMoniker *pMk, IBindCtx *pBC, IBindStatusCallback *pBSC, REFIID riid, void **ppvObj)
virtual HRESULT STDMETHODCALLTYPE SetFrameName (LPCWSTR pszFrameName)
virtual HRESULT STDMETHODCALLTYPE GetFrameName (LPWSTR *ppszFrameName)
virtual HRESULT STDMETHODCALLTYPE GetParentFrame (IUnknown **ppunkParent)
virtual HRESULT STDMETHODCALLTYPE FindFrame (LPCWSTR pszTargetName, IUnknown *ppunkContextFrame, DWORD dwFlags, IUnknown **ppunkTargetFrame)
virtual HRESULT STDMETHODCALLTYPE SetFrameSrc (LPCWSTR pszFrameSrc)
virtual HRESULT STDMETHODCALLTYPE GetFrameSrc (LPWSTR *ppszFrameSrc)
virtual HRESULT STDMETHODCALLTYPE GetFramesContainer (IOleContainer **ppContainer)
virtual HRESULT STDMETHODCALLTYPE SetFrameOptions (DWORD dwFlags)
virtual HRESULT STDMETHODCALLTYPE GetFrameOptions (DWORD *pdwFlags)
virtual HRESULT STDMETHODCALLTYPE SetFrameMargins (DWORD dwWidth, DWORD dwHeight)
virtual HRESULT STDMETHODCALLTYPE GetFrameMargins (DWORD *pdwWidth, DWORD *pdwHeight)
virtual HRESULT STDMETHODCALLTYPE RemoteNavigate (ULONG cLength, ULONG *pulData)
virtual HRESULT STDMETHODCALLTYPE OnChildFrameActivate (IUnknown *pUnkChildFrame)
virtual HRESULT STDMETHODCALLTYPE OnChildFrameDeactivate (IUnknown *pUnkChildFrame)

Public Attributes

PluginInstanceDatamData
nsCOMPtr< nsIDOMWindowmDOMWindow
nsCOMPtr< nsIDOMDocumentmDOMDocument
nsCOMPtr< nsIDOMElementmDOMElement
CComObject< IEWindow > * mWindow
CComObject< IEBrowser > * mBrowser
CComBSTR mURL
BSTR mUseTarget

Detailed Description

Definition at line 915 of file XPCDocument.cpp.


Constructor & Destructor Documentation

IEDocument::IEDocument ( ) [inline]

Definition at line 935 of file XPCDocument.cpp.

Here is the call graph for this function:

virtual IEDocument::~IEDocument ( ) [inline, virtual]

Definition at line 997 of file XPCDocument.cpp.

    {
        if (mUseTarget)
        {
            SysFreeString(mUseTarget);
        }
        if (mBrowser)
        {
            mBrowser->Release();
        }
        if (mWindow)
        {
            mWindow->Release();
        }
        MozAxPlugin::Release();
    }

Member Function Documentation

virtual HRESULT STDMETHODCALLTYPE IEDocument::clear ( void  ) [inline, virtual]

Definition at line 1439 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::close ( void  ) [inline, virtual]

Definition at line 1434 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }

Here is the caller graph for this function:

virtual HRESULT STDMETHODCALLTYPE IEDocument::createElement ( BSTR  eTag,
IHTMLElement **  newElem 
) [inline, virtual]

Definition at line 1502 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::CreateMoniker ( LPOLESTR  szName,
IBindCtx *  pBC,
IMoniker **  ppmk,
DWORD  dwReserved 
) [inline, virtual]

Definition at line 1893 of file XPCDocument.cpp.

    {
        if (!szName || !ppmk) return E_POINTER;
        if (!*szName) return E_INVALIDARG;

        *ppmk = NULL;

        // Get the BASE url
        CComPtr<IMoniker> baseURLMoniker;
        nsCOMPtr<nsIDocument> doc(do_QueryInterface(mDOMDocument));
        if (doc)
        {
            nsIURI *baseURI = doc->GetBaseURI();
            nsCAutoString spec;
            if (baseURI &&
                NS_SUCCEEDED(baseURI->GetSpec(spec)))
            {
                USES_CONVERSION;
                if (FAILED(CreateURLMoniker(NULL, T2CW(spec.get()), &baseURLMoniker)))
                    return E_UNEXPECTED;
            }
        }

        // Make the moniker
        HRESULT hr = CreateURLMoniker(baseURLMoniker, szName, ppmk);
        if (SUCCEEDED(hr) && !*ppmk)
            hr = E_FAIL;
        return hr;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IEDocument::createStyleSheet ( BSTR  bstrHref,
long  lIndex,
IHTMLStyleSheet **  ppnewStyleSheet 
) [inline, virtual]

Definition at line 1763 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::elementFromPoint ( long  x,
long  y,
IHTMLElement **  elementHit 
) [inline, virtual]

Definition at line 1713 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::EnumObjects ( DWORD  grfFlags,
IEnumUnknown **  ppenum 
) [inline, virtual]

Definition at line 1782 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::execCommand ( BSTR  cmdID,
VARIANT_BOOL  showUI,
VARIANT  value,
VARIANT_BOOL *  pfRet 
) [inline, virtual]

Definition at line 1486 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::execCommandShowHelp ( BSTR  cmdID,
VARIANT_BOOL *  pfRet 
) [inline, virtual]

Definition at line 1495 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::FindFrame ( LPCWSTR  pszTargetName,
IUnknown ppunkContextFrame,
DWORD  dwFlags,
IUnknown **  ppunkTargetFrame 
) [inline, virtual]

Definition at line 1995 of file XPCDocument.cpp.

    {
        if (dwFlags & 0x1) // TODO test if the named frame exists and presumably return NULL if it doesn't
        {
        }

        if (mUseTarget)
        {
            SysFreeString(mUseTarget);
            mUseTarget = NULL;
        }
        if (pszTargetName)
        {
            mUseTarget = SysAllocString(pszTargetName);
        }

        QueryInterface(__uuidof(IUnknown), (void **) ppunkTargetFrame);
        return S_OK;;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_activeElement ( IHTMLElement **  p) [inline, virtual]

Definition at line 1115 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_alinkColor ( VARIANT *  p) [inline, virtual]

Definition at line 1217 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_all ( IHTMLElementCollection **  p) [inline, virtual]

Definition at line 1082 of file XPCDocument.cpp.

    {
        // Validate parameters
        if (p == NULL)
        {
            return E_INVALIDARG;
        }

        *p = NULL;

        // Create a collection object
        CIEHtmlElementCollectionInstance *pCollection = NULL;
        CIEHtmlElementCollectionInstance::CreateInstance(&pCollection);
        if (pCollection == NULL)
        {
            return E_OUTOFMEMORY;
        }

        // Initialise and populate the collection
        nsCOMPtr<nsIDOMNode> docNode = do_QueryInterface(mDOMDocument);
        pCollection->PopulateFromDOMNode(docNode, PR_TRUE);
        pCollection->QueryInterface(IID_IHTMLElementCollection, (void **) p);

        return *p ? S_OK : E_UNEXPECTED;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IEDocument::get_anchors ( IHTMLElementCollection **  p) [inline, virtual]

Definition at line 1145 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_applets ( IHTMLElementCollection **  p) [inline, virtual]

Definition at line 1127 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_bgColor ( VARIANT *  p) [inline, virtual]

Definition at line 1229 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_body ( IHTMLElement **  p) [inline, virtual]

Definition at line 1109 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_charset ( BSTR *  p) [inline, virtual]

Definition at line 1346 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_cookie ( BSTR *  p) [inline, virtual]

Definition at line 1322 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_defaultCharset ( BSTR *  p) [inline, virtual]

Definition at line 1358 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_designMode ( BSTR *  p) [inline, virtual]

Definition at line 1175 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_domain ( BSTR *  p) [inline, virtual]

Definition at line 1310 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_embeds ( IHTMLElementCollection **  p) [inline, virtual]

Definition at line 1199 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_expando ( VARIANT_BOOL *  p) [inline, virtual]

Definition at line 1334 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_fgColor ( VARIANT *  p) [inline, virtual]

Definition at line 1241 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_fileCreatedDate ( BSTR *  p) [inline, virtual]

Definition at line 1376 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_fileModifiedDate ( BSTR *  p) [inline, virtual]

Definition at line 1382 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_fileSize ( BSTR *  p) [inline, virtual]

Definition at line 1370 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_fileUpdatedDate ( BSTR *  p) [inline, virtual]

Definition at line 1388 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_forms ( IHTMLElementCollection **  p) [inline, virtual]

Definition at line 1139 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_frames ( IHTMLFramesCollection2 **  p) [inline, virtual]

Definition at line 1193 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_images ( IHTMLElementCollection **  p) [inline, virtual]

Definition at line 1121 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_lastModified ( BSTR *  p) [inline, virtual]

Definition at line 1285 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_linkColor ( VARIANT *  p) [inline, virtual]

Definition at line 1253 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_links ( IHTMLElementCollection **  p) [inline, virtual]

Definition at line 1133 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_location ( IHTMLLocation **  p) [inline, virtual]

Definition at line 1277 of file XPCDocument.cpp.

    {
        if (mWindow)
            return mWindow->get_location(p);
        return E_FAIL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_mimeType ( BSTR *  p) [inline, virtual]

Definition at line 1364 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_nameProp ( BSTR *  p) [inline, virtual]

Definition at line 1406 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onafterupdate ( VARIANT *  p) [inline, virtual]

Definition at line 1659 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onbeforeupdate ( VARIANT *  p) [inline, virtual]

Definition at line 1739 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onclick ( VARIANT *  p) [inline, virtual]

Definition at line 1527 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_ondblclick ( VARIANT *  p) [inline, virtual]

Definition at line 1539 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_ondragstart ( VARIANT *  p) [inline, virtual]

Definition at line 1695 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onerrorupdate ( VARIANT *  p) [inline, virtual]

Definition at line 1751 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onhelp ( VARIANT *  p) [inline, virtual]

Definition at line 1515 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onkeydown ( VARIANT *  p) [inline, virtual]

Definition at line 1563 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onkeypress ( VARIANT *  p) [inline, virtual]

Definition at line 1575 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onkeyup ( VARIANT *  p) [inline, virtual]

Definition at line 1551 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onmousedown ( VARIANT *  p) [inline, virtual]

Definition at line 1599 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onmousemove ( VARIANT *  p) [inline, virtual]

Definition at line 1611 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onmouseout ( VARIANT *  p) [inline, virtual]

Definition at line 1623 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onmouseover ( VARIANT *  p) [inline, virtual]

Definition at line 1635 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onmouseup ( VARIANT *  p) [inline, virtual]

Definition at line 1587 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onreadystatechange ( VARIANT *  p) [inline, virtual]

Definition at line 1647 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onrowenter ( VARIANT *  p) [inline, virtual]

Definition at line 1683 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onrowexit ( VARIANT *  p) [inline, virtual]

Definition at line 1671 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_onselectstart ( VARIANT *  p) [inline, virtual]

Definition at line 1707 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_parentWindow ( IHTMLWindow2 **  p) [inline, virtual]

Definition at line 1721 of file XPCDocument.cpp.

    {
        return mWindow->QueryInterface(_uuidof(IHTMLWindow2), (void **) p);
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_plugins ( IHTMLElementCollection **  p) [inline, virtual]

Definition at line 1205 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_protocol ( BSTR *  p) [inline, virtual]

Definition at line 1400 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_readyState ( BSTR *  p) [inline, virtual]

Definition at line 1187 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_referrer ( BSTR *  p) [inline, virtual]

Definition at line 1271 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_Script ( IDispatch **  p) [inline, virtual]

Definition at line 1074 of file XPCDocument.cpp.

    {
        *p = NULL;
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_scripts ( IHTMLElementCollection **  p) [inline, virtual]

Definition at line 1163 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_security ( BSTR *  p) [inline, virtual]

Definition at line 1394 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_selection ( IHTMLSelectionObject **  p) [inline, virtual]

Definition at line 1181 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_styleSheets ( IHTMLStyleSheetsCollection **  p) [inline, virtual]

Definition at line 1727 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_title ( BSTR *  p) [inline, virtual]

Definition at line 1157 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_URL ( BSTR *  p) [inline, virtual]

Definition at line 1297 of file XPCDocument.cpp.

    {
        *p = mURL.Copy();
        return S_OK;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::get_vlinkColor ( VARIANT *  p) [inline, virtual]

Definition at line 1265 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::GetBrowseContext ( IHlinkBrowseContext **  ppihlbc) [inline, virtual]

Definition at line 1803 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::GetFrameMargins ( DWORD pdwWidth,
DWORD pdwHeight 
) [inline, virtual]

Definition at line 2062 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::GetFrameMargins is not implemented");
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::GetFrameName ( LPWSTR ppszFrameName) [inline, virtual]

Definition at line 1981 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::GetFrameName is not implemented");
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::GetFrameOptions ( DWORD pdwFlags) [inline, virtual]

Definition at line 2047 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::GetFrameOptions is not implemented");
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::GetFramesContainer ( IOleContainer **  ppContainer) [inline, virtual]

Definition at line 2033 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::GetFramesContainer is not implemented");
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::GetFrameSrc ( LPWSTR ppszFrameSrc) [inline, virtual]

Definition at line 2026 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::GetFrameSrc is not implemented");
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::GetParentFrame ( IUnknown **  ppunkParent) [inline, virtual]

Definition at line 1988 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::GetParentFrame is not implemented");
        return E_NOTIMPL;
    }

Definition at line 944 of file XPCDocument.cpp.

    {
        mData = pData;

        // Get the DOM document
        NPN_GetValue(mData->pPluginInstance, NPNVDOMElement, 
                     NS_STATIC_CAST(nsIDOMElement **, getter_AddRefs(mDOMElement)));
        if (mDOMElement)
        {
            mDOMElement->GetOwnerDocument(getter_AddRefs(mDOMDocument));
        }

        // Get the DOM window
        NPN_GetValue(mData->pPluginInstance, NPNVDOMWindow, 
                     NS_STATIC_CAST(nsIDOMWindow **, getter_AddRefs(mDOMWindow)));
        if (mDOMWindow)
        {
            nsCOMPtr<nsIDOMWindowInternal> windowInternal = do_QueryInterface(mDOMWindow);
            if (windowInternal)
            {
                nsCOMPtr<nsIDOMLocation> location;
                nsAutoString href;
                windowInternal->GetLocation(getter_AddRefs(location));
                if (location &&
                    NS_SUCCEEDED(location->GetHref(href)))
                {
                    const PRUnichar *s = href.get();
                    mURL.Attach(::SysAllocString(s));
                }
            }
        }

        CComObject<IEWindow>::CreateInstance(&mWindow);
        ATLASSERT(mWindow);
        if (!mWindow)
        {
            return E_OUTOFMEMORY;
        }
        mWindow->AddRef();
        mWindow->Init(mData);

        CComObject<IEBrowser>::CreateInstance(&mBrowser);
        ATLASSERT(mBrowser);
        if (!mBrowser)
        {
            return E_OUTOFMEMORY;
        }
        mBrowser->AddRef();
        mBrowser->Init(mData);
 
        return S_OK;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IEDocument::LockContainer ( BOOL  fLock) [inline, virtual]

Definition at line 1789 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::MonikerBindToObject ( IMoniker *  pMk,
IBindCtx *  pBC,
IBindStatusCallback *  pBSC,
REFIID  riid,
void **  ppvObj 
) [inline, virtual]

Definition at line 1963 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::MonikerBindToStorage ( IMoniker *  pMk,
IBindCtx *  pBC,
IBindStatusCallback *  pBSC,
REFIID  riid,
void **  ppvObj 
) [inline, virtual]

Definition at line 1927 of file XPCDocument.cpp.

    {
        if (!pMk || !ppvObj) return E_POINTER;

        *ppvObj = NULL;
        HRESULT hr = S_OK;
        CComPtr<IBindCtx> spBindCtx;
        if (pBC)
        {
            spBindCtx = pBC;
            if (pBSC)
            {
                hr = RegisterBindStatusCallback(spBindCtx, pBSC, NULL, 0);
                if (FAILED(hr))
                    return hr;
            }
        }
        else
        {
            if (pBSC)
                hr = CreateAsyncBindCtx(0, pBSC, NULL, &spBindCtx);
            else
                hr = CreateBindCtx(0, &spBindCtx);
            if (SUCCEEDED(hr) && !spBindCtx)
                hr = E_FAIL;
            if (FAILED(hr))
                return hr;
        }
        return pMk->BindToStorage(spBindCtx, NULL, riid, ppvObj);
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::Navigate ( DWORD  grfHLNF,
LPBC  pbc,
IBindStatusCallback *  pibsc,
IHlink *  pihlNavigate 
) [inline, virtual]

Definition at line 1809 of file XPCDocument.cpp.

    {
        if (!pihlNavigate) return E_INVALIDARG;
        // TODO check grfHLNF for type of link
        LPWSTR szTarget = NULL;
        LPWSTR szLocation = NULL;
        LPWSTR szTargetFrame = NULL;
        HRESULT hr;
        hr = pihlNavigate->GetStringReference(HLINKGETREF_DEFAULT, &szTarget, &szLocation);
        hr = pihlNavigate->GetTargetFrameName(&szTargetFrame);
        if (szTarget && szTarget[0] != WCHAR('\0'))
        {
            NS_ConvertUTF16toUTF8 spec(szTarget);
            nsCOMPtr<nsIURI> uri;
            nsresult rv = NS_NewURI(getter_AddRefs(uri), spec);
            if (NS_SUCCEEDED(rv) && uri)
            {
                nsCOMPtr<nsIWebNavigation> webNav = do_GetInterface(mDOMWindow);
                if (webNav)
                {
                    nsCOMPtr<nsILinkHandler> lh = do_QueryInterface(webNav);
                    if (lh)
                    {
                        nsCOMPtr<nsPIDOMWindow> window =
                            do_GetInterface(mDOMWindow);

                        nsAutoPopupStatePusher popupStatePusher(window,
                                                                openAllowed);

                        nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMElement));

                        lh->OnLinkClick(content, eLinkVerb_Replace,
                            uri, szTargetFrame ? szTargetFrame : mUseTarget);
                    }
                }
                hr = S_OK;
            }
            else
            {
                hr = E_FAIL;
            }
        }
        else
        {
            hr = E_FAIL;
        }
        if (szTarget)
            CoTaskMemFree(szTarget);
        if (szLocation)
            CoTaskMemFree(szLocation);
        if (szTargetFrame)
            CoTaskMemFree(szTargetFrame);
        if (mUseTarget)
        {
            SysFreeString(mUseTarget);
            mUseTarget = NULL;
        }
        return hr;
    }

Here is the call graph for this function:

virtual HRESULT STDMETHODCALLTYPE IEDocument::OnChildFrameActivate ( IUnknown pUnkChildFrame) [inline, virtual]

Definition at line 2078 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::OnChildFrameActivate is not implemented");
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::OnChildFrameDeactivate ( IUnknown pUnkChildFrame) [inline, virtual]

Definition at line 2085 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::OnChildFrameDeactivate is not implemented");
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::OnNavigate ( DWORD  grfHLNF,
IMoniker *  pimkTarget,
LPCWSTR  pwzLocation,
LPCWSTR  pwzFriendlyName,
DWORD  dwreserved 
) [inline, virtual]

Definition at line 1873 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::open ( BSTR  url,
VARIANT  name,
VARIANT  features,
VARIANT  replace,
IDispatch **  pomWindowResult 
) [inline, virtual]

Definition at line 1424 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::ParseDisplayName ( IBindCtx *  pbc,
LPOLESTR  pszDisplayName,
ULONG pchEaten,
IMoniker **  ppmkOut 
) [inline, virtual]

Definition at line 1772 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_alinkColor ( VARIANT  v) [inline, virtual]

Definition at line 1211 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_bgColor ( VARIANT  v) [inline, virtual]

Definition at line 1223 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_charset ( BSTR  v) [inline, virtual]

Definition at line 1340 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_cookie ( BSTR  v) [inline, virtual]

Definition at line 1316 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_defaultCharset ( BSTR  v) [inline, virtual]

Definition at line 1352 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_designMode ( BSTR  v) [inline, virtual]

Definition at line 1169 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_domain ( BSTR  v) [inline, virtual]

Definition at line 1304 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_expando ( VARIANT_BOOL  v) [inline, virtual]

Definition at line 1328 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_fgColor ( VARIANT  v) [inline, virtual]

Definition at line 1235 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_linkColor ( VARIANT  v) [inline, virtual]

Definition at line 1247 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onafterupdate ( VARIANT  v) [inline, virtual]

Definition at line 1653 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onbeforeupdate ( VARIANT  v) [inline, virtual]

Definition at line 1733 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onclick ( VARIANT  v) [inline, virtual]

Definition at line 1521 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_ondblclick ( VARIANT  v) [inline, virtual]

Definition at line 1533 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_ondragstart ( VARIANT  v) [inline, virtual]

Definition at line 1689 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onerrorupdate ( VARIANT  v) [inline, virtual]

Definition at line 1745 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onhelp ( VARIANT  v) [inline, virtual]

Definition at line 1509 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onkeydown ( VARIANT  v) [inline, virtual]

Definition at line 1557 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onkeypress ( VARIANT  v) [inline, virtual]

Definition at line 1569 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onkeyup ( VARIANT  v) [inline, virtual]

Definition at line 1545 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onmousedown ( VARIANT  v) [inline, virtual]

Definition at line 1593 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onmousemove ( VARIANT  v) [inline, virtual]

Definition at line 1605 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onmouseout ( VARIANT  v) [inline, virtual]

Definition at line 1617 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onmouseover ( VARIANT  v) [inline, virtual]

Definition at line 1629 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onmouseup ( VARIANT  v) [inline, virtual]

Definition at line 1581 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onreadystatechange ( VARIANT  v) [inline, virtual]

Definition at line 1641 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onrowenter ( VARIANT  v) [inline, virtual]

Definition at line 1677 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onrowexit ( VARIANT  v) [inline, virtual]

Definition at line 1665 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_onselectstart ( VARIANT  v) [inline, virtual]

Definition at line 1701 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_title ( BSTR  v) [inline, virtual]

Definition at line 1151 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_URL ( BSTR  v) [inline, virtual]

Definition at line 1291 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::put_vlinkColor ( VARIANT  v) [inline, virtual]

Definition at line 1259 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::queryCommandEnabled ( BSTR  cmdID,
VARIANT_BOOL *  pfRet 
) [inline, virtual]

Definition at line 1451 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::queryCommandIndeterm ( BSTR  cmdID,
VARIANT_BOOL *  pfRet 
) [inline, virtual]

Definition at line 1465 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::queryCommandState ( BSTR  cmdID,
VARIANT_BOOL *  pfRet 
) [inline, virtual]

Definition at line 1458 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::queryCommandSupported ( BSTR  cmdID,
VARIANT_BOOL *  pfRet 
) [inline, virtual]

Definition at line 1444 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::queryCommandText ( BSTR  cmdID,
BSTR *  pcmdText 
) [inline, virtual]

Definition at line 1472 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::queryCommandValue ( BSTR  cmdID,
VARIANT *  pcmdValue 
) [inline, virtual]

Definition at line 1479 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::QueryService ( REFGUID  guidService,
REFIID  riid,
void **  ppvObject 
) [inline, virtual]

Definition at line 1028 of file XPCDocument.cpp.

    {
#ifdef DEBUG
        ATLTRACE(_T("IEDocument::QueryService\n"));
        if (IsEqualIID(riid, __uuidof(IWebBrowser)) ||
            IsEqualIID(riid, __uuidof(IWebBrowser2)) ||
            IsEqualIID(riid, __uuidof(IWebBrowserApp)))
        {
            ATLTRACE(_T("  IWebBrowserApp\n"));
            if (mBrowser)
            {
                return mBrowser->QueryInterface(riid, ppvObject);
            }
        }
        else if (IsEqualIID(riid, __uuidof(IHTMLWindow2)))
        {
            ATLTRACE(_T("  IHTMLWindow2\n"));
            if (mWindow)
            {
                return mWindow->QueryInterface(riid, ppvObject);
            }
        }
        else if (IsEqualIID(riid, __uuidof(IHTMLDocument2)))
        {
            ATLTRACE(_T("  IHTMLDocument2\n"));
        }
        else if (IsEqualIID(riid, __uuidof(IBindHost)))
        {
            ATLTRACE(_T("  IBindHost\n"));
        }
        else
        {
            USES_CONVERSION;
            LPOLESTR szClsid = NULL;
            StringFromIID(riid, &szClsid);
            ATLTRACE(_T("  Unknown interface %s\n"), OLE2T(szClsid));
            CoTaskMemFree(szClsid);
        }
#endif
        return QueryInterface(riid, ppvObject);
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::RemoteNavigate ( ULONG  cLength,
ULONG pulData 
) [inline, virtual]

Definition at line 2070 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::RemoteNavigate is not implemented");
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::SetBrowseContext ( IHlinkBrowseContext *  pihlbc) [inline, virtual]

Definition at line 1797 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::SetFrameMargins ( DWORD  dwWidth,
DWORD  dwHeight 
) [inline, virtual]

Definition at line 2054 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::SetFrameMargins is not implemented");
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::SetFrameName ( LPCWSTR  pszFrameName) [inline, virtual]

Definition at line 1974 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::SetFrameName is not implemented");
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::SetFrameOptions ( DWORD  dwFlags) [inline, virtual]

Definition at line 2040 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::SetFrameOptions is not implemented");
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::SetFrameSrc ( LPCWSTR  pszFrameSrc) [inline, virtual]

Definition at line 2019 of file XPCDocument.cpp.

    {
        NS_ASSERTION(FALSE, "ITargetFrame::SetFrameSrc is not implemented");
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::toString ( BSTR *  String) [inline, virtual]

Definition at line 1757 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::UpdateHlink ( ULONG  uHLID,
IMoniker *  pimkTarget,
LPCWSTR  pwzLocation,
LPCWSTR  pwzFriendlyName 
) [inline, virtual]

Definition at line 1883 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::write ( SAFEARRAY *  psarray) [inline, virtual]

Definition at line 1412 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }
virtual HRESULT STDMETHODCALLTYPE IEDocument::writeln ( SAFEARRAY *  psarray) [inline, virtual]

Definition at line 1418 of file XPCDocument.cpp.

    {
        return E_NOTIMPL;
    }

Member Data Documentation

Definition at line 931 of file XPCDocument.cpp.

Definition at line 925 of file XPCDocument.cpp.

Definition at line 928 of file XPCDocument.cpp.

Definition at line 929 of file XPCDocument.cpp.

Definition at line 927 of file XPCDocument.cpp.

CComBSTR IEDocument::mURL

Definition at line 932 of file XPCDocument.cpp.

Definition at line 933 of file XPCDocument.cpp.

Definition at line 930 of file XPCDocument.cpp.


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