Index: core/timing/PerformanceCompositeTiming.idl |
diff --git a/core/clipboard/DataTransferItem.idl b/core/timing/PerformanceCompositeTiming.idl |
similarity index 78% |
copy from core/clipboard/DataTransferItem.idl |
copy to core/timing/PerformanceCompositeTiming.idl |
index 32e69045344e490ab6f237f19af48cdf7683aa19..60eb0754bb0dedb95e9edd8169acc7c3508a23e2 100644 |
--- a/core/clipboard/DataTransferItem.idl |
+++ b/core/timing/PerformanceCompositeTiming.idl |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2011 Google Inc. All rights reserved. |
+ * Copyright (C) 2015 Google Inc. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions are |
@@ -28,14 +28,12 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-[ |
- WillBeGarbageCollected, |
- NoInterfaceObject |
-] interface DataTransferItem { |
- readonly attribute DOMString kind; |
- readonly attribute DOMString type; |
+// https://w3c.github.io/frame-timing/#performancecompositetiming |
- [CallWith=ExecutionContext] void getAsString(StringCallback? callback); |
- Blob getAsFile(); |
+[ |
+ RuntimeEnabled=FrameTimingSupport // Experimental flag |
+] interface PerformanceCompositeTiming : PerformanceEntry { |
+ // TODO(philipj): This is named |sourceFrameNumber| in the spec. |
+ readonly attribute unsigned long sourceFrame; |
+ // TODO(philipj): serializer = {inherit, attribute}; |
}; |
- |