From 893d15c791967e3384efa07da678475be0874ec0 Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Fri, 16 Apr 1999 08:12:44 +0000 Subject: [PATCH] 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 --- mozilla/xpfe/appshell/src/nsWebShellWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp index 8a285736dc8..84dd1ace458 100644 --- a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp @@ -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?