Chromium Code Reviews| 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 unsigned m_throwOnDynamicMarkupInsertionCount; | |
|
dominicc (has gone to gerrit)
2016/09/28 08:01:03
Maybe add a link to this in the spec, like ignoreD
| |
| 1298 | 1300 |
| 1299 String m_title; | 1301 String m_title; |
| 1300 String m_rawTitle; | 1302 String m_rawTitle; |
| 1301 Member<Element> m_titleElement; | 1303 Member<Element> m_titleElement; |
| 1302 | 1304 |
| 1303 Member<AXObjectCache> m_axObjectCache; | 1305 Member<AXObjectCache> m_axObjectCache; |
| 1304 Member<DocumentMarkerController> m_markers; | 1306 Member<DocumentMarkerController> m_markers; |
| 1305 | 1307 |
| 1306 Timer<Document> m_updateFocusAppearanceTimer; | 1308 Timer<Document> m_updateFocusAppearanceTimer; |
| 1307 | 1309 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1480 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1482 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1481 | 1483 |
| 1482 } // namespace blink | 1484 } // namespace blink |
| 1483 | 1485 |
| 1484 #ifndef NDEBUG | 1486 #ifndef NDEBUG |
| 1485 // Outside the WebCore namespace for ease of invocation from gdb. | 1487 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1486 CORE_EXPORT void showLiveDocumentInstances(); | 1488 CORE_EXPORT void showLiveDocumentInstances(); |
| 1487 #endif | 1489 #endif |
| 1488 | 1490 |
| 1489 #endif // Document_h | 1491 #endif // Document_h |
| OLD | NEW |