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

Side by Side Diff: Source/core/clipboard/DataTransfer.idl

Issue 1175223003: TreatReturnedNullStringAs=undefined removed from DataTransfer.idl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebaseline Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « LayoutTests/fast/events/bogus-dropEffect-effectAllowed-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 13 matching lines...) Expand all
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 // https://html.spec.whatwg.org/#the-datatransfer-interface 29 // https://html.spec.whatwg.org/#the-datatransfer-interface
30 30
31 [ 31 [
32 GarbageCollected 32 GarbageCollected
33 ] interface DataTransfer { 33 ] interface DataTransfer {
34 // TODO(philipj): Remove [TreatReturnedNullStringAs=Undefined]. 34 attribute DOMString dropEffect;
35 [TreatReturnedNullStringAs=Undefined] attribute DOMString dropEffect; 35 attribute DOMString effectAllowed;
36 [TreatReturnedNullStringAs=Undefined] attribute DOMString effectAllowed;
37 36
38 [SameObject] readonly attribute DataTransferItemList items; 37 [SameObject] readonly attribute DataTransferItemList items;
39 38
40 [RaisesException] void setDragImage(Element image, long x, long y); 39 [RaisesException] void setDragImage(Element image, long x, long y);
41 40
42 /* old interface */ 41 /* old interface */
43 [SameObject] readonly attribute DOMString[] types; 42 [SameObject] readonly attribute DOMString[] types;
44 DOMString getData(DOMString format); 43 DOMString getData(DOMString format);
45 void setData(DOMString format, DOMString data); 44 void setData(DOMString format, DOMString data);
46 void clearData(optional DOMString format); 45 void clearData(optional DOMString format);
47 [SameObject] readonly attribute FileList files; 46 [SameObject] readonly attribute FileList files;
48 }; 47 };
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/bogus-dropEffect-effectAllowed-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698