| Index: Source/core/dom/Document.h
|
| diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
|
| index ce3b318d6c560de10df79caf26d868fb81575165..3dfc1302846d53e602e5e236136722629a754c9c 100644
|
| --- a/Source/core/dom/Document.h
|
| +++ b/Source/core/dom/Document.h
|
| @@ -122,6 +122,7 @@ class HTMLImportsController;
|
| class HTMLLinkElement;
|
| class HTMLScriptElement;
|
| class HitTestRequest;
|
| +class IdleRequestCallback;
|
| class InputDevice;
|
| class LayoutPoint;
|
| class LiveNodeListBase;
|
| @@ -146,6 +147,7 @@ class SVGUseElement;
|
| class ScriptRunner;
|
| class ScriptableDocumentParser;
|
| class ScriptedAnimationController;
|
| +class ScriptedIdleTaskController;
|
| class SecurityOrigin;
|
| class SegmentedString;
|
| class SelectorQueryCache;
|
| @@ -923,6 +925,9 @@ public:
|
| void cancelAnimationFrame(int id);
|
| void serviceScriptedAnimations(double monotonicAnimationStartTime);
|
|
|
| + int requestIdleCallback(IdleRequestCallback*, double timeoutMillis);
|
| + void cancelIdleCallback(int id);
|
| +
|
| EventTarget* errorEventTarget() final;
|
| void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack>) final;
|
|
|
| @@ -1064,6 +1069,7 @@ private:
|
| bool isElementNode() const = delete; // This will catch anyone doing an unnecessary check.
|
|
|
| ScriptedAnimationController& ensureScriptedAnimationController();
|
| + ScriptedIdleTaskController& ensureScriptedIdleTaskController();
|
| SecurityContext& securityContext() final { return *this; }
|
| EventQueue* eventQueue() const final;
|
|
|
| @@ -1338,6 +1344,7 @@ private:
|
| unsigned m_writeRecursionDepth;
|
|
|
| RefPtrWillBeMember<ScriptedAnimationController> m_scriptedAnimationController;
|
| + RefPtrWillBeMember<ScriptedIdleTaskController> m_scriptedIdleTaskController;
|
| OwnPtr<MainThreadTaskRunner> m_taskRunner;
|
| OwnPtrWillBeMember<TextAutosizer> m_textAutosizer;
|
|
|
|
|