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

Side by Side Diff: core/timing/Performance.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « core/timing/MemoryInfo.idl ('k') | core/timing/PerformanceEntry.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 12 matching lines...) Expand all
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 // See: http://www.w3.org/TR/navigation-timing/ 32 // See: http://www.w3.org/TR/navigation-timing/
33 interface Performance : EventTarget { 33 [
34 WillBeGarbageCollected
35 ] interface Performance : EventTarget {
34 readonly attribute PerformanceNavigation navigation; 36 readonly attribute PerformanceNavigation navigation;
35 readonly attribute PerformanceTiming timing; 37 readonly attribute PerformanceTiming timing;
36 readonly attribute MemoryInfo memory; 38 readonly attribute MemoryInfo memory;
37 39
38 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr ies(); 40 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr ies();
39 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr iesByType(DOMString entryType); 41 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr iesByType(DOMString entryType);
40 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr iesByName(DOMString name, [Default=NullString] optional DOMString entryType); 42 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr iesByName(DOMString name, optional DOMString entryType = null);
41 [DeprecateAs=PrefixedPerformanceTimeline,ImplementedAs=getEntries] sequence< PerformanceEntry> webkitGetEntries();
42 [DeprecateAs=PrefixedPerformanceTimeline,ImplementedAs=getEntriesByType] seq uence<PerformanceEntry> webkitGetEntriesByType(DOMString entryType);
43 [DeprecateAs=PrefixedPerformanceTimeline,ImplementedAs=getEntriesByName] seq uence<PerformanceEntry> webkitGetEntriesByName(DOMString name, [Default=NullStri ng] optional DOMString entryType);
44 43
45 void webkitClearResourceTimings(); 44 [MeasureAs=PrefixedPerformanceClearResourceTimings] void webkitClearResource Timings();
46 void webkitSetResourceTimingBufferSize(unsigned long maxSize); 45 [MeasureAs=PrefixedPerformanceSetResourceTimingBufferSize] void webkitSetRes ourceTimingBufferSize(unsigned long maxSize);
47 46
48 attribute EventHandler onwebkitresourcetimingbufferfull; 47 attribute EventHandler onwebkitresourcetimingbufferfull;
49 48
50 // See http://www.w3.org/TR/2012/CR-user-timing-20120726/ 49 // See http://www.w3.org/TR/2012/CR-user-timing-20120726/
51 [RaisesException,MeasureAs=UnprefixedUserTiming] void mark(DOMString markNam e); 50 [RaisesException,MeasureAs=UnprefixedUserTiming] void mark(DOMString markNam e);
52 [MeasureAs=UnprefixedUserTiming] void clearMarks([Default=NullString] option al DOMString markName); 51 [MeasureAs=UnprefixedUserTiming] void clearMarks(optional DOMString markName = null);
53 52
54 [RaisesException,MeasureAs=UnprefixedUserTiming] void measure(DOMString meas ureName, [Default=NullString] optional DOMString startMark, [Default=NullString] optional DOMString endMark); 53 [RaisesException,MeasureAs=UnprefixedUserTiming] void measure(DOMString meas ureName, optional DOMString startMark = null, optional DOMString endMark = null) ;
55 [MeasureAs=UnprefixedUserTiming] void clearMeasures([Default=NullString] opt ional DOMString measureName); 54 [MeasureAs=UnprefixedUserTiming] void clearMeasures(optional DOMString measu reName = null);
56 55
57 // See http://www.w3.org/TR/hr-time/ for details. 56 // See http://www.w3.org/TR/hr-time/ for details.
58 double now(); 57 double now();
59 }; 58 };
60 59
OLDNEW
« no previous file with comments | « core/timing/MemoryInfo.idl ('k') | core/timing/PerformanceEntry.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698