Electrolysis/places that need session history

From MozillaWiki
Jump to navigation Jump to search

Places that need session history

This planning document is preparatory work for task "Session history for remote tabs" in [1]. It lists all the places that need (read / write) session history.

all the following objects make use of session history (or session history listener) in a certain way. For each of them, nsISHistory usage is detailled and links to code are provided.


Places using nsISHistory

WebNavigation interface || attribute sessionHistory ||

CCUncollectableMarker component || nsComPtr history ||

DocShell component || nsComPtr shistory & rootSH ||

SHEntry || QI for nsISHistoryInternal ||

EmbedPrivate || public member mSessionHistory ||

WebBrowser || adds/removes SHistory listeners ||

DocumentViewer || QI for nsISHistoryInternal ||

broswer-places.js || call .history member ||

browser.js || .sessionHistory & .history ||

bookmarkProperties.js || .history ||

controller.js || .history ||

editBookmarkOverlay.js || .history ||

history-panel.js || .history ||

places.js || .history ||

utils.js || .history ||

nsPlacesTransactionsService.js || .history ||


Places using nsISHistoryListener

SHistoryInternal interface || attribute listener ||

DocShell || nsComPtr listener||

WebBrowser || QI for nsISHistoryListener ||

WebBrowserChrome || derives from nsISHistoryListener ||


Other cases

FrameLoader || nsComPtr ourHistory || nsFrameLoader.cpp

  • but it does NOT yet do anything useful with it. Take a look.