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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.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: address review comment 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/PerformanceLongTaskTiming.idl
diff --git a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl b/third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.idl
similarity index 51%
copy from third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl
copy to third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.idl
index a708fe9d584602804241d0e8390453ab54af643d..6a01208bfb619af9aa059cb19a3e90962715d3a6 100644
--- a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl
+++ b/third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.idl
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// https://github.com/spanicker/longtasks
[
- RuntimeEnabled=CompositorWorker,
-] partial interface Window {
- readonly attribute Worklet animationWorklet;
+ RuntimeEnabled=LongTaskObserver // Experimental flag
+] interface PerformanceLongTaskTiming : PerformanceEntry {
};

Powered by Google App Engine
This is Rietveld 408576698