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

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

Issue 2572003003: NOT FOR SUBMIT: use counters for jdm@
Patch Set: Merge branch 'jdm-usecounters' into jdm-merge 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/DataTransfer.idl
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransfer.idl b/third_party/WebKit/Source/core/clipboard/DataTransfer.idl
index 7f5d90aa20f086be24905610dbf0a47a3a4b4f15..2fce45f1135b22f3b20f06b1a06c77645ac39c3b 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.idl
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.idl
@@ -29,19 +29,19 @@
// https://html.spec.whatwg.org/#the-datatransfer-interface
interface DataTransfer {
- attribute DOMString dropEffect;
- attribute DOMString effectAllowed;
+ [Measure] attribute DOMString dropEffect;
+ [Measure] attribute DOMString effectAllowed;
- [SameObject] readonly attribute DataTransferItemList items;
+ [SameObject, Measure] readonly attribute DataTransferItemList items;
- void setDragImage(Element image, long x, long y);
+ [Measure] void setDragImage(Element image, long x, long y);
/* old interface */
// TODO(foolip): Switch to FrozenArray<DOMString> when the spec is fixed:
// https://github.com/whatwg/html/issues/11
- [SameObject] readonly attribute DOMString[] types;
- DOMString getData(DOMString format);
- void setData(DOMString format, DOMString data);
- void clearData(optional DOMString format);
- [SameObject] readonly attribute FileList files;
+ [SameObject, Measure] readonly attribute DOMString[] types;
+ [Measure] DOMString getData(DOMString format);
+ [Measure] void setData(DOMString format, DOMString data);
+ [Measure] void clearData(optional DOMString format);
+ [SameObject, Measure] readonly attribute FileList files;
};

Powered by Google App Engine
This is Rietveld 408576698