The web shell window sets the outermost webshell's type to be chrome.

This commit is contained in:
hyatt@netscape.com
1999-04-16 08:12:44 +00:00
parent f36d46c866
commit 629e766d67
+3
View File
@@ -260,6 +260,9 @@ nsresult nsWebShellWindow::Initialize(nsIWebShellWindow* aParent,
mWebShell->SetObserver((nsIStreamObserver*)anObserver);
mWebShell->SetDocLoaderObserver(this);
// The outermost web shell is always considered to be chrome.
mWebShell->SetWebShellType(nsWebShellChrome);
/*
* XXX: How should preferences be supplied to the nsWebShellWindow?
* Should there be the notion of a global preferences service?