Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index aa3b0be74a4ce2ceb1aa3b4ef4a2c3fbaf7888b5..c9e83e2c180d006b3cbea44e5f519477128459b3 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -986,6 +986,8 @@ public: |
void addToTopLayer(Element*, const Element* before = 0); |
void removeFromTopLayer(Element*); |
const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayerElements; } |
+ void addToModalDialogStack(HTMLDialogElement*); |
+ void removeFromModalDialogStack(HTMLDialogElement*); |
HTMLDialogElement* activeModalDialog() const; |
const Document* templateDocument() const; |
@@ -1248,6 +1250,7 @@ private: |
bool m_hasFullscreenElementStack; // For early return in FullscreenElementStack::fromIfExists() |
Vector<RefPtr<Element> > m_topLayerElements; |
+ HTMLDialogElement* m_activeModalDialog; |
int m_loadEventDelayCount; |
Timer<Document> m_loadEventDelayTimer; |