| 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 r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 class IntersectionObserverController; | 129 class IntersectionObserverController; |
| 130 class LayoutPoint; | 130 class LayoutPoint; |
| 131 class LiveNodeListBase; | 131 class LiveNodeListBase; |
| 132 class Locale; | 132 class Locale; |
| 133 class LocalFrame; | 133 class LocalFrame; |
| 134 class Location; | 134 class Location; |
| 135 class MainThreadTaskRunner; | 135 class MainThreadTaskRunner; |
| 136 class MediaQueryListListener; | 136 class MediaQueryListListener; |
| 137 class MediaQueryMatcher; | 137 class MediaQueryMatcher; |
| 138 class NodeFilter; | 138 class NodeFilter; |
| 139 class NodeIntersectionObserverData; |
| 139 class NodeIterator; | 140 class NodeIterator; |
| 140 class NthIndexCache; | 141 class NthIndexCache; |
| 141 class OriginAccessEntry; | 142 class OriginAccessEntry; |
| 142 class Page; | 143 class Page; |
| 143 class PlatformMouseEvent; | 144 class PlatformMouseEvent; |
| 144 class ProcessingInstruction; | 145 class ProcessingInstruction; |
| 145 class QualifiedName; | 146 class QualifiedName; |
| 146 class Range; | 147 class Range; |
| 147 class LayoutView; | 148 class LayoutView; |
| 148 class ResourceFetcher; | 149 class ResourceFetcher; |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 bool hasMutationObserversOfType(MutationObserver::MutationType type) const | 682 bool hasMutationObserversOfType(MutationObserver::MutationType type) const |
| 682 { | 683 { |
| 683 return m_mutationObserverTypes & type; | 684 return m_mutationObserverTypes & type; |
| 684 } | 685 } |
| 685 bool hasMutationObservers() const { return m_mutationObserverTypes; } | 686 bool hasMutationObservers() const { return m_mutationObserverTypes; } |
| 686 void addMutationObserverTypes(MutationObserverOptions types) { m_mutationObs
erverTypes |= types; } | 687 void addMutationObserverTypes(MutationObserverOptions types) { m_mutationObs
erverTypes |= types; } |
| 687 | 688 |
| 688 WeakPtrWillBeRawPtr<Document> createWeakPtr(); | 689 WeakPtrWillBeRawPtr<Document> createWeakPtr(); |
| 689 | 690 |
| 690 IntersectionObserverController& ensureIntersectionObserverController(); | 691 IntersectionObserverController& ensureIntersectionObserverController(); |
| 692 NodeIntersectionObserverData& ensureIntersectionObserverData(); |
| 691 | 693 |
| 692 void updateViewportDescription(); | 694 void updateViewportDescription(); |
| 693 void processReferrerPolicy(const String& policy); | 695 void processReferrerPolicy(const String& policy); |
| 694 | 696 |
| 695 // Returns the owning element in the parent document. | 697 // Returns the owning element in the parent document. |
| 696 // Returns nullptr if this is the top level document. | 698 // Returns nullptr if this is the top level document. |
| 697 HTMLFrameOwnerElement* ownerElement() const; | 699 HTMLFrameOwnerElement* ownerElement() const; |
| 698 | 700 |
| 699 // Returns true if this document belongs to a frame that the parent document | 701 // Returns true if this document belongs to a frame that the parent document |
| 700 // made invisible (for instance by setting as style display:none). | 702 // made invisible (for instance by setting as style display:none). |
| (...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1397 | 1399 |
| 1398 ParserSynchronizationPolicy m_parserSyncPolicy; | 1400 ParserSynchronizationPolicy m_parserSyncPolicy; |
| 1399 | 1401 |
| 1400 OriginsUsingFeatures::Value m_originsUsingFeaturesValue; | 1402 OriginsUsingFeatures::Value m_originsUsingFeaturesValue; |
| 1401 | 1403 |
| 1402 ClientHintsPreferences m_clientHintsPreferences; | 1404 ClientHintsPreferences m_clientHintsPreferences; |
| 1403 | 1405 |
| 1404 PersistentWillBeMember<CanvasFontCache> m_canvasFontCache; | 1406 PersistentWillBeMember<CanvasFontCache> m_canvasFontCache; |
| 1405 | 1407 |
| 1406 PersistentWillBeMember<IntersectionObserverController> m_intersectionObserve
rController; | 1408 PersistentWillBeMember<IntersectionObserverController> m_intersectionObserve
rController; |
| 1409 PersistentWillBeMember<NodeIntersectionObserverData> m_intersectionObserverD
ata; |
| 1407 | 1410 |
| 1408 int m_nodeCount; | 1411 int m_nodeCount; |
| 1409 }; | 1412 }; |
| 1410 | 1413 |
| 1411 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Document>
; | 1414 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Document>
; |
| 1412 | 1415 |
| 1413 inline bool Document::shouldOverrideLegacyDescription(ViewportDescription::Type
origin) | 1416 inline bool Document::shouldOverrideLegacyDescription(ViewportDescription::Type
origin) |
| 1414 { | 1417 { |
| 1415 // The different (legacy) meta tags have different priorities based on the t
ype | 1418 // The different (legacy) meta tags have different priorities based on the t
ype |
| 1416 // regardless of which order they appear in the DOM. The priority is given b
y the | 1419 // regardless of which order they appear in the DOM. The priority is given b
y the |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1448 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1451 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1449 | 1452 |
| 1450 } // namespace blink | 1453 } // namespace blink |
| 1451 | 1454 |
| 1452 #ifndef NDEBUG | 1455 #ifndef NDEBUG |
| 1453 // Outside the WebCore namespace for ease of invocation from gdb. | 1456 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1454 CORE_EXPORT void showLiveDocumentInstances(); | 1457 CORE_EXPORT void showLiveDocumentInstances(); |
| 1455 #endif | 1458 #endif |
| 1456 | 1459 |
| 1457 #endif // Document_h | 1460 #endif // Document_h |
| OLD | NEW |