utilityOverlay.js File Reference

Go to the source code of this file.

Functions

function getBrowserURL ()
 
function goToggleToolbar (id, elementID)
 
function getTopWin ()
 
function openTopWin (url)
 
function getBoolPref (prefname, def)
 
function focusElement (aElement)
 
function openUILink (url, e, ignoreButton, ignoreAlt, allowKeywordFixup, postData, referrerUrl)
 
function whereToOpenLink (e, ignoreButton, ignoreAlt)
 
function openUILinkIn (url, where, allowThirdPartyFixup, postData, referrerUrl)
 
function checkForMiddleClick (node, event)
 
function closeMenus (node)
 
function gatherTextUnder (root)
 
function getShellService ()
 
function isBidiEnabled ()
 
function openAboutDialog ()
 
function openPreferences (paneID, extraArgs)
 
function openAdvancedPreferences (tabID)
 
function openReleaseNotes ()
 
function openTroubleshootingPage ()
 
function buildHelpMenu ()
 
function isElementVisible (aElement)
 
function makeURLAbsolute (aBase, aUrl)
 
function getBrowserFromContentWindow (aContentWindow)
 
function openNewTabWith (aURL, aDocument, aPostData, aEvent, aAllowThirdPartyFixup, aReferrer)
 
function openNewWindowWith (aURL, aDocument, aPostData, aAllowThirdPartyFixup, aReferrer)
 
function isValidFeed (aLink, aPrincipal, aIsFeed)
 
function openHelpLink (aHelpTopic, aCalledFromModal)
 
function openPrefsHelp ()
 

Variables

var TAB_DROP_TYPE = "application/x-moz-tabbrowser-tab"
 
var gBidiUI = false
 

Function Documentation

function buildHelpMenu ( )

Definition at line 495 of file utilityOverlay.js.

Here is the call graph for this function:

function checkForMiddleClick (   node,
  event 
)

Definition at line 280 of file utilityOverlay.js.

Here is the call graph for this function:

function closeMenus (   node)

Definition at line 304 of file utilityOverlay.js.

Here is the caller graph for this function:

function focusElement (   aElement)

Definition at line 96 of file utilityOverlay.js.

Here is the call graph for this function:

function gatherTextUnder (   root)

Definition at line 316 of file utilityOverlay.js.

Here is the caller graph for this function:

function getBoolPref (   prefname,
  def 
)

Definition at line 82 of file utilityOverlay.js.

Here is the caller graph for this function:

function getBrowserFromContentWindow (   aContentWindow)

Definition at line 575 of file utilityOverlay.js.

Here is the caller graph for this function:

function getBrowserURL ( )

Definition at line 49 of file utilityOverlay.js.

Here is the caller graph for this function:

function getShellService ( )

Definition at line 360 of file utilityOverlay.js.

Here is the caller graph for this function:

function getTopWin ( )

Definition at line 70 of file utilityOverlay.js.

Here is the caller graph for this function:

function goToggleToolbar (   id,
  elementID 
)

Definition at line 54 of file utilityOverlay.js.

function isBidiEnabled ( )

Definition at line 370 of file utilityOverlay.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function isElementVisible (   aElement)

Definition at line 558 of file utilityOverlay.js.

Here is the caller graph for this function:

function isValidFeed (   aLink,
  aPrincipal,
  aIsFeed 
)

isValidFeed: checks whether the given data represents a valid feed.

Parameters
aLinkAn object representing a feed with title, href and type.
aPrincipalThe principal of the document, used for security check.
aIsFeedWhether this is already a known feed or not, if true only a security check will be performed.

Definition at line 680 of file utilityOverlay.js.

Here is the caller graph for this function:

function makeURLAbsolute (   aBase,
  aUrl 
)

Definition at line 569 of file utilityOverlay.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function openAboutDialog ( )

Definition at line 400 of file utilityOverlay.js.

function openAdvancedPreferences (   tabID)

Definition at line 446 of file utilityOverlay.js.

Here is the call graph for this function:

function openHelpLink (   aHelpTopic,
  aCalledFromModal 
)

Definition at line 705 of file utilityOverlay.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function openNewTabWith (   aURL,
  aDocument,
  aPostData,
  aEvent,
  aAllowThirdPartyFixup,
  aReferrer 
)

openNewTabWith: opens a new tab with the given URL.

Parameters
aURLThe URL to open (as a string).
aDocumentThe document from which the URL came, or null. This is used to set the referrer header and to do a security check of whether the document is allowed to reference the URL. If null, there will be no referrer header and no security check.
aPostDataForm POST data, or null.
aEventThe triggering event (for the purpose of determining whether to open in the background), or null.
aAllowThirdPartyFixupIf true, then we allow the URL text to be sent to third party services (e.g., Google's I Feel Lucky) for interpretation. This parameter may be undefined in which case it is treated as false.
[optional]aReferrer If aDocument is null, then this will be used as the referrer. There will be no security check.

Definition at line 609 of file utilityOverlay.js.

Here is the caller graph for this function:

function openNewWindowWith (   aURL,
  aDocument,
  aPostData,
  aAllowThirdPartyFixup,
  aReferrer 
)

Definition at line 648 of file utilityOverlay.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function openPreferences (   paneID,
  extraArgs 
)

Definition at line 419 of file utilityOverlay.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function openPrefsHelp ( )

Definition at line 715 of file utilityOverlay.js.

Here is the call graph for this function:

function openReleaseNotes ( )

Opens the release notes page for this version of the application.

Definition at line 454 of file utilityOverlay.js.

Here is the call graph for this function:

function openTopWin (   url)

Definition at line 77 of file utilityOverlay.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function openTroubleshootingPage ( )

Opens the troubleshooting information (about:support) page for this version of the application.

Definition at line 467 of file utilityOverlay.js.

Here is the call graph for this function:

function openUILink (   url,
  e,
  ignoreButton,
  ignoreAlt,
  allowKeywordFixup,
  postData,
  referrerUrl 
)

Definition at line 124 of file utilityOverlay.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function openUILinkIn (   url,
  where,
  allowThirdPartyFixup,
  postData,
  referrerUrl 
)

Definition at line 208 of file utilityOverlay.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function whereToOpenLink (   e,
  ignoreButton,
  ignoreAlt 
)

Definition at line 155 of file utilityOverlay.js.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

var gBidiUI = false

Definition at line 47 of file utilityOverlay.js.

var TAB_DROP_TYPE = "application/x-moz-tabbrowser-tab"

Communicator Shared Utility Library for shared application glue for the Communicator suite of applications

Definition at line 45 of file utilityOverlay.js.