| 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 24 matching lines...) Expand all Loading... |
| 35 readonly attribute PerformanceTiming timing; | 35 readonly attribute PerformanceTiming timing; |
| 36 readonly attribute MemoryInfo memory; | 36 readonly attribute MemoryInfo memory; |
| 37 | 37 |
| 38 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr
ies(); | 38 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr
ies(); |
| 39 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr
iesByType(DOMString entryType); | 39 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr
iesByType(DOMString entryType); |
| 40 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr
iesByName(DOMString name, optional DOMString entryType = null); | 40 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr
iesByName(DOMString name, optional DOMString entryType = null); |
| 41 | 41 |
| 42 [MeasureAs=PrefixedPerformanceClearResourceTimings] void webkitClearResource
Timings(); | 42 [MeasureAs=PrefixedPerformanceClearResourceTimings] void webkitClearResource
Timings(); |
| 43 [MeasureAs=PrefixedPerformanceSetResourceTimingBufferSize] void webkitSetRes
ourceTimingBufferSize(unsigned long maxSize); | 43 [MeasureAs=PrefixedPerformanceSetResourceTimingBufferSize] void webkitSetRes
ourceTimingBufferSize(unsigned long maxSize); |
| 44 | 44 |
| 45 [MeasureAs=PrefixedPerformanceClearFrameTimings] void webkitClearFrameTiming
s(); |
| 46 [MeasureAs=PrefixedPerformanceSetFrameTimingBufferSize] void webkitSetFrameT
imingBufferSize(unsigned long maxSize); |
| 47 |
| 45 attribute EventHandler onwebkitresourcetimingbufferfull; | 48 attribute EventHandler onwebkitresourcetimingbufferfull; |
| 46 | 49 |
| 50 attribute EventHandler onwebkitframetimingbufferfull; |
| 51 |
| 47 // See http://www.w3.org/TR/2012/CR-user-timing-20120726/ | 52 // See http://www.w3.org/TR/2012/CR-user-timing-20120726/ |
| 48 [RaisesException,MeasureAs=UnprefixedUserTiming] void mark(DOMString markNam
e); | 53 [RaisesException,MeasureAs=UnprefixedUserTiming] void mark(DOMString markNam
e); |
| 49 [MeasureAs=UnprefixedUserTiming] void clearMarks(optional DOMString markName
= null); | 54 [MeasureAs=UnprefixedUserTiming] void clearMarks(optional DOMString markName
= null); |
| 50 | 55 |
| 51 [RaisesException,MeasureAs=UnprefixedUserTiming] void measure(DOMString meas
ureName, optional DOMString startMark = null, optional DOMString endMark = null)
; | 56 [RaisesException,MeasureAs=UnprefixedUserTiming] void measure(DOMString meas
ureName, optional DOMString startMark = null, optional DOMString endMark = null)
; |
| 52 [MeasureAs=UnprefixedUserTiming] void clearMeasures(optional DOMString measu
reName = null); | 57 [MeasureAs=UnprefixedUserTiming] void clearMeasures(optional DOMString measu
reName = null); |
| 53 | 58 |
| 54 // See http://www.w3.org/TR/hr-time/ for details. | 59 // See http://www.w3.org/TR/hr-time/ for details. |
| 55 double now(); | 60 double now(); |
| 56 }; | 61 }; |
| OLD | NEW |