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

Unified Diff: core/timing/Performance.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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/ConsoleMemory.idl ('k') | core/timing/PerformanceNavigation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/timing/Performance.idl
diff --git a/core/timing/Performance.idl b/core/timing/Performance.idl
index 6a8fab6b0030ec60e72d6f7d0230919d69f66bae..44eccbc2d6e002ba8376918f8b1dc75908365eb7 100644
--- a/core/timing/Performance.idl
+++ b/core/timing/Performance.idl
@@ -35,7 +35,9 @@
// would allow the WorkerPerformance interface to be merged into this.
// TODO(philipj): None of the optional DOMString arguments in this interface
// should have a default value.
-interface Performance : EventTarget {
+[
+ GarbageCollected
+] interface Performance : EventTarget {
DOMHighResTimeStamp now();
// Performance Timeline
@@ -47,19 +49,19 @@ interface Performance : EventTarget {
// Resource Timing
// https://w3c.github.io/resource-timing/#extensions-performance-interface
- // TODO(philipj): Unprefix these APIs.
- [MeasureAs=PrefixedPerformanceClearResourceTimings] void webkitClearResourceTimings();
- [MeasureAs=PrefixedPerformanceSetResourceTimingBufferSize] void webkitSetResourceTimingBufferSize(unsigned long maxSize);
- attribute EventHandler onwebkitresourcetimingbufferfull;
+ void clearResourceTimings();
+ void setResourceTimingBufferSize(unsigned long maxSize);
+ attribute EventHandler onresourcetimingbufferfull;
+
+ // TODO(ksakamoto): Remove these prefixed APIs.
+ [DeprecateAs=PrefixedPerformanceClearResourceTimings, ImplementedAs=clearResourceTimings] void webkitClearResourceTimings();
+ [DeprecateAs=PrefixedPerformanceSetResourceTimingBufferSize, ImplementedAs=setResourceTimingBufferSize] void webkitSetResourceTimingBufferSize(unsigned long maxSize);
+ [DeprecateAs=PrefixedPerformanceResourceTimingBufferFull] attribute EventHandler onwebkitresourcetimingbufferfull;
// Navigation Timing
- // http://www.w3.org/TR/navigation-timing/#sec-window.performance-attribute
- // TODO(philipj): The Navigation Timing Rec. defines the (not partial)
- // Performance interface, while https://w3c.github.io/navigation-timing/ has
- // changed the interface in an incompatible way:
- // https://github.com/w3c/navigation-timing/issues/22
- [Measure] readonly attribute PerformanceTiming timing;
- [Measure] readonly attribute PerformanceNavigation navigation;
+ // https://w3c.github.io/navigation-timing/#extensions-to-the-performance-interface
+ [SameObject, Measure] readonly attribute PerformanceTiming timing;
+ [SameObject, Measure] readonly attribute PerformanceNavigation navigation;
// User Timing
// https://w3c.github.io/user-timing/#extensions-performance-interface
« no previous file with comments | « core/timing/ConsoleMemory.idl ('k') | core/timing/PerformanceNavigation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698