| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 class MediaQueryListListener; | 133 class MediaQueryListListener; |
| 134 class MediaQueryMatcher; | 134 class MediaQueryMatcher; |
| 135 class NodeFilter; | 135 class NodeFilter; |
| 136 class NodeIntersectionObserverData; | 136 class NodeIntersectionObserverData; |
| 137 class NodeIterator; | 137 class NodeIterator; |
| 138 class NthIndexCache; | 138 class NthIndexCache; |
| 139 class OriginAccessEntry; | 139 class OriginAccessEntry; |
| 140 class Page; | 140 class Page; |
| 141 class PlatformMouseEvent; | 141 class PlatformMouseEvent; |
| 142 class ProcessingInstruction; | 142 class ProcessingInstruction; |
| 143 class PropertyRegistry; |
| 143 class QualifiedName; | 144 class QualifiedName; |
| 144 class Range; | 145 class Range; |
| 145 class ResizeObserverController; | 146 class ResizeObserverController; |
| 146 class ResourceFetcher; | 147 class ResourceFetcher; |
| 147 class RootScrollerController; | 148 class RootScrollerController; |
| 148 class SVGDocumentExtensions; | 149 class SVGDocumentExtensions; |
| 149 class SVGUseElement; | 150 class SVGUseElement; |
| 150 class ScriptRunner; | 151 class ScriptRunner; |
| 151 class ScriptableDocumentParser; | 152 class ScriptableDocumentParser; |
| 152 class ScriptedAnimationController; | 153 class ScriptedAnimationController; |
| (...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1098 bool containsV1ShadowTree() const { return m_shadowCascadeOrder == ShadowCas
cadeOrder::ShadowCascadeV1; } | 1099 bool containsV1ShadowTree() const { return m_shadowCascadeOrder == ShadowCas
cadeOrder::ShadowCascadeV1; } |
| 1099 | 1100 |
| 1100 Element* rootScroller() const; | 1101 Element* rootScroller() const; |
| 1101 void setRootScroller(Element*, ExceptionState&); | 1102 void setRootScroller(Element*, ExceptionState&); |
| 1102 RootScrollerController* rootScrollerController() const { return m_rootScroll
erController.get(); } | 1103 RootScrollerController* rootScrollerController() const { return m_rootScroll
erController.get(); } |
| 1103 | 1104 |
| 1104 bool isInMainFrame() const; | 1105 bool isInMainFrame() const; |
| 1105 | 1106 |
| 1106 void onVisibilityMaybeChanged(bool visible); | 1107 void onVisibilityMaybeChanged(bool visible); |
| 1107 | 1108 |
| 1109 PropertyRegistry* propertyRegistry(); |
| 1110 |
| 1108 protected: | 1111 protected: |
| 1109 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); | 1112 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); |
| 1110 | 1113 |
| 1111 void didUpdateSecurityOrigin() final; | 1114 void didUpdateSecurityOrigin() final; |
| 1112 | 1115 |
| 1113 void clearXMLVersion() { m_xmlVersion = String(); } | 1116 void clearXMLVersion() { m_xmlVersion = String(); } |
| 1114 | 1117 |
| 1115 virtual Document* cloneDocumentWithoutChildren(); | 1118 virtual Document* cloneDocumentWithoutChildren(); |
| 1116 | 1119 |
| 1117 bool importContainerNodeChildren(ContainerNode* oldContainerNode, ContainerN
ode* newContainerNode, ExceptionState&); | 1120 bool importContainerNodeChildren(ContainerNode* oldContainerNode, ContainerN
ode* newContainerNode, ExceptionState&); |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1422 Member<NodeIntersectionObserverData> m_intersectionObserverData; | 1425 Member<NodeIntersectionObserverData> m_intersectionObserverData; |
| 1423 Member<ResizeObserverController> m_resizeObserverController; | 1426 Member<ResizeObserverController> m_resizeObserverController; |
| 1424 | 1427 |
| 1425 int m_nodeCount; | 1428 int m_nodeCount; |
| 1426 | 1429 |
| 1427 bool m_mayContainV0Shadow = false; | 1430 bool m_mayContainV0Shadow = false; |
| 1428 | 1431 |
| 1429 Member<SnapCoordinator> m_snapCoordinator; | 1432 Member<SnapCoordinator> m_snapCoordinator; |
| 1430 | 1433 |
| 1431 bool m_visibilityWasLogged; | 1434 bool m_visibilityWasLogged; |
| 1435 |
| 1436 Member<PropertyRegistry> m_propertyRegistry; |
| 1432 }; | 1437 }; |
| 1433 | 1438 |
| 1434 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>; | 1439 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>; |
| 1435 | 1440 |
| 1436 inline bool Document::shouldOverrideLegacyDescription(ViewportDescription::Type
origin) const | 1441 inline bool Document::shouldOverrideLegacyDescription(ViewportDescription::Type
origin) const |
| 1437 { | 1442 { |
| 1438 // The different (legacy) meta tags have different priorities based on the t
ype | 1443 // The different (legacy) meta tags have different priorities based on the t
ype |
| 1439 // regardless of which order they appear in the DOM. The priority is given b
y the | 1444 // regardless of which order they appear in the DOM. The priority is given b
y the |
| 1440 // ViewportDescription::Type enum. | 1445 // ViewportDescription::Type enum. |
| 1441 return origin >= m_legacyViewportDescription.type; | 1446 return origin >= m_legacyViewportDescription.type; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1471 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1476 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1472 | 1477 |
| 1473 } // namespace blink | 1478 } // namespace blink |
| 1474 | 1479 |
| 1475 #ifndef NDEBUG | 1480 #ifndef NDEBUG |
| 1476 // Outside the WebCore namespace for ease of invocation from gdb. | 1481 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1477 CORE_EXPORT void showLiveDocumentInstances(); | 1482 CORE_EXPORT void showLiveDocumentInstances(); |
| 1478 #endif | 1483 #endif |
| 1479 | 1484 |
| 1480 #endif // Document_h | 1485 #endif // Document_h |
| OLD | NEW |