| 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 HTMLCollection* applets(); | 408 HTMLCollection* applets(); |
| 409 HTMLCollection* links(); | 409 HTMLCollection* links(); |
| 410 HTMLCollection* forms(); | 410 HTMLCollection* forms(); |
| 411 HTMLCollection* anchors(); | 411 HTMLCollection* anchors(); |
| 412 HTMLCollection* scripts(); | 412 HTMLCollection* scripts(); |
| 413 HTMLAllCollection* all(); | 413 HTMLAllCollection* all(); |
| 414 | 414 |
| 415 HTMLCollection* windowNamedItems(const AtomicString& name); | 415 HTMLCollection* windowNamedItems(const AtomicString& name); |
| 416 DocumentNameCollection* documentNamedItems(const AtomicString& name); | 416 DocumentNameCollection* documentNamedItems(const AtomicString& name); |
| 417 | 417 |
| 418 // "defaultView" attribute defined in HTML spec. | |
| 419 LocalDOMWindow* defaultView() const; | |
| 420 | |
| 421 bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; } | 418 bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; } |
| 422 bool isXHTMLDocument() const { | 419 bool isXHTMLDocument() const { |
| 423 return m_documentClasses & XHTMLDocumentClass; | 420 return m_documentClasses & XHTMLDocumentClass; |
| 424 } | 421 } |
| 425 bool isXMLDocument() const { return m_documentClasses & XMLDocumentClass; } | 422 bool isXMLDocument() const { return m_documentClasses & XMLDocumentClass; } |
| 426 bool isImageDocument() const { | 423 bool isImageDocument() const { |
| 427 return m_documentClasses & ImageDocumentClass; | 424 return m_documentClasses & ImageDocumentClass; |
| 428 } | 425 } |
| 429 bool isSVGDocument() const { return m_documentClasses & SVGDocumentClass; } | 426 bool isSVGDocument() const { return m_documentClasses & SVGDocumentClass; } |
| 430 bool isPluginDocument() const { | 427 bool isPluginDocument() const { |
| (...skipping 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1724 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1725 | 1722 |
| 1726 } // namespace blink | 1723 } // namespace blink |
| 1727 | 1724 |
| 1728 #ifndef NDEBUG | 1725 #ifndef NDEBUG |
| 1729 // Outside the WebCore namespace for ease of invocation from gdb. | 1726 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1730 CORE_EXPORT void showLiveDocumentInstances(); | 1727 CORE_EXPORT void showLiveDocumentInstances(); |
| 1731 #endif | 1728 #endif |
| 1732 | 1729 |
| 1733 #endif // Document_h | 1730 #endif // Document_h |
| OLD | NEW |