| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index c00b76e16b0152d8e5b02137c9cafead44dff05b..631ee7bf21fb2968ec594b48cbddebcac4fc683a 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -6042,6 +6042,22 @@ class DataTransfer extends NativeFieldWrapperClass1 {
|
| @DocsEditable
|
| void clearData([String type]) native "Clipboard_clearData_Callback";
|
|
|
| + /**
|
| + * Gets the data for the specified type.
|
| + *
|
| + * The data is only available from within a drop operation (such as an
|
| + * [Element.onDrop] event) and will return `null` before the event is
|
| + * triggered.
|
| + *
|
| + * Data transfer is prohibited across domains. If a drag originates
|
| + * from content from another domain or protocol (HTTP vs HTTPS) then the
|
| + * data cannot be accessed.
|
| + *
|
| + * The [type] can have values such as:
|
| + *
|
| + * * `'Text'`
|
| + * * `'URL'`
|
| + */
|
| @DomName('Clipboard.getData')
|
| @DocsEditable
|
| String getData(String type) native "Clipboard_getData_Callback";
|
|
|