Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: core/clipboard/DataTransferItem.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/clipboard/DataTransfer.idl ('k') | core/clipboard/DataTransferItemList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/clipboard/DataTransferItem.idl
diff --git a/core/clipboard/DataTransferItem.idl b/core/clipboard/DataTransferItem.idl
index 32e69045344e490ab6f237f19af48cdf7683aa19..1328c6ed88a1ae5445a6924af99628108130fec9 100644
--- a/core/clipboard/DataTransferItem.idl
+++ b/core/clipboard/DataTransferItem.idl
@@ -28,14 +28,15 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://html.spec.whatwg.org/#the-datatransferitem-interface
+
[
- WillBeGarbageCollected,
- NoInterfaceObject
+ GarbageCollected,
] interface DataTransferItem {
readonly attribute DOMString kind;
readonly attribute DOMString type;
-
+ // TODO(philipj): The callback argument should be a FunctionStringCallback.
[CallWith=ExecutionContext] void getAsString(StringCallback? callback);
- Blob getAsFile();
+ // TODO(philipj): getAsFile() should return a File object. crbug.com/361145
+ Blob? getAsFile();
};
-
« no previous file with comments | « core/clipboard/DataTransfer.idl ('k') | core/clipboard/DataTransferItemList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698