Electrolysis/places that need session history: Difference between revisions
No edit summary |
|||
Line 54: | Line 54: | ||
*'::BrowserSetForcedCharacterSet()' || [http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#5870 browser.js] | *'::BrowserSetForcedCharacterSet()' || [http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#5870 browser.js] | ||
*'::undoCloseTab()' || [http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#6122 browser.js] | *'::undoCloseTab()' || [http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#6122 browser.js] | ||
web-panels.js || .sessionHistory & .history || | |||
*'::PanelBrowserReload()' || [http://mxr.mozilla.org/mozilla-central/source/browser/base/content/web-panels.js#134 web-panels.js] | |||
bookmarkProperties.js || .history || | bookmarkProperties.js || .history || |
Revision as of 21:22, 11 September 2009
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.
NOTE: This list DOES NOT contain places that are part of /test subdirectories.
Places using Session History
WebNavigation interface || attribute sessionHistory ||
CCUncollectableMarker component || nsComPtr history ||
- '::MarkDocShell()' || nsCCUncollectableMarker.cpp
DocShell component || nsComPtr shistory & rootSH ||
- '::GetInterface()' || nsDocShell.cpp
- '::DoAddChildSHEntry()' || nsDocShell.cpp
- '::getCanGoBack()' || nsDocShell.cpp
- '::getCanGoForward()' || nsDocShell.cpp
- '::goBack()' || nsDocShell.cpp
- '::goForward()' || nsDocShell.cpp
- '::gotoIndex()' || nsDocShell.cpp
- '::Reload()' || nsDocShell.cpp
- '::EndPageLoad()' || nsDocShell.cpp
- '::RestoreFromHistory()' || nsDocShell.cpp
- '::OnNewURI()' || nsDocShell.cpp
SHEntry Component || QI for nsISHistoryInternal ||
- '::Expire()' || nsSHEntry.cpp
EmbedPrivate Component || public member mSessionHistory ||
- '::Realize()' || EmbedPrivate.cpp
WebBrowser Component || adds/removes SHistory listeners ||
- '::BindListener()' || nsWebBrowser.cpp
- '::UnBindListener()' || nsWebBrowser.cpp
DocumentViewer Component || QI for nsISHistoryInternal ||
- '::Show()' || nsDocumentViewer.cpp
broswer-places.js || call .history member ||
- '::PCH_bookmarkPage()' || browser-places.js
browser.js || .sessionHistory & .history ||
- '::prepareForStartup()' || browser.js
- '::gotoHistoryIndex()' || browser.js
- '::BrowserForward()' || browser.js
- '::BrowserBack()' || browser.js
- '::BrowserReloadWithFlags()' || browser.js
- '::gotoHistorFillHistoryMenuyIndex()' || browser.js
- '::getShortcutOrURI()' || browser.js
- '::BrowserSetForcedCharacterSet()' || browser.js
- '::undoCloseTab()' || browser.js
web-panels.js || .sessionHistory & .history ||
- '::PanelBrowserReload()' || web-panels.js
bookmarkProperties.js || .history ||
- '::_getURITitleFromHistory()' || bookmarkProperties.js
- '::_getCreateNewBookmarkTransaction()' || bookmarkProperties.js
controller.js || .history ||
- '::__removeRange()' || controller.js
- '::_removeRowsFromHistory()' || controller.js
- '::_removeHistoryContainer()' || controller.js
editBookmarkOverlay.js || .history ||
- '::_getItemStaticTitle()' || editBookmarkOverlay.js
history-panel.js || .history ||
- '::searchHistory()' || history-panel.js
places.js || .history ||
- '::onPlaceSelected()' || places.js
- '::saveSearch()' || places.js
- '::search()' || places.js
- '::doSearch()' || places.js
utils.js || .history ||
nsPlacesTransactionsService.js || .history ||
- '::doTransaction()' || nsPlacesTransactionsService.js
nsSessionStore.js || .history ||
- '::_collectTabData()' || nsSessionStore.js
- '::_serializeSessionStorage()' || nsSessionStore.js
- '::restoreHistory()' || nsSessionStore.js
fuelApplication.js || .history ||
- '::BookmarkFolder()' || fuelApplication.js
help.js || .history ||
nsLoginManagerPrompter.js || .history ||
- '::_getNotifyBox()' || nsLoginManagerPrompter.js
contentAreaUtils.js || .history ||
- '::_getPostData()' || contentAreaUtils.js
Places using Session History Listener
SHistoryInternal interface || attribute listener ||
DocShell || nsComPtr listener||
- '::Reload()' || nsDocShell.cpp
WebBrowser || QI for nsISHistoryListener ||
- '::bindListener()' || nsWebBrowser.cpp
WebBrowserChrome || derives from nsISHistoryListener ||
Other places
FrameLoader || nsComPtr ourHistory || nsFrameLoader.cpp
- but it does NOT yet do anything useful with it. Take a look.