Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index dc9f9faa7a925e9274be4954385f38444b20b0ed..f1aa70a6cea3bc74dc1a69a635f44aff98971c3b 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -900,6 +900,7 @@ public: |
bool processingLoadEvent() const { return m_loadEventProgress == LoadEventInProgress; } |
bool loadEventFinished() const { return m_loadEventProgress >= LoadEventCompleted; } |
bool unloadStarted() const { return m_loadEventProgress >= PageHideInProgress; } |
+ bool processingBeforeUnload() const { return m_loadEventProgress == BeforeUnloadEventInProgress; } |
kouhei (in TOK)
2014/10/07 23:21:18
Please don't add a new one. I think we can use !un
Mayur Kankanwadi
2014/10/08 10:14:24
unloadStarted even includes PageHideInProgress, wh
kouhei (in TOK)
2014/10/09 06:45:46
Acknowledged.
|
void setContainsPlugins() { m_containsPlugins = true; } |
bool containsPlugins() const { return m_containsPlugins; } |