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

Unified Diff: Source/core/clipboard/DataTransferItem.idl

Issue 1036273002: Sync the DataTransfer* interfaces with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: link to getAsFile() bug Created 5 years, 9 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 | « Source/core/clipboard/DataTransfer.idl ('k') | Source/core/clipboard/DataTransferItemList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/DataTransferItem.idl
diff --git a/Source/core/clipboard/DataTransferItem.idl b/Source/core/clipboard/DataTransferItem.idl
index 3db5e12ffa0309d7a08da45979339ecb818d282e..81012bb001a9fc82c167763f39ea96b5831d4977 100644
--- a/Source/core/clipboard/DataTransferItem.idl
+++ b/Source/core/clipboard/DataTransferItem.idl
@@ -35,8 +35,8 @@
] 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 | « Source/core/clipboard/DataTransfer.idl ('k') | Source/core/clipboard/DataTransferItemList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698