Bug 384256 - Remove unused function _getContentShell and useUBHistoryItem, patch by Jason Barnabe <jason_barnabe@fastmail.fm>, r=gavin

This commit is contained in:
philringnalda@gmail.com 2007-06-13 21:59:43 -07:00
parent 07b2c9ca5f
commit 9837bbf7c8
2 changed files with 0 additions and 25 deletions

View File

@ -5514,22 +5514,6 @@ var FeedHandler = {
this.loadFeed(href, event);
},
/**
* Locate the shell that has a specified document loaded in it.
* @param doc
* The document to find a shell for.
* @returns The doc shell that contains the specified document.
*/
_getContentShell: function(doc) {
var browsers = getBrowser().browsers;
for (var i = 0; i < browsers.length; i++) {
var shell = findChildShell(doc, browsers[i].docShell, null);
if (shell)
return { shell: shell, browser: browsers[i] };
}
return null;
},
#ifndef MOZ_PLACES_BOOKMARKS
/**
* Adds a Live Bookmark to a feed

View File

@ -155,12 +155,3 @@ function onChooseFile()
}
doEnabling();
}
function useUBHistoryItem(aMenuItem)
{
var urlbar = document.getElementById("dialog.input");
urlbar.value = aMenuItem.getAttribute("label");
urlbar.focus();
doEnabling();
}