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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 12092114: Documenting misleading DataTransfer API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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:
Download patch
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index fa018931621c5a3aed08d0e726ea9903aae0da69..4cfd36899f8f499391038e968a0850fde126c8ac 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -5828,6 +5828,12 @@ class DataTransfer native "*Clipboard" {
@DocsEditable
void clearData([String type]) native;
+ /**
+ * Gets the data for the specified MIME type.
Andrei Mouravski 2013/02/01 18:23:21 Do we want to add more data like here: http://msdn
+ *
+ * The data is only available from within a drop operation (such as an
+ * onDrop event) and will return `null` before then.
Andrei Mouravski 2013/02/01 18:23:21 Can you please add an example?
+ */
@DomName('Clipboard.getData')
@DocsEditable
String getData(String type) native;
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698