DocShell/Fastback: Difference between revisions

Line 1: Line 1:
== Saving to history ==
== Saving to history ==
The <code>[[nsIContentViewer]]</code> saves itself to the SH Entry. It gets an SH Entry in its <code>Close</code> function as an argument, and saves itself there in <code>Destroy</code>.
The <code>[[nsIContentViewer]]</code> saves itself to the SH Entry. It gets an SH Entry in its <code>Close</code> function as an argument, and saves itself there in <code>Destroy</code>.
These functions are called from <code>nsDocShell::RestoreFromHistory</code> or <code>nsDocShell::SetupNewViewer</code> (that latter one doesn't call Destroy?).


== Restoration from history ==
== Restoration from history ==
Confirmed users
195

edits