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

Side by Side Diff: third_party/WebKit/Source/core/timing/Performance.idl

Issue 2549633002: rewrite spec links with http: to https: and fix known Javascript redirected links (Closed)
Patch Set: Fix frame-timing link 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 11 matching lines...) Expand all
22 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 // https://w3c.github.io/hr-time/#the-performance-interface 32 // https://wicg.github.io/hr-time/#the-performance-interface
foolip 2016/12/02 09:55:29 That's a 404, https://w3c.github.io/hr-time/#the-p
Mark Dittmer 2016/12/02 14:05:45 Done.
33 33
34 // TODO(foolip): This interface should be [Exposed=(Window,Worker)]. Doing that 34 // TODO(foolip): This interface should be [Exposed=(Window,Worker)]. Doing that
35 // would allow the WorkerPerformance interface to be merged into this. 35 // would allow the WorkerPerformance interface to be merged into this.
36 // TODO(foolip): None of the optional DOMString arguments in this interface 36 // TODO(foolip): None of the optional DOMString arguments in this interface
37 // should have a default value. 37 // should have a default value.
38 interface Performance : EventTarget { 38 interface Performance : EventTarget {
39 DOMHighResTimeStamp now(); 39 DOMHighResTimeStamp now();
40 40
41 // Performance Timeline 41 // Performance Timeline
42 // https://w3c.github.io/performance-timeline/#the-performance-interface 42 // https://w3c.github.io/performance-timeline/#the-performance-interface
(...skipping 20 matching lines...) Expand all
63 63
64 // User Timing 64 // User Timing
65 // https://w3c.github.io/user-timing/#extensions-performance-interface 65 // https://w3c.github.io/user-timing/#extensions-performance-interface
66 [MeasureAs=UnprefixedUserTiming, RaisesException] void mark(DOMString markNa me); 66 [MeasureAs=UnprefixedUserTiming, RaisesException] void mark(DOMString markNa me);
67 [MeasureAs=UnprefixedUserTiming] void clearMarks(optional DOMString markName = null); 67 [MeasureAs=UnprefixedUserTiming] void clearMarks(optional DOMString markName = null);
68 68
69 [MeasureAs=UnprefixedUserTiming, RaisesException] void measure(DOMString mea sureName, optional DOMString startMark = null, optional DOMString endMark = null ); 69 [MeasureAs=UnprefixedUserTiming, RaisesException] void measure(DOMString mea sureName, optional DOMString startMark = null, optional DOMString endMark = null );
70 [MeasureAs=UnprefixedUserTiming] void clearMeasures(optional DOMString measu reName = null); 70 [MeasureAs=UnprefixedUserTiming] void clearMeasures(optional DOMString measu reName = null);
71 71
72 // Frame Timing 72 // Frame Timing
73 // https://w3c.github.io/frame-timing/#extensions-performance-interface 73 // https://wicg.github.io/frame-timing/#extensions-performance-interface
foolip 2016/12/02 09:55:29 Not a 404, so I guess the above was accidental sea
Mark Dittmer 2016/12/02 14:05:45 Done.
74 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void c learFrameTimings(); 74 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void c learFrameTimings();
75 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void s etFrameTimingBufferSize(unsigned long maxSize); 75 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void s etFrameTimingBufferSize(unsigned long maxSize);
76 [RuntimeEnabled=FrameTimingSupport] attribute EventHandler onframetimingbuff erfull; 76 [RuntimeEnabled=FrameTimingSupport] attribute EventHandler onframetimingbuff erfull;
77 77
78 // TODO(foolip): There is no spec for the Memory Info API, see blink-dev: 78 // TODO(foolip): There is no spec for the Memory Info API, see blink-dev:
79 // https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJ z71NmPwJ 79 // https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJ z71NmPwJ
80 [Measure] readonly attribute MemoryInfo memory; 80 [Measure] readonly attribute MemoryInfo memory;
81 81
82 serializer = {attribute}; 82 serializer = {attribute};
83 }; 83 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698