Exemplo n.º 1
0
// It's very important that the creator of this CBrowserImpl object
// Call on this Init() method with proper values after creation
//
NS_METHOD CBrowserImpl::Init(CBrowserFrame* pBrowserFrameGlue,
                             nsIWebBrowser* aWebBrowser)
{
    m_pBrowserFrame = pBrowserFrameGlue;
    SetWebBrowser(aWebBrowser);
    return NS_OK;
}
Exemplo n.º 2
0
// It's very important that the creator of this CBrowserImpl object
// Call on this Init() method with proper values after creation
//
NS_METHOD CBrowserImpl::Init(PBROWSERFRAMEGLUE pBrowserFrameGlue, 
                             nsIWebBrowser* aWebBrowser)
{
	  m_pBrowserFrameGlue = pBrowserFrameGlue;
	  
	  SetWebBrowser(aWebBrowser);

	  return NS_OK;
}