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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataTransferItem.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/DataTransferItem.idl
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransferItem.idl b/third_party/WebKit/Source/core/clipboard/DataTransferItem.idl
index f30a2ca71e0059420af7d81a84681153c99eef60..14422d3ace178c80df61d2472589b6f94060b119 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransferItem.idl
+++ b/third_party/WebKit/Source/core/clipboard/DataTransferItem.idl
@@ -31,10 +31,10 @@
// https://html.spec.whatwg.org/#the-datatransferitem-interface
interface DataTransferItem {
- readonly attribute DOMString kind;
- readonly attribute DOMString type;
+ [Measure] readonly attribute DOMString kind;
+ [Measure] readonly attribute DOMString type;
// TODO(foolip): The callback argument should be a FunctionStringCallback.
- [CallWith=ExecutionContext] void getAsString(StringCallback? callback);
+ [CallWith=ExecutionContext, Measure] void getAsString(StringCallback? callback);
// TODO(foolip): getAsFile() should return a File object. crbug.com/361145
- Blob? getAsFile();
+ [Measure] Blob? getAsFile();
};

Powered by Google App Engine
This is Rietveld 408576698