Chromium Code Reviews| 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 731c53693e3aa0c43811af8d91ee4c750681cea8..4f15005d8b83bb6175e06b70b22bb09708757e27 100644 |
| --- a/third_party/WebKit/Source/core/dom/Document.h |
| +++ b/third_party/WebKit/Source/core/dom/Document.h |
| @@ -34,6 +34,7 @@ |
| #include "bindings/core/v8/ExceptionState.h" |
| #include "bindings/core/v8/ScriptValue.h" |
| #include "core/CoreExport.h" |
| +#include "core/animation/WorkletAnimationController.h" |
|
flackr
2017/07/19 19:23:48
We talked about moving this to modules hashed off
flackr
2017/07/21 18:14:25
Actually, on further thought, we will eventually w
|
| #include "core/dom/ContainerNode.h" |
| #include "core/dom/DocumentEncodingData.h" |
| #include "core/dom/DocumentInit.h" |
| @@ -1197,6 +1198,9 @@ class CORE_EXPORT Document : public ContainerNode, |
| CompositorPendingAnimations& GetCompositorPendingAnimations() { |
| return *compositor_pending_animations_; |
| } |
| + WorkletAnimationController& GetWorkletAnimationController() { |
| + return *worklet_animation_controller_; |
| + } |
| void AddToTopLayer(Element*, const Element* before = nullptr); |
| void RemoveFromTopLayer(Element*); |
| @@ -1648,6 +1652,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_; |