#ifndef WEBSHELLCONTAINER_H #define WEBSHELLCONTAINER_H class CWebShellContainer : public nsIWebShellContainer { public: CWebShellContainer(); protected: virtual ~CWebShellContainer(); // Protected members protected: nsString m_sTitle; public: // nsISupports NS_DECL_ISUPPORTS // nsIWebShellContainer NS_IMETHOD SetTitle(const PRUnichar* aTitle); NS_IMETHOD GetTitle(PRUnichar** aResult); NS_IMETHOD WillLoadURL(nsIWebShell* aShell, const PRUnichar* aURL, nsLoadType aReason); NS_IMETHOD BeginLoadURL(nsIWebShell* aShell, const PRUnichar* aURL); NS_IMETHOD ProgressLoadURL(nsIWebShell* aShell, const PRUnichar* aURL, PRInt32 aProgress, PRInt32 aProgressMax); NS_IMETHOD EndLoadURL(nsIWebShell* aShell, const PRUnichar* aURL, PRInt32 aStatus); NS_IMETHOD OverLink(nsIWebShell* aShell, const PRUnichar* aURLSpec, const PRUnichar* aTargetSpec); NS_IMETHOD NewWebShell(nsIWebShell *&aNewWebShell); }; #endif