Electrolysis/places that need session history: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 73: Line 73:
*'::search()' || [http://mxr.mozilla.org/mozilla-central/source/browser/components/places/content/places.js#935 places.js]
*'::search()' || [http://mxr.mozilla.org/mozilla-central/source/browser/components/places/content/places.js#935 places.js]
*'::doSearch()' || [http://mxr.mozilla.org/mozilla-central/source/browser/components/places/content/places.js#1484 places.js]
*'::doSearch()' || [http://mxr.mozilla.org/mozilla-central/source/browser/components/places/content/places.js#1484 places.js]
utils.js || .history ||
*'::markPageAsTyped()' || [http://mxr.mozilla.org/mozilla-central/source/browser/components/places/content/utils.js#774 utils.js]
*'::markPageAsFollowedBookmark()' || [http://mxr.mozilla.org/mozilla-central/source/browser/components/places/content/utils.js#786 utils.js]
nsPlacesTransactionsService.js || .history ||
*'::doTransaction()' || [http://mxr.mozilla.org/mozilla-central/source/browser/components/places/src/nsPlacesTransactionsService.js#1127 nsPlacesTransactionsService.js]





Revision as of 20:44, 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.


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.