| 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 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1117 void clearXMLVersion() { m_xmlVersion = String(); } | 1117 void clearXMLVersion() { m_xmlVersion = String(); } |
| 1118 | 1118 |
| 1119 virtual Document* cloneDocumentWithoutChildren(); | 1119 virtual Document* cloneDocumentWithoutChildren(); |
| 1120 | 1120 |
| 1121 bool importContainerNodeChildren(ContainerNode* oldContainerNode, ContainerN
ode* newContainerNode, ExceptionState&); | 1121 bool importContainerNodeChildren(ContainerNode* oldContainerNode, ContainerN
ode* newContainerNode, ExceptionState&); |
| 1122 void lockCompatibilityMode() { m_compatibilityModeLocked = true; } | 1122 void lockCompatibilityMode() { m_compatibilityModeLocked = true; } |
| 1123 ParserSynchronizationPolicy getParserSynchronizationPolicy() const { return
m_parserSyncPolicy; } | 1123 ParserSynchronizationPolicy getParserSynchronizationPolicy() const { return
m_parserSyncPolicy; } |
| 1124 | 1124 |
| 1125 private: | 1125 private: |
| 1126 friend class IgnoreDestructiveWriteCountIncrementer; | 1126 friend class IgnoreDestructiveWriteCountIncrementer; |
| 1127 friend class ThrowOnDynamicMarkupInsertionCountIncrementer; |
| 1127 friend class NthIndexCache; | 1128 friend class NthIndexCache; |
| 1128 | 1129 |
| 1129 bool isDocumentFragment() const = delete; // This will catch anyone doing an
unnecessary check. | 1130 bool isDocumentFragment() const = delete; // This will catch anyone doing an
unnecessary check. |
| 1130 bool isDocumentNode() const = delete; // This will catch anyone doing an unn
ecessary check. | 1131 bool isDocumentNode() const = delete; // This will catch anyone doing an unn
ecessary check. |
| 1131 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. | 1132 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. |
| 1132 | 1133 |
| 1133 ScriptedAnimationController& ensureScriptedAnimationController(); | 1134 ScriptedAnimationController& ensureScriptedAnimationController(); |
| 1134 ScriptedIdleTaskController& ensureScriptedIdleTaskController(); | 1135 ScriptedIdleTaskController& ensureScriptedIdleTaskController(); |
| 1135 void initSecurityContext(const DocumentInit&); | 1136 void initSecurityContext(const DocumentInit&); |
| 1136 SecurityContext& securityContext() final { return *this; } | 1137 SecurityContext& securityContext() final { return *this; } |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1288 | 1289 |
| 1289 bool m_gotoAnchorNeededAfterStylesheetsLoad; | 1290 bool m_gotoAnchorNeededAfterStylesheetsLoad; |
| 1290 bool m_isDNSPrefetchEnabled; | 1291 bool m_isDNSPrefetchEnabled; |
| 1291 bool m_haveExplicitlyDisabledDNSPrefetch; | 1292 bool m_haveExplicitlyDisabledDNSPrefetch; |
| 1292 bool m_containsValidityStyleRules; | 1293 bool m_containsValidityStyleRules; |
| 1293 bool m_containsPlugins; | 1294 bool m_containsPlugins; |
| 1294 SelectionBehaviorOnFocus m_updateFocusAppearanceSelectionBahavior; | 1295 SelectionBehaviorOnFocus m_updateFocusAppearanceSelectionBahavior; |
| 1295 | 1296 |
| 1296 // http://www.whatwg.org/specs/web-apps/current-work/#ignore-destructive-wri
tes-counter | 1297 // http://www.whatwg.org/specs/web-apps/current-work/#ignore-destructive-wri
tes-counter |
| 1297 unsigned m_ignoreDestructiveWriteCount; | 1298 unsigned m_ignoreDestructiveWriteCount; |
| 1299 // https://html.spec.whatwg.org/#throw-on-dynamic-markup-insertion-counter |
| 1300 unsigned m_throwOnDynamicMarkupInsertionCount; |
| 1298 | 1301 |
| 1299 String m_title; | 1302 String m_title; |
| 1300 String m_rawTitle; | 1303 String m_rawTitle; |
| 1301 Member<Element> m_titleElement; | 1304 Member<Element> m_titleElement; |
| 1302 | 1305 |
| 1303 Member<AXObjectCache> m_axObjectCache; | 1306 Member<AXObjectCache> m_axObjectCache; |
| 1304 Member<DocumentMarkerController> m_markers; | 1307 Member<DocumentMarkerController> m_markers; |
| 1305 | 1308 |
| 1306 Timer<Document> m_updateFocusAppearanceTimer; | 1309 Timer<Document> m_updateFocusAppearanceTimer; |
| 1307 | 1310 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1480 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1483 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1481 | 1484 |
| 1482 } // namespace blink | 1485 } // namespace blink |
| 1483 | 1486 |
| 1484 #ifndef NDEBUG | 1487 #ifndef NDEBUG |
| 1485 // Outside the WebCore namespace for ease of invocation from gdb. | 1488 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1486 CORE_EXPORT void showLiveDocumentInstances(); | 1489 CORE_EXPORT void showLiveDocumentInstances(); |
| 1487 #endif | 1490 #endif |
| 1488 | 1491 |
| 1489 #endif // Document_h | 1492 #endif // Document_h |
| OLD | NEW |