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 |
418 bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; } | 421 bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; } |
419 bool isXHTMLDocument() const { | 422 bool isXHTMLDocument() const { |
420 return m_documentClasses & XHTMLDocumentClass; | 423 return m_documentClasses & XHTMLDocumentClass; |
421 } | 424 } |
422 bool isXMLDocument() const { return m_documentClasses & XMLDocumentClass; } | 425 bool isXMLDocument() const { return m_documentClasses & XMLDocumentClass; } |
423 bool isImageDocument() const { | 426 bool isImageDocument() const { |
424 return m_documentClasses & ImageDocumentClass; | 427 return m_documentClasses & ImageDocumentClass; |
425 } | 428 } |
426 bool isSVGDocument() const { return m_documentClasses & SVGDocumentClass; } | 429 bool isSVGDocument() const { return m_documentClasses & SVGDocumentClass; } |
427 bool isPluginDocument() const { | 430 bool isPluginDocument() const { |
(...skipping 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1724 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1722 | 1725 |
1723 } // namespace blink | 1726 } // namespace blink |
1724 | 1727 |
1725 #ifndef NDEBUG | 1728 #ifndef NDEBUG |
1726 // Outside the WebCore namespace for ease of invocation from gdb. | 1729 // Outside the WebCore namespace for ease of invocation from gdb. |
1727 CORE_EXPORT void showLiveDocumentInstances(); | 1730 CORE_EXPORT void showLiveDocumentInstances(); |
1728 #endif | 1731 #endif |
1729 | 1732 |
1730 #endif // Document_h | 1733 #endif // Document_h |
OLD | NEW |