Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 822bdd8b2139c24e21bcff53e0b8d9e9df668ff3..c1bee9b4a8ddab2b4518d7521cfcd85efe946880 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -1234,6 +1234,29 @@ PassRefPtr<ClientRect> Internals::bestZoomableAreaForTouchPoint(long x, long y, |
return 0; |
} |
+void Internals::suspendActiveIntervalTimer(Document* document, ExceptionState& exceptionState) |
+{ |
+ if (!document || !document->frame()) |
+ exceptionState.throwUninformativeAndGenericDOMException(InvalidAccessError); |
+ |
+ document->frame()->eventHandler().suspendActiveIntervalTimer(); |
+} |
+ |
+void Internals::resumeActiveIntervalTimer(Document* document, ExceptionState& exceptionState) |
+{ |
+ if (!document || !document->frame()) |
+ exceptionState.throwUninformativeAndGenericDOMException(InvalidAccessError); |
+ |
+ document->frame()->eventHandler().resumeActiveIntervalTimer(); |
+} |
+ |
+void Internals::fireActiveIntervalTimer(Document* document, ExceptionState& exceptionState) |
+{ |
+ if (!document || !document->frame()) |
+ exceptionState.throwUninformativeAndGenericDOMException(InvalidAccessError); |
+ |
+ document->frame()->eventHandler().fireActiveIntervalTimer(); |
+} |
int Internals::lastSpellCheckRequestSequence(Document* document, ExceptionState& exceptionState) |
{ |