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

Unified Diff: third_party/WebKit/Source/core/timing/Performance.idl

Issue 2244813002: LongTaskTiming: add idl, Experiment flag, PerformanceEntry and basic implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge issue in flags Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/timing/Performance.idl
diff --git a/third_party/WebKit/Source/core/timing/Performance.idl b/third_party/WebKit/Source/core/timing/Performance.idl
index 5950cfb60eecbe74c9cc292ddc903004d029dbc7..b4b884371d562465ccdeca03ba261f319b8d5178 100644
--- a/third_party/WebKit/Source/core/timing/Performance.idl
+++ b/third_party/WebKit/Source/core/timing/Performance.idl
@@ -76,6 +76,11 @@
[RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void setFrameTimingBufferSize(unsigned long maxSize);
[RuntimeEnabled=FrameTimingSupport] attribute EventHandler onframetimingbufferfull;
+ // Long Task Timing
+ [RuntimeEnabled=LongTaskObserver] void clearLongTaskTimings();
+ [RuntimeEnabled=LongTaskObserver] void setLongTaskTimingBufferSize(unsigned long maxSize);
+ [RuntimeEnabled=LongTaskObserver] attribute EventHandler onlongtasktimingbufferfull;
+
// TODO(foolip): There is no spec for the Memory Info API, see blink-dev:
// https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJz71NmPwJ
[Measure] readonly attribute MemoryInfo memory;
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTypeNames.in ('k') | third_party/WebKit/Source/core/timing/PerformanceBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698