| OLD | NEW |
| 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 26 matching lines...) Expand all Loading... |
| 37 readonly attribute PerformanceTiming timing; | 37 readonly attribute PerformanceTiming timing; |
| 38 readonly attribute MemoryInfo memory; | 38 readonly attribute MemoryInfo memory; |
| 39 | 39 |
| 40 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr
ies(); | 40 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr
ies(); |
| 41 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr
iesByType(DOMString entryType); | 41 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr
iesByType(DOMString entryType); |
| 42 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr
iesByName(DOMString name, [Default=NullString] optional DOMString entryType); | 42 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr
iesByName(DOMString name, [Default=NullString] optional DOMString entryType); |
| 43 [DeprecateAs=PrefixedPerformanceTimeline,ImplementedAs=getEntries] sequence<
PerformanceEntry> webkitGetEntries(); | 43 [DeprecateAs=PrefixedPerformanceTimeline,ImplementedAs=getEntries] sequence<
PerformanceEntry> webkitGetEntries(); |
| 44 [DeprecateAs=PrefixedPerformanceTimeline,ImplementedAs=getEntriesByType] seq
uence<PerformanceEntry> webkitGetEntriesByType(DOMString entryType); | 44 [DeprecateAs=PrefixedPerformanceTimeline,ImplementedAs=getEntriesByType] seq
uence<PerformanceEntry> webkitGetEntriesByType(DOMString entryType); |
| 45 [DeprecateAs=PrefixedPerformanceTimeline,ImplementedAs=getEntriesByName] seq
uence<PerformanceEntry> webkitGetEntriesByName(DOMString name, [Default=NullStri
ng] optional DOMString entryType); | 45 [DeprecateAs=PrefixedPerformanceTimeline,ImplementedAs=getEntriesByName] seq
uence<PerformanceEntry> webkitGetEntriesByName(DOMString name, [Default=NullStri
ng] optional DOMString entryType); |
| 46 | 46 |
| 47 void webkitClearResourceTimings(); | 47 [MeasureAs=PrefixedPerformanceClearResourceTimings] void webkitClearResource
Timings(); |
| 48 void webkitSetResourceTimingBufferSize(unsigned long maxSize); | 48 [MeasureAs=PrefixedPerformanceSetResourceTimingBufferSize] void webkitSetRes
ourceTimingBufferSize(unsigned long maxSize); |
| 49 | 49 |
| 50 attribute EventHandler onwebkitresourcetimingbufferfull; | 50 attribute EventHandler onwebkitresourcetimingbufferfull; |
| 51 | 51 |
| 52 // See http://www.w3.org/TR/2012/CR-user-timing-20120726/ | 52 // See http://www.w3.org/TR/2012/CR-user-timing-20120726/ |
| 53 [RaisesException,MeasureAs=UnprefixedUserTiming] void mark(DOMString markNam
e); | 53 [RaisesException,MeasureAs=UnprefixedUserTiming] void mark(DOMString markNam
e); |
| 54 [MeasureAs=UnprefixedUserTiming] void clearMarks([Default=NullString] option
al DOMString markName); | 54 [MeasureAs=UnprefixedUserTiming] void clearMarks([Default=NullString] option
al DOMString markName); |
| 55 | 55 |
| 56 [RaisesException,MeasureAs=UnprefixedUserTiming] void measure(DOMString meas
ureName, [Default=NullString] optional DOMString startMark, [Default=NullString]
optional DOMString endMark); | 56 [RaisesException,MeasureAs=UnprefixedUserTiming] void measure(DOMString meas
ureName, [Default=NullString] optional DOMString startMark, [Default=NullString]
optional DOMString endMark); |
| 57 [MeasureAs=UnprefixedUserTiming] void clearMeasures([Default=NullString] opt
ional DOMString measureName); | 57 [MeasureAs=UnprefixedUserTiming] void clearMeasures([Default=NullString] opt
ional DOMString measureName); |
| 58 | 58 |
| 59 // See http://www.w3.org/TR/hr-time/ for details. | 59 // See http://www.w3.org/TR/hr-time/ for details. |
| 60 double now(); | 60 double now(); |
| 61 }; | 61 }; |
| 62 | 62 |
| OLD | NEW |