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.