| Index: third_party/WebKit/Source/core/dom/Document.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
|
| index 92c145998e359219f57d29780fc5d3af6d0a28d0..034be3acac0bb83814c3edce4cc645cc6ea9f923 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.h
|
| +++ b/third_party/WebKit/Source/core/dom/Document.h
|
| @@ -171,6 +171,8 @@ class TreeWalker;
|
| class V8NodeFilterCondition;
|
| class VisitedLinkState;
|
| class WebMouseEvent;
|
| +class WorkletAnimationBase;
|
| +class WorkletAnimationController;
|
| struct AnnotatedRegionValue;
|
| struct FocusParams;
|
| struct IconURL;
|
| @@ -1134,6 +1136,12 @@ class CORE_EXPORT Document : public ContainerNode,
|
| void CancelAnimationFrame(int id);
|
| void ServiceScriptedAnimations(double monotonic_animation_start_time);
|
|
|
| + WorkletAnimationController& GetWorkletAnimationController() {
|
| + return *worklet_animation_controller_;
|
| + }
|
| + void RegisterWorkletAnimation(WorkletAnimationBase*);
|
| + void DeregisterWorkletAnimation(WorkletAnimationBase*);
|
| +
|
| int RequestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&);
|
| void CancelIdleCallback(int id);
|
|
|
| @@ -1654,6 +1662,7 @@ class CORE_EXPORT Document : public ContainerNode,
|
|
|
| Member<DocumentTimeline> timeline_;
|
| Member<CompositorPendingAnimations> compositor_pending_animations_;
|
| + Member<WorkletAnimationController> worklet_animation_controller_;
|
|
|
| Member<Document> template_document_;
|
| Member<Document> template_document_host_;
|
|
|