| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
| 7 * rights reserved. | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 AtomicString characterSet() const { return Document::encodingName(); } | 360 AtomicString characterSet() const { return Document::encodingName(); } |
| 361 | 361 |
| 362 AtomicString encodingName() const; | 362 AtomicString encodingName() const; |
| 363 | 363 |
| 364 void setContent(const String&); | 364 void setContent(const String&); |
| 365 | 365 |
| 366 String suggestedMIMEType() const; | 366 String suggestedMIMEType() const; |
| 367 void setMimeType(const AtomicString&); | 367 void setMimeType(const AtomicString&); |
| 368 AtomicString contentType() const; // DOM 4 document.contentType | 368 AtomicString contentType() const; // DOM 4 document.contentType |
| 369 | 369 |
| 370 // Content language indicates the language understood by the intended |
| 371 // audience of a page and is specified inside the Content-Language HTTP |
| 372 // header. |
| 370 const AtomicString& contentLanguage() const { return m_contentLanguage; } | 373 const AtomicString& contentLanguage() const { return m_contentLanguage; } |
| 371 void setContentLanguage(const AtomicString&); | 374 void setContentLanguage(const AtomicString&); |
| 372 | 375 |
| 376 // Document language indicates the language of the document and is set in the |
| 377 // lang attribute of the <html> tag |
| 378 const AtomicString& documentLanguage() const; |
| 379 |
| 380 // Returns the values of all <meta> children whose name is a case-insensitive |
| 381 // match for |name|, in order. The standard "content" attribute is preferred |
| 382 // over the non-standard "value" |
| 383 Vector<AtomicString> getMetaValues(const AtomicString& name) const; |
| 384 |
| 373 String xmlEncoding() const { return m_xmlEncoding; } | 385 String xmlEncoding() const { return m_xmlEncoding; } |
| 374 String xmlVersion() const { return m_xmlVersion; } | 386 String xmlVersion() const { return m_xmlVersion; } |
| 375 enum StandaloneStatus { StandaloneUnspecified, Standalone, NotStandalone }; | 387 enum StandaloneStatus { StandaloneUnspecified, Standalone, NotStandalone }; |
| 376 bool xmlStandalone() const { return m_xmlStandalone == Standalone; } | 388 bool xmlStandalone() const { return m_xmlStandalone == Standalone; } |
| 377 StandaloneStatus xmlStandaloneStatus() const { | 389 StandaloneStatus xmlStandaloneStatus() const { |
| 378 return static_cast<StandaloneStatus>(m_xmlStandalone); | 390 return static_cast<StandaloneStatus>(m_xmlStandalone); |
| 379 } | 391 } |
| 380 bool hasXMLDeclaration() const { return m_hasXMLDeclaration; } | 392 bool hasXMLDeclaration() const { return m_hasXMLDeclaration; } |
| 381 | 393 |
| 382 void setXMLEncoding(const String& encoding) { | 394 void setXMLEncoding(const String& encoding) { |
| (...skipping 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1717 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1729 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1718 | 1730 |
| 1719 } // namespace blink | 1731 } // namespace blink |
| 1720 | 1732 |
| 1721 #ifndef NDEBUG | 1733 #ifndef NDEBUG |
| 1722 // Outside the WebCore namespace for ease of invocation from gdb. | 1734 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1723 CORE_EXPORT void showLiveDocumentInstances(); | 1735 CORE_EXPORT void showLiveDocumentInstances(); |
| 1724 #endif | 1736 #endif |
| 1725 | 1737 |
| 1726 #endif // Document_h | 1738 #endif // Document_h |
| OLD | NEW |