Go to the source code of this file.
|
Cu | import ("resource://gre/modules/XPCOMUtils.jsm") |
|
Cu import |
( |
"resource://gre/modules/XPCOMUtils.jsm" |
| ) |
|
const Cc = Components.classes |
const Ce = Components.Exception |
const Cr = Components.results |
const Cu = Components.utils |
DNDUtils EntireMediaListViewTransferContext |
Initial value:= [ "DNDUtils",
"ExternalDropHandler",
"InternalDropHandler" ]
Definition at line 47 of file DropHelper.jsm.
Initial value:= function (item, mediaList) {
this.item = item;
this.list = item;
this.source = mediaList;
}
DNDUtils.MediaListTransferContext.prototype = {
if (iid.equals(Components.interfaces.sbIMediaListTransferContext) ||
iid.equals(Components.interfaces.nsISupports))
return this;
throw Components.results.NS_NOINTERFACE;
}
}
const TYPE_X_SB_TRANSFER_MEDIA_ITEM = "application/x-sb-transfer-media-item"
sbOSDControlService prototype QueryInterface
Definition at line 332 of file DropHelper.jsm.
DNDUtils MediaListViewSelectionTransferContext prototype |
Initial value:= {
reset: function() {
var enumerator =
Cc[
"@songbirdnest.com/Songbird/Library/EnumeratorWrapper;1"]
.createInstance(
Ci.sbIMediaListEnumeratorWrapper);
enumerator.initialize(this._mediaListView
.selection
.selectedIndexedMediaItems);
this.items = enumerator;
this.indexedItems = this._mediaListView.selection.selectedIndexedMediaItems;
},
if (iid.equals(Components.interfaces.sbIMediaItemsTransferContext) ||
iid.equals(Components.interfaces.nsISupports))
return this;
throw Components.results.NS_NOINTERFACE;
}
}
sbOSDControlService prototype QueryInterface
Definition at line 258 of file DropHelper.jsm.
const SB_MEDIALISTDUPLICATEFILTER_CONTRACTID |
Initial value:=
"@songbirdnest.com/Songbird/Library/medialistduplicatefilter;1"
Definition at line 69 of file DropHelper.jsm.
const TYPE_X_SB_TRANSFER_MEDIA_ITEMS = "application/x-sb-transfer-media-items" |
const TYPE_X_SB_TRANSFER_MEDIA_LIST = "application/x-sb-transfer-media-list" |
const URI_GENERIC_ICON_XPINSTALL |
Initial value:=
"chrome://songbird/skin/base-elements/icon-generic-addon.png"
Definition at line 57 of file DropHelper.jsm.