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

Unified Diff: core/timing/PerformanceCompositeTiming.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/timing/Performance.idl ('k') | core/timing/PerformanceEntry.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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};
};
-
« no previous file with comments | « core/timing/Performance.idl ('k') | core/timing/PerformanceEntry.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698