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

Unified Diff: third_party/WebKit/Source/core/animation/DocumentTimeline.idl

Issue 2222313002: Implement DocumentTimeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/animation/DocumentTimeline.idl
diff --git a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl b/third_party/WebKit/Source/core/animation/DocumentTimeline.idl
similarity index 51%
copy from third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl
copy to third_party/WebKit/Source/core/animation/DocumentTimeline.idl
index a708fe9d584602804241d0e8390453ab54af643d..62d7b8b844d05c5bd0b11ddab7aeedd4ea1bfcb4 100644
--- a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl
+++ b/third_party/WebKit/Source/core/animation/DocumentTimeline.idl
@@ -2,8 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// http://www.w3.org/TR/web-animations/#the-documenttimeline-interface
+
[
- RuntimeEnabled=CompositorWorker,
-] partial interface Window {
- readonly attribute Worklet animationWorklet;
+ RuntimeEnabled=WebAnimationsAPI,
+] interface DocumentTimeline : AnimationTimeline {
};

Powered by Google App Engine
This is Rietveld 408576698