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

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

Issue 908453003: Blink changes to record interest rects for http://w3c.github.io/frame-timing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update LayoutTests for new properties Created 5 years, 7 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
« no previous file with comments | « Source/core/timing/Performance.cpp ('k') | Source/core/timing/PerformanceCompositeTiming.h » ('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 24 matching lines...) Expand all
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=PerformanceFrameTiming,RuntimeEnabled=FrameTimingSupport] void cl earFrameTimings();
46 [MeasureAs=PerformanceFrameTiming,RuntimeEnabled=FrameTimingSupport] void se tFrameTimingBufferSize(unsigned long maxSize);
47
45 attribute EventHandler onwebkitresourcetimingbufferfull; 48 attribute EventHandler onwebkitresourcetimingbufferfull;
46 49
50 [RuntimeEnabled=FrameTimingSupport] attribute EventHandler onframetimingbuff erfull;
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 };
OLDNEW
« no previous file with comments | « Source/core/timing/Performance.cpp ('k') | Source/core/timing/PerformanceCompositeTiming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698