Changes

Jump to: navigation, search

View Image

1,357 bytes added, 13:16, 29 September 2006
no edit summary
== What happens when I click 'View Image' in the context menu? ==

# 'View Image' is bound to the element viewImageCmd.label in [http://lxr.mozilla.org/mozilla1.8.0/source/browser/locales/en-US/chrome/browser/browser.dtd#244 browser.dtd]
# The 'oncommand' function is defined as gContextMenu.viewImage(event) in [http://lxr.mozilla.org/mozilla1.8.0/source/browser/base/content/browser-context.inc#73 browser-context.inc]
# 'viewImage' is defined in [http://lxr.mozilla.org/mozilla1.8.0/source/browser/base/content/browser.js#4454 browser.js] which calls [http://lxr.mozilla.org/mozilla1.8.0/source/browser/base/content/browser.js#4458 openUILink]
# 'openUILink' calls [http://lxr.mozilla.org/mozilla1.8.0/source/browser/base/content/utilityOverlay.js#197 openUILinkIn]
# Eventually, openUILinkIn calls [http://lxr.mozilla.org/mozilla1.8.0/source/browser/base/content/utilityOverlay.js#227 browser.addURI]
# 'browser.addURI' gets a reference to a <tabbrowser> element through [http://lxr.mozilla.org/mozilla1.8.0/source/browser/base/content/browser.js#2325 getWebNavigation()]
# A <tabbrowser> element is defined in [http://lxr.mozilla.org/seamonkey/source/toolkit/content/widgets/browser.xml browser.xml]
# Eventually, there is a C++ function that get's called, [http://lxr.mozilla.org/seamonkey/source/docshell/base/nsDocShell.cpp#2859 nsDocShell::LoadURI]
1
edit

Navigation menu