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

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

Issue 144063004: Add support for DOM4's XMLDocument interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove FIXME about XMLDocument.load() Created 6 years, 11 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
« no previous file with comments | « Source/core/dom/DOMImplementation.idl ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index d1e26bbd0596610740e339b76fb92f06ee9ee953..54f72b83b35fc28cfcb86b93a920908b0e11571e 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -206,6 +206,7 @@ enum DocumentClass {
PluginDocumentClass = 1 << 3,
MediaDocumentClass = 1 << 4,
SVGDocumentClass = 1 << 5,
+ XMLDocumentClass = 1 << 6,
};
typedef unsigned char DocumentClassFlags;
@@ -217,10 +218,6 @@ public:
{
return adoptRef(new Document(initializer));
}
- static PassRefPtr<Document> createXHTML(const DocumentInit& initializer = DocumentInit())
- {
- return adoptRef(new Document(initializer, XHTMLDocumentClass));
- }
virtual ~Document();
MediaQueryMatcher& mediaQueryMatcher();
@@ -383,6 +380,7 @@ public:
bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; }
bool isXHTMLDocument() const { return m_documentClasses & XHTMLDocumentClass; }
+ bool isXMLDocument() const { return m_documentClasses & XMLDocumentClass; }
bool isImageDocument() const { return m_documentClasses & ImageDocumentClass; }
bool isSVGDocument() const { return m_documentClasses & SVGDocumentClass; }
bool isPluginDocument() const { return m_documentClasses & PluginDocumentClass; }
« no previous file with comments | « Source/core/dom/DOMImplementation.idl ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698