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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 HTMLCollection* applets(); | 401 HTMLCollection* applets(); |
402 HTMLCollection* links(); | 402 HTMLCollection* links(); |
403 HTMLCollection* forms(); | 403 HTMLCollection* forms(); |
404 HTMLCollection* anchors(); | 404 HTMLCollection* anchors(); |
405 HTMLCollection* scripts(); | 405 HTMLCollection* scripts(); |
406 HTMLAllCollection* all(); | 406 HTMLAllCollection* all(); |
407 | 407 |
408 HTMLCollection* WindowNamedItems(const AtomicString& name); | 408 HTMLCollection* WindowNamedItems(const AtomicString& name); |
409 DocumentNameCollection* DocumentNamedItems(const AtomicString& name); | 409 DocumentNameCollection* DocumentNamedItems(const AtomicString& name); |
410 | 410 |
| 411 // "defaultView" attribute defined in HTML spec. |
| 412 LocalDOMWindow* defaultView() const; |
| 413 |
411 bool IsHTMLDocument() const { return document_classes_ & kHTMLDocumentClass; } | 414 bool IsHTMLDocument() const { return document_classes_ & kHTMLDocumentClass; } |
412 bool IsXHTMLDocument() const { | 415 bool IsXHTMLDocument() const { |
413 return document_classes_ & kXHTMLDocumentClass; | 416 return document_classes_ & kXHTMLDocumentClass; |
414 } | 417 } |
415 bool IsXMLDocument() const { return document_classes_ & kXMLDocumentClass; } | 418 bool IsXMLDocument() const { return document_classes_ & kXMLDocumentClass; } |
416 bool IsImageDocument() const { | 419 bool IsImageDocument() const { |
417 return document_classes_ & kImageDocumentClass; | 420 return document_classes_ & kImageDocumentClass; |
418 } | 421 } |
419 bool IsSVGDocument() const { return document_classes_ & kSVGDocumentClass; } | 422 bool IsSVGDocument() const { return document_classes_ & kSVGDocumentClass; } |
420 bool IsPluginDocument() const { | 423 bool IsPluginDocument() const { |
(...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1725 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1728 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1726 | 1729 |
1727 } // namespace blink | 1730 } // namespace blink |
1728 | 1731 |
1729 #ifndef NDEBUG | 1732 #ifndef NDEBUG |
1730 // Outside the WebCore namespace for ease of invocation from gdb. | 1733 // Outside the WebCore namespace for ease of invocation from gdb. |
1731 CORE_EXPORT void showLiveDocumentInstances(); | 1734 CORE_EXPORT void showLiveDocumentInstances(); |
1732 #endif | 1735 #endif |
1733 | 1736 |
1734 #endif // Document_h | 1737 #endif // Document_h |
OLD | NEW |