From 71e137989bf85f9b660efb84fcf6fb3cd5730d35 Mon Sep 17 00:00:00 2001 From: "tbogard%aol.net" Date: Mon, 29 Nov 1999 18:40:06 +0000 Subject: [PATCH] Added a readonly attribute to get the PresShell. (Not Part of the build) git-svn-id: svn://10.0.0.236/trunk@54567 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsIDocShell.idl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mozilla/docshell/base/nsIDocShell.idl b/mozilla/docshell/base/nsIDocShell.idl index c19cb180425..d91902abd08 100644 --- a/mozilla/docshell/base/nsIDocShell.idl +++ b/mozilla/docshell/base/nsIDocShell.idl @@ -38,6 +38,7 @@ */ [ptr] native nsIPresContext(nsIPresContext); +[ptr] native nsIPresShell(nsIPresShell); [ptr] native nsIDocumentLoaderObserver(nsIDocumentLoaderObserver); [ptr] native nsIContentViewer(nsIContentViewer); @@ -104,6 +105,11 @@ interface nsIDocShell : nsISupports */ readonly attribute nsIPresContext presContext; + /* + Presentation context for the currently loaded document. This may be null. + */ + readonly attribute nsIPresShell presShell; + /* Content Viewer that is currently loaded for this DocShell. This may change as the underlying content changes.