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

git-svn-id: svn://10.0.0.236/trunk@27832 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com
1999-04-16 08:12:44 +00:00
parent 97401ab357
commit 893d15c791

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?