| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 class LocalFrame; | 135 class LocalFrame; |
| 136 class Location; | 136 class Location; |
| 137 class MainThreadTaskRunner; | 137 class MainThreadTaskRunner; |
| 138 class MediaQueryListListener; | 138 class MediaQueryListListener; |
| 139 class MediaQueryMatcher; | 139 class MediaQueryMatcher; |
| 140 class NodeFilter; | 140 class NodeFilter; |
| 141 class NodeIntersectionObserverData; | 141 class NodeIntersectionObserverData; |
| 142 class NodeIterator; | 142 class NodeIterator; |
| 143 class NthIndexCache; | 143 class NthIndexCache; |
| 144 class OriginAccessEntry; | 144 class OriginAccessEntry; |
| 145 class OriginTrialContext; | |
| 146 class Page; | 145 class Page; |
| 147 class PlatformMouseEvent; | 146 class PlatformMouseEvent; |
| 148 class ProcessingInstruction; | 147 class ProcessingInstruction; |
| 149 class QualifiedName; | 148 class QualifiedName; |
| 150 class Range; | 149 class Range; |
| 151 class LayoutView; | 150 class LayoutView; |
| 152 class ResourceFetcher; | 151 class ResourceFetcher; |
| 153 class SVGDocumentExtensions; | 152 class SVGDocumentExtensions; |
| 154 class SVGUseElement; | 153 class SVGUseElement; |
| 155 class ScriptRunner; | 154 class ScriptRunner; |
| (...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1072 void dispose() override; | 1071 void dispose() override; |
| 1073 #endif | 1072 #endif |
| 1074 | 1073 |
| 1075 virtual RawPtr<Document> cloneDocumentWithoutChildren(); | 1074 virtual RawPtr<Document> cloneDocumentWithoutChildren(); |
| 1076 | 1075 |
| 1077 bool importContainerNodeChildren(ContainerNode* oldContainerNode, RawPtr<Con
tainerNode> newContainerNode, ExceptionState&); | 1076 bool importContainerNodeChildren(ContainerNode* oldContainerNode, RawPtr<Con
tainerNode> newContainerNode, ExceptionState&); |
| 1078 void lockCompatibilityMode() { m_compatibilityModeLocked = true; } | 1077 void lockCompatibilityMode() { m_compatibilityModeLocked = true; } |
| 1079 ParserSynchronizationPolicy getParserSynchronizationPolicy() const { return
m_parserSyncPolicy; } | 1078 ParserSynchronizationPolicy getParserSynchronizationPolicy() const { return
m_parserSyncPolicy; } |
| 1080 | 1079 |
| 1081 private: | 1080 private: |
| 1082 friend class DocumentOriginTrialContextTest; | |
| 1083 friend class IgnoreDestructiveWriteCountIncrementer; | 1081 friend class IgnoreDestructiveWriteCountIncrementer; |
| 1084 friend class NthIndexCache; | 1082 friend class NthIndexCache; |
| 1085 | 1083 |
| 1086 bool isDocumentFragment() const = delete; // This will catch anyone doing an
unnecessary check. | 1084 bool isDocumentFragment() const = delete; // This will catch anyone doing an
unnecessary check. |
| 1087 bool isDocumentNode() const = delete; // This will catch anyone doing an unn
ecessary check. | 1085 bool isDocumentNode() const = delete; // This will catch anyone doing an unn
ecessary check. |
| 1088 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. | 1086 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. |
| 1089 | 1087 |
| 1090 ScriptedAnimationController& ensureScriptedAnimationController(); | 1088 ScriptedAnimationController& ensureScriptedAnimationController(); |
| 1091 ScriptedIdleTaskController& ensureScriptedIdleTaskController(); | 1089 ScriptedIdleTaskController& ensureScriptedIdleTaskController(); |
| 1092 void initSecurityContext(const DocumentInit&); | 1090 void initSecurityContext(const DocumentInit&); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1156 | 1154 |
| 1157 void setHoverNode(RawPtr<Node>); | 1155 void setHoverNode(RawPtr<Node>); |
| 1158 | 1156 |
| 1159 using EventFactorySet = HashSet<OwnPtr<EventFactoryBase>>; | 1157 using EventFactorySet = HashSet<OwnPtr<EventFactoryBase>>; |
| 1160 static EventFactorySet& eventFactories(); | 1158 static EventFactorySet& eventFactories(); |
| 1161 | 1159 |
| 1162 void setNthIndexCache(NthIndexCache* nthIndexCache) { ASSERT(!m_nthIndexCach
e || !nthIndexCache); m_nthIndexCache = nthIndexCache; } | 1160 void setNthIndexCache(NthIndexCache* nthIndexCache) { ASSERT(!m_nthIndexCach
e || !nthIndexCache); m_nthIndexCache = nthIndexCache; } |
| 1163 | 1161 |
| 1164 const OriginAccessEntry& accessEntryFromURL(); | 1162 const OriginAccessEntry& accessEntryFromURL(); |
| 1165 | 1163 |
| 1166 RawPtr<OriginTrialContext> createOriginTrialContext() override; | |
| 1167 | |
| 1168 DocumentLifecycle m_lifecycle; | 1164 DocumentLifecycle m_lifecycle; |
| 1169 | 1165 |
| 1170 bool m_hasNodesWithPlaceholderStyle; | 1166 bool m_hasNodesWithPlaceholderStyle; |
| 1171 bool m_evaluateMediaQueriesOnStyleRecalc; | 1167 bool m_evaluateMediaQueriesOnStyleRecalc; |
| 1172 | 1168 |
| 1173 // If we do ignore the pending stylesheet count, then we need to add a boole
an | 1169 // If we do ignore the pending stylesheet count, then we need to add a boole
an |
| 1174 // to track that this happened so that we can do a full repaint when the sty
lesheets | 1170 // to track that this happened so that we can do a full repaint when the sty
lesheets |
| 1175 // do eventually load. | 1171 // do eventually load. |
| 1176 PendingSheetLayout m_pendingSheetLayout; | 1172 PendingSheetLayout m_pendingSheetLayout; |
| 1177 | 1173 |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1447 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1443 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1448 | 1444 |
| 1449 } // namespace blink | 1445 } // namespace blink |
| 1450 | 1446 |
| 1451 #ifndef NDEBUG | 1447 #ifndef NDEBUG |
| 1452 // Outside the WebCore namespace for ease of invocation from gdb. | 1448 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1453 CORE_EXPORT void showLiveDocumentInstances(); | 1449 CORE_EXPORT void showLiveDocumentInstances(); |
| 1454 #endif | 1450 #endif |
| 1455 | 1451 |
| 1456 #endif // Document_h | 1452 #endif // Document_h |
| OLD | NEW |