Chromium Code Reviews| Index: Source/core/dom/Document.h |
| diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
| index ff8de6407bb41b0f7bc41229f1799f4e54f9e066..d5929525edef64a4c34996460c234b4cafac7b32 100644 |
| --- a/Source/core/dom/Document.h |
| +++ b/Source/core/dom/Document.h |
| @@ -911,6 +911,7 @@ public: |
| bool loadEventFinished() const { return m_loadEventProgress >= LoadEventCompleted; } |
| bool unloadStarted() const { return m_loadEventProgress >= PageHideInProgress; } |
| bool processingBeforeUnload() const { return m_loadEventProgress == BeforeUnloadEventInProgress; } |
| + bool shouldFireLoadingEvents() const { return m_loadEventProgress == LoadEventCompleted; } |
|
Nate Chapin
2015/03/06 18:22:20
This name seems overly specific to its usage. isNo
Fabrice (no longer in Chrome)
2015/03/06 18:39:13
I kinda like it because it's only really supposed
|
| void suppressLoadEvent(); |
| void setContainsPlugins() { m_containsPlugins = true; } |