| 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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 return m_documentClasses & MediaDocumentClass; | 430 return m_documentClasses & MediaDocumentClass; |
| 431 } | 431 } |
| 432 | 432 |
| 433 bool hasSVGRootNode() const; | 433 bool hasSVGRootNode() const; |
| 434 | 434 |
| 435 bool isFrameSet() const; | 435 bool isFrameSet() const; |
| 436 | 436 |
| 437 bool isSrcdocDocument() const { return m_isSrcdocDocument; } | 437 bool isSrcdocDocument() const { return m_isSrcdocDocument; } |
| 438 bool isMobileDocument() const { return m_isMobileDocument; } | 438 bool isMobileDocument() const { return m_isMobileDocument; } |
| 439 | 439 |
| 440 // True if this document is an IFrame srcdoc document, and the frame in which |
| 441 // it lives was created by a fragment parser (e.g. 'innerHTML'). |
| 442 bool isFragmentParserCreatedSrcdoc() const { |
| 443 return m_isFragmentParserCreatedSrcdoc; |
| 444 } |
| 445 |
| 440 StyleResolver* styleResolver() const; | 446 StyleResolver* styleResolver() const; |
| 441 StyleResolver& ensureStyleResolver() const; | 447 StyleResolver& ensureStyleResolver() const; |
| 442 | 448 |
| 443 bool isViewSource() const { return m_isViewSource; } | 449 bool isViewSource() const { return m_isViewSource; } |
| 444 void setIsViewSource(bool); | 450 void setIsViewSource(bool); |
| 445 | 451 |
| 446 bool sawElementsInKnownNamespaces() const { | 452 bool sawElementsInKnownNamespaces() const { |
| 447 return m_sawElementsInKnownNamespaces; | 453 return m_sawElementsInKnownNamespaces; |
| 448 } | 454 } |
| 449 | 455 |
| (...skipping 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1587 // the cache object's references will be traced by a stack walk. | 1593 // the cache object's references will be traced by a stack walk. |
| 1588 GC_PLUGIN_IGNORE("461878") | 1594 GC_PLUGIN_IGNORE("461878") |
| 1589 NthIndexCache* m_nthIndexCache = nullptr; | 1595 NthIndexCache* m_nthIndexCache = nullptr; |
| 1590 | 1596 |
| 1591 DocumentClassFlags m_documentClasses; | 1597 DocumentClassFlags m_documentClasses; |
| 1592 | 1598 |
| 1593 bool m_isViewSource; | 1599 bool m_isViewSource; |
| 1594 bool m_sawElementsInKnownNamespaces; | 1600 bool m_sawElementsInKnownNamespaces; |
| 1595 bool m_isSrcdocDocument; | 1601 bool m_isSrcdocDocument; |
| 1596 bool m_isMobileDocument; | 1602 bool m_isMobileDocument; |
| 1603 bool m_isFragmentParserCreatedSrcdoc; |
| 1597 | 1604 |
| 1598 LayoutView* m_layoutView; | 1605 LayoutView* m_layoutView; |
| 1599 | 1606 |
| 1600 WeakMember<Document> m_contextDocument; | 1607 WeakMember<Document> m_contextDocument; |
| 1601 | 1608 |
| 1602 // For early return in Fullscreen::fromIfExists() | 1609 // For early return in Fullscreen::fromIfExists() |
| 1603 bool m_hasFullscreenSupplement; | 1610 bool m_hasFullscreenSupplement; |
| 1604 | 1611 |
| 1605 HeapVector<Member<Element>> m_topLayerElements; | 1612 HeapVector<Member<Element>> m_topLayerElements; |
| 1606 | 1613 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1722 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1729 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1723 | 1730 |
| 1724 } // namespace blink | 1731 } // namespace blink |
| 1725 | 1732 |
| 1726 #ifndef NDEBUG | 1733 #ifndef NDEBUG |
| 1727 // Outside the WebCore namespace for ease of invocation from gdb. | 1734 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1728 CORE_EXPORT void showLiveDocumentInstances(); | 1735 CORE_EXPORT void showLiveDocumentInstances(); |
| 1729 #endif | 1736 #endif |
| 1730 | 1737 |
| 1731 #endif // Document_h | 1738 #endif // Document_h |
| OLD | NEW |