зеркало из https://github.com/mozilla/gecko-dev.git
Added a readonly attribute to get the PresShell. (Not Part of the build)
This commit is contained in:
Родитель
787094e942
Коммит
e61394b1f9
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче