| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 | 319 |
| 320 DOMImplementation& implementation(); | 320 DOMImplementation& implementation(); |
| 321 | 321 |
| 322 Element* documentElement() const { return m_documentElement.get(); } | 322 Element* documentElement() const { return m_documentElement.get(); } |
| 323 | 323 |
| 324 // Returns whether the Document has an AppCache manifest. | 324 // Returns whether the Document has an AppCache manifest. |
| 325 bool hasAppCacheManifest() const; | 325 bool hasAppCacheManifest() const; |
| 326 | 326 |
| 327 Location* location() const; | 327 Location* location() const; |
| 328 | 328 |
| 329 Element* createElement(const AtomicString& name, ExceptionState&); | 329 Element* createElement(const AtomicString& name, |
| 330 ExceptionState& = ASSERT_NO_EXCEPTION); |
| 330 DocumentFragment* createDocumentFragment(); | 331 DocumentFragment* createDocumentFragment(); |
| 331 Text* createTextNode(const String& data); | 332 Text* createTextNode(const String& data); |
| 332 Comment* createComment(const String& data); | 333 Comment* createComment(const String& data); |
| 333 CDATASection* createCDATASection(const String& data, ExceptionState&); | 334 CDATASection* createCDATASection(const String& data, ExceptionState&); |
| 334 ProcessingInstruction* createProcessingInstruction(const String& target, | 335 ProcessingInstruction* createProcessingInstruction(const String& target, |
| 335 const String& data, | 336 const String& data, |
| 336 ExceptionState&); | 337 ExceptionState&); |
| 337 Attr* createAttribute(const AtomicString& name, ExceptionState&); | 338 Attr* createAttribute(const AtomicString& name, ExceptionState&); |
| 338 Attr* createAttributeNS(const AtomicString& namespaceURI, | 339 Attr* createAttributeNS(const AtomicString& namespaceURI, |
| 339 const AtomicString& qualifiedName, | 340 const AtomicString& qualifiedName, |
| (...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1132 void exceptionThrown(ErrorEvent*) final; | 1133 void exceptionThrown(ErrorEvent*) final; |
| 1133 | 1134 |
| 1134 void initDNSPrefetch(); | 1135 void initDNSPrefetch(); |
| 1135 | 1136 |
| 1136 bool isInDocumentWrite() const { return m_writeRecursionDepth > 0; } | 1137 bool isInDocumentWrite() const { return m_writeRecursionDepth > 0; } |
| 1137 | 1138 |
| 1138 TextAutosizer* textAutosizer(); | 1139 TextAutosizer* textAutosizer(); |
| 1139 | 1140 |
| 1140 Element* createElement(const AtomicString& localName, | 1141 Element* createElement(const AtomicString& localName, |
| 1141 const StringOrDictionary&, | 1142 const StringOrDictionary&, |
| 1142 ExceptionState&); | 1143 ExceptionState& = ASSERT_NO_EXCEPTION); |
| 1143 Element* createElementNS(const AtomicString& namespaceURI, | 1144 Element* createElementNS(const AtomicString& namespaceURI, |
| 1144 const AtomicString& qualifiedName, | 1145 const AtomicString& qualifiedName, |
| 1145 const StringOrDictionary&, | 1146 const StringOrDictionary&, |
| 1146 ExceptionState&); | 1147 ExceptionState&); |
| 1147 ScriptValue registerElement( | 1148 ScriptValue registerElement( |
| 1148 ScriptState*, | 1149 ScriptState*, |
| 1149 const AtomicString& name, | 1150 const AtomicString& name, |
| 1150 const ElementRegistrationOptions&, | 1151 const ElementRegistrationOptions&, |
| 1151 ExceptionState&, | 1152 ExceptionState&, |
| 1152 V0CustomElement::NameSet validNames = V0CustomElement::StandardNames); | 1153 V0CustomElement::NameSet validNames = V0CustomElement::StandardNames); |
| (...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1717 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1718 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1718 | 1719 |
| 1719 } // namespace blink | 1720 } // namespace blink |
| 1720 | 1721 |
| 1721 #ifndef NDEBUG | 1722 #ifndef NDEBUG |
| 1722 // Outside the WebCore namespace for ease of invocation from gdb. | 1723 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1723 CORE_EXPORT void showLiveDocumentInstances(); | 1724 CORE_EXPORT void showLiveDocumentInstances(); |
| 1724 #endif | 1725 #endif |
| 1725 | 1726 |
| 1726 #endif // Document_h | 1727 #endif // Document_h |
| OLD | NEW |