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

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

Issue 390193003: [not for review] Add Draw entries to window Performance Timeline (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code refactoring in RenderView Created 6 years, 5 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
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 26 matching lines...) Expand all
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, optional DOMString entryType = null); 42 [MeasureAs=UnprefixedPerformanceTimeline] sequence<PerformanceEntry> getEntr iesByName(DOMString name, optional DOMString entryType = null);
43 43
44 [MeasureAs=PrefixedPerformanceClearResourceTimings] void webkitClearResource Timings(); 44 [MeasureAs=PrefixedPerformanceClearResourceTimings] void webkitClearResource Timings();
45 [MeasureAs=PrefixedPerformanceSetResourceTimingBufferSize] void webkitSetRes ourceTimingBufferSize(unsigned long maxSize); 45 [MeasureAs=PrefixedPerformanceSetResourceTimingBufferSize] void webkitSetRes ourceTimingBufferSize(unsigned long maxSize);
46 46
47 [MeasureAs=PrefixedPerformanceClearDrawTimings] void webkitClearDrawTimings( );
48 [MeasureAs=PrefixedPerformanceSetDrawTimingBufferSize] void webkitSetDrawTim ingBufferSize(unsigned long maxSize);
49
47 attribute EventHandler onwebkitresourcetimingbufferfull; 50 attribute EventHandler onwebkitresourcetimingbufferfull;
48 51
52 attribute EventHandler onwebkitdrawtimingbufferfull;
53
49 // See http://www.w3.org/TR/2012/CR-user-timing-20120726/ 54 // See http://www.w3.org/TR/2012/CR-user-timing-20120726/
50 [RaisesException,MeasureAs=UnprefixedUserTiming] void mark(DOMString markNam e); 55 [RaisesException,MeasureAs=UnprefixedUserTiming] void mark(DOMString markNam e);
51 [MeasureAs=UnprefixedUserTiming] void clearMarks(optional DOMString markName = null); 56 [MeasureAs=UnprefixedUserTiming] void clearMarks(optional DOMString markName = null);
52 57
53 [RaisesException,MeasureAs=UnprefixedUserTiming] void measure(DOMString meas ureName, optional DOMString startMark = null, optional DOMString endMark = null) ; 58 [RaisesException,MeasureAs=UnprefixedUserTiming] void measure(DOMString meas ureName, optional DOMString startMark = null, optional DOMString endMark = null) ;
54 [MeasureAs=UnprefixedUserTiming] void clearMeasures(optional DOMString measu reName = null); 59 [MeasureAs=UnprefixedUserTiming] void clearMeasures(optional DOMString measu reName = null);
55 60
56 // See http://www.w3.org/TR/hr-time/ for details. 61 // See http://www.w3.org/TR/hr-time/ for details.
57 double now(); 62 double now();
58 }; 63 };
59 64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698