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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataTransferItemList.idl

Issue 2526943002: Add use counters for lots of DOM APIs.
Patch Set: Add use counters for lots of DOM APIs. Created 4 years 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
Index: third_party/WebKit/Source/core/clipboard/DataTransferItemList.idl
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransferItemList.idl b/third_party/WebKit/Source/core/clipboard/DataTransferItemList.idl
index a38c0578d1027f1cba0250e46eb39f2486129e91..c2b0d6416e3c7c6a062c02249f31b2ae0ada4a03 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransferItemList.idl
+++ b/third_party/WebKit/Source/core/clipboard/DataTransferItemList.idl
@@ -31,10 +31,10 @@
// https://html.spec.whatwg.org/#the-datatransferitemlist-interface
interface DataTransferItemList {
- readonly attribute unsigned long length;
- [ImplementedAs=item] getter DataTransferItem (unsigned long index);
- [RaisesException] DataTransferItem? add(DOMString data, DOMString type);
- DataTransferItem? add(File file);
- [RaisesException, ImplementedAs=deleteItem] void remove(unsigned long index);
- void clear();
+ [MeasureAs=DataTransferItemListAPI] readonly attribute unsigned long length;
+ [ImplementedAs=item, MeasureAs=DataTransferItemListAPI] getter DataTransferItem (unsigned long index);
+ [RaisesException, MeasureAs=DataTransferItemListAPI] DataTransferItem? add(DOMString data, DOMString type);
+ [MeasureAs=DataTransferItemListAPI] DataTransferItem? add(File file);
+ [RaisesException, ImplementedAs=deleteItem, MeasureAs=DataTransferItemListAPI] void remove(unsigned long index);
+ [MeasureAs=DataTransferItemListAPI] void clear();
};
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataTransferItem.idl ('k') | third_party/WebKit/Source/core/css/CSS.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698