Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index ef537230494f44b52664a755b51eb2e6bb5cdd5d..f5306dc607baa57d1be6289eca7c8f8b1b569d05 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -359,6 +359,8 @@ public: |
void setContent(const String&); |
String suggestedMIMEType() const; |
+ void setMimeType(const AtomicString&); |
+ AtomicString contentType() const; // DOM 4 document.contentType |
const AtomicString& contentLanguage() const { return m_contentLanguage; } |
void setContentLanguage(const AtomicString&); |
@@ -1170,6 +1172,9 @@ private: |
AtomicString m_baseTarget; |
+ // Mime-type of the document in case it was cloned or created by XHR. |
+ AtomicString m_mimeType; |
+ |
RefPtr<DocumentType> m_docType; |
OwnPtr<DOMImplementation> m_implementation; |