Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(717)

Unified Diff: Source/core/dom/Document.h

Issue 14467003: Remove ENABLE_DIALOG_ELEMENT (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 36cec8e2c76ca13043c60561005856d3c257b79d..a8548c79f96529ef94442c4c056b92abb35defd3 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -1104,12 +1104,10 @@ public:
// Return a Locale for the default locale if the argument is null or empty.
Locale& getCachedLocale(const AtomicString& locale = nullAtom);
-#if ENABLE(DIALOG_ELEMENT)
void addToTopLayer(Element*);
void removeFromTopLayer(Element*);
const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayerElements; }
Element* activeModalDialog() const { return !m_topLayerElements.isEmpty() ? m_topLayerElements.last().get() : 0; }
-#endif
const Document* templateDocument() const;
Document* ensureTemplateDocument();
@@ -1402,9 +1400,7 @@ private:
LayoutRect m_savedPlaceholderFrameRect;
RefPtr<RenderStyle> m_savedPlaceholderRenderStyle;
-#if ENABLE(DIALOG_ELEMENT)
Vector<RefPtr<Element> > m_topLayerElements;
-#endif
int m_loadEventDelayCount;
Timer<Document> m_loadEventDelayTimer;

Powered by Google App Engine
This is Rietveld 408576698