Index: third_party/WebKit/Source/core/dom/DocumentLifecycle.h |
diff --git a/third_party/WebKit/Source/core/dom/DocumentLifecycle.h b/third_party/WebKit/Source/core/dom/DocumentLifecycle.h |
index d111b1d694812eb3fb15ba74d66621215011e02b..8f7913bb928d8a52a7417072582dfd7d57bde07d 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentLifecycle.h |
+++ b/third_party/WebKit/Source/core/dom/DocumentLifecycle.h |
@@ -134,6 +134,8 @@ public: |
DocumentLifecycle& m_documentLifecycle; |
}; |
+ enum class ThrottlingMode { Disallow, Allow }; |
+ |
DocumentLifecycle(); |
~DocumentLifecycle(); |
@@ -157,6 +159,9 @@ public: |
m_detachCount--; |
} |
+ void setThrottlingMode(ThrottlingMode); |
+ ThrottlingMode throttlingMode() const; |
esprehn
2015/10/14 22:09:46
You want to add a ThrottleScope, just like the Det
Sami
2015/10/16 16:48:08
Done.
|
+ |
#if ENABLE(ASSERT) |
static const char* stateAsDebugString(const State); |
#endif |