Go to the source code of this file.
Functions | |
| if (typeof(Ci)=="undefined") var Ci | |
| 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) |
| function | openReleaseNotes (event) |
| function | checkForUpdates () |
| function | isElementVisible (aElement) |
| function | getBrowserFromContentWindow (aContentWindow) |
| function | openNewTabWith (aURL, aDocument, aPostData, aEvent, aAllowThirdPartyFixup) |
| function | openNewWindowWith (aURL, aDocument, aPostData, aAllowThirdPartyFixup) |
| function | getBrowser () |
| function | loadURI (uri, referrer, postData, allowThirdPartyFixup) |
| function | getWebNavigation () |
| function | toOpenWindowByType (inType, uri, features) |
| function | BrowserForward (aEvent, aIgnoreAlt) |
| function | BrowserBack (aEvent, aIgnoreAlt) |
| function | BrowserHomeClick (aEvent) |
| function | loadOneOrMoreURIs (aURIString) |
| function | nsBrowserStatusHandler () |
| window | QueryInterface (Ci.nsIInterfaceRequestor).getInterface(Ci.nsIWebNavigation).QueryInterface(Ci.nsIDocShellTreeItem).treeOwner.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIXULWindow).XULBrowserWindow |
| function | makeURLAbsolute (aBase, aUrl) |
| function | getBrowserSelection (aCharLen) |
| function | mimeTypeIsTextBased (aMimeType) |
| function | BrowserReload () |
| function | BrowserReloadSkipCache () |
| function | BrowserReloadWithFlags (reloadFlags) |
| function | formatURL (aFormat, aIsPref) |
| function | HandleAppCommandEvent (evt) |
| function | FillInHTMLTooltip (tipElement) |
| function | onInitBrowserUtilities () |
| function | onShutdownBrowserUtilities () |
| window | addEventListener ("load", onInitBrowserUtilities, false) |
| function | BrowserNumberTabSelection (event, index) |
| function | BrowserHandleBackspace () |
| function | BrowserHandleShiftBackspace () |
Variables | |
| var | gBidiUI = false |
| nsBrowserStatusHandler | prototype |
| var | gPrefService |
| var | gNavigatorBundle |
| window addEventListener | ( | "load" | , |
| onInitBrowserUtilities | , | ||
| false | |||
| ) |
| function BrowserBack | ( | aEvent, | |
| aIgnoreAlt | |||
| ) |
Definition at line 573 of file browserUtilities.js.
| function BrowserForward | ( | aEvent, | |
| aIgnoreAlt | |||
| ) |
Definition at line 552 of file browserUtilities.js.
| function BrowserHandleBackspace | ( | ) |
Definition at line 959 of file browserUtilities.js.
| function BrowserHandleShiftBackspace | ( | ) |
Definition at line 971 of file browserUtilities.js.
| function BrowserHomeClick | ( | aEvent | ) |
| function BrowserNumberTabSelection | ( | event, | |
| index | |||
| ) |
Definition at line 942 of file browserUtilities.js.
| function BrowserReload | ( | ) |
| function BrowserReloadSkipCache | ( | ) |
Definition at line 791 of file browserUtilities.js.
| function BrowserReloadWithFlags | ( | reloadFlags | ) |
Definition at line 798 of file browserUtilities.js.
| function checkForMiddleClick | ( | node, | |
| event | |||
| ) |
| function checkForUpdates | ( | ) |
Opens the update manager and checks for updates to the application.
Definition at line 395 of file browserUtilities.js.
| function closeMenus | ( | node | ) |
| function FillInHTMLTooltip | ( | tipElement | ) |
Copied from Firefox's browser.js – Original note follows:
Content area tooltip. XXX - this must move into XBL binding/equiv! Do not want to pollute browser.js with functionality that can be encapsulated into browser widget. TEMPORARY!
NOTE: Any changes to this routine need to be mirrored in ChromeListener::FindTitleText() (located in mozilla/embedding/browser/webBrowser/nsDocShellTreeOwner.cpp) which performs the same function, but for embedded clients that don't use a XUL/JS layer. It is important that the logic of these two routines be kept more or less in sync. (pinkerton)
Definition at line 869 of file browserUtilities.js.
| function focusElement | ( | aElement | ) |
| function formatURL | ( | aFormat, | |
| aIsPref | |||
| ) |
Definition at line 820 of file browserUtilities.js.
| function gatherTextUnder | ( | root | ) |
Definition at line 289 of file browserUtilities.js.
| function getBoolPref | ( | prefname, | |
| def | |||
| ) |
| function getBrowser | ( | ) |
Definition at line 502 of file browserUtilities.js.
| function getBrowserFromContentWindow | ( | aContentWindow | ) |
Definition at line 424 of file browserUtilities.js.
| function getBrowserSelection | ( | aCharLen | ) |
Definition at line 750 of file browserUtilities.js.
| function getBrowserURL | ( | ) |
Definition at line 47 of file browserUtilities.js.
| function getShellService | ( | ) |
Definition at line 333 of file browserUtilities.js.
| function getTopWin | ( | ) |
| function getWebNavigation | ( | ) |
| function goToggleToolbar | ( | id, | |
| elementID | |||
| ) |
Definition at line 52 of file browserUtilities.js.
| function HandleAppCommandEvent | ( | evt | ) |
Definition at line 827 of file browserUtilities.js.
| if | ( | typeof(Ci) | = ="undefined" | ) |
Debug Wrapper. Subclasses and replaces DateRemote to keep track of how many dataremotes are alive, and for which keys.
Definition at line 524 of file sbDataRemote.js.
| function isBidiEnabled | ( | ) |
Definition at line 343 of file browserUtilities.js.
| function isElementVisible | ( | aElement | ) |
Definition at line 413 of file browserUtilities.js.
| function loadOneOrMoreURIs | ( | aURIString | ) |
| function loadURI | ( | uri, | |
| referrer, | |||
| postData, | |||
| allowThirdPartyFixup | |||
| ) |
| function makeURLAbsolute | ( | aBase, | |
| aUrl | |||
| ) |
| function mimeTypeIsTextBased | ( | aMimeType | ) |
Definition at line 776 of file browserUtilities.js.
| function nsBrowserStatusHandler | ( | ) |
This is a hacked version of nsBrowserStatusHandler from firefox/browser.js.
nsBrowserStatusHandler is registered as window.XULBrowserWindow, which allows the C++ browser back-end to update window status and other UI.
Definition at line 646 of file browserUtilities.js.
| function onInitBrowserUtilities | ( | ) |
| function onShutdownBrowserUtilities | ( | ) |
Definition at line 933 of file browserUtilities.js.
| function openAboutDialog | ( | ) |
Definition at line 369 of file browserUtilities.js.
| function openNewTabWith | ( | aURL, | |
| aDocument, | |||
| aPostData, | |||
| aEvent, | |||
| aAllowThirdPartyFixup | |||
| ) |
openNewTabWith: opens a new tab with the given URL.
| aURL | The URL to open (as a string). |
| aDocument | The 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. |
| aPostData | Form POST data, or null. |
| aEvent | The triggering event (for the purpose of determining whether to open in the background), or null. |
| aAllowThirdPartyFixup | If 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. |
Definition at line 455 of file browserUtilities.js.
| function openNewWindowWith | ( | aURL, | |
| aDocument, | |||
| aPostData, | |||
| aAllowThirdPartyFixup | |||
| ) |
Definition at line 495 of file browserUtilities.js.
| function openPreferences | ( | paneID | ) |
Definition at line 375 of file browserUtilities.js.
| function openReleaseNotes | ( | event | ) |
Opens the release notes page for this version of the application.
| event | The DOM Event that caused this function to be called, used to determine where the release notes page should be displayed based on modifiers (e.g. Ctrl = new tab) |
Definition at line 387 of file browserUtilities.js.
| function openTopWin | ( | url | ) |
| function openUILink | ( | url, | |
| e, | |||
| ignoreButton, | |||
| ignoreAlt, | |||
| allowKeywordFixup, | |||
| postData, | |||
| referrerUrl | |||
| ) |
Definition at line 116 of file browserUtilities.js.
| function openUILinkIn | ( | url, | |
| where, | |||
| allowThirdPartyFixup, | |||
| postData, | |||
| referrerUrl | |||
| ) |
Definition at line 198 of file browserUtilities.js.
| window QueryInterface | ( | Ci. | nsIInterfaceRequestor | ) |
| function toOpenWindowByType | ( | inType, | |
| uri, | |||
| features | |||
| ) |
Definition at line 533 of file browserUtilities.js.
| function whereToOpenLink | ( | e, | |
| ignoreButton, | |||
| ignoreAlt | |||
| ) |
Definition at line 147 of file browserUtilities.js.
| var gBidiUI = false |
Definition at line 45 of file browserUtilities.js.
| var gNavigatorBundle |
Definition at line 920 of file browserUtilities.js.
| var gPrefService |
Definition at line 919 of file browserUtilities.js.
| nsBrowserStatusHandler prototype |
Definition at line 655 of file browserUtilities.js.