Electrolysis/places that need session history: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
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 ||

DocShell component || nsComPtr shistory & rootSH ||

SHEntry Component || QI for nsISHistoryInternal ||

EmbedPrivate Component || public member mSessionHistory ||

WebBrowser Component || adds/removes SHistory listeners ||

DocumentViewer Component || QI for nsISHistoryInternal ||

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

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

web-panels.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 ||

nsSessionStore.js || .history ||

fuelApplication.js || .history ||

help.js || .history ||

nsLoginManagerPrompter.js || .history ||

contentAreaUtils.js || .history ||


Places using Session History Listener

SHistoryInternal interface || attribute listener ||

DocShell || nsComPtr listener||

WebBrowser || QI for nsISHistoryListener ||

WebBrowserChrome || derives from nsISHistoryListener ||


Other places

FrameLoader || nsComPtr ourHistory || nsFrameLoader.cpp

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