Bug 384256 - Remove unused function _getContentShell and useUBHistoryItem, patch by Jason Barnabe <jason_barnabe@fastmail.fm>, r=gavin
git-svn-id: svn://10.0.0.236/trunk@228033 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8204b2758c
commit
a8dedd5f27
@ -5514,22 +5514,6 @@ var FeedHandler = {
|
|||||||
this.loadFeed(href, event);
|
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
|
#ifndef MOZ_PLACES_BOOKMARKS
|
||||||
/**
|
/**
|
||||||
* Adds a Live Bookmark to a feed
|
* Adds a Live Bookmark to a feed
|
||||||
|
|||||||
@ -155,12 +155,3 @@ function onChooseFile()
|
|||||||
}
|
}
|
||||||
doEnabling();
|
doEnabling();
|
||||||
}
|
}
|
||||||
|
|
||||||
function useUBHistoryItem(aMenuItem)
|
|
||||||
{
|
|
||||||
var urlbar = document.getElementById("dialog.input");
|
|
||||||
urlbar.value = aMenuItem.getAttribute("label");
|
|
||||||
urlbar.focus();
|
|
||||||
doEnabling();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user