XUL:Specs:TransferData: Difference between revisions

(another possible api for drag/drop)
Line 184: Line 184:
{
{
   readonly attribute nsIDOMDataTransferList dataTransferList;
   readonly attribute nsIDOMDataTransferList dataTransferList;
  attribute unsigned long flags; // probably not needed
  attribute nsIScriptableRegion dragRegion;
}
}


Line 196: Line 200:


   nsIVariant getAny(in unsigned long index);
   nsIVariant getAny(in unsigned long index);
  // these could go in the event
  attribute unsigned long flags;
  attribute nsIScriptableRegion dragRegion;


   readonly attribute nsITransferable transferable;
   readonly attribute nsITransferable transferable;


   [noscript] nsIDOMNSDataTransfer clone(in PRUint32 aEventType);
   [noscript] nsIDOMNSDataTransfer clone(in PRUint32 aEventType);
  [noscript] void allowAnyAccess();
}
}


Line 227: Line 226:


   readonly attribute nsIDOMDOMStringList formats;
   readonly attribute nsIDOMDOMStringList formats;
  [noscript] void allowAnyAccess(); // probably not needed
}
}
</pre>
</pre>
287

edits