| 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 | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
| 7 * rights reserved. | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 class IntersectionObserverController; | 126 class IntersectionObserverController; |
| 127 class LayoutPoint; | 127 class LayoutPoint; |
| 128 class LayoutView; | 128 class LayoutView; |
| 129 class LayoutViewItem; | 129 class LayoutViewItem; |
| 130 class LiveNodeListBase; | 130 class LiveNodeListBase; |
| 131 class LocalDOMWindow; | 131 class LocalDOMWindow; |
| 132 class Locale; | 132 class Locale; |
| 133 class LocalFrame; | 133 class LocalFrame; |
| 134 class LocalFrameView; | 134 class LocalFrameView; |
| 135 class Location; | 135 class Location; |
| 136 class MediaIPHManager; |
| 136 class MediaQueryListListener; | 137 class MediaQueryListListener; |
| 137 class MediaQueryMatcher; | 138 class MediaQueryMatcher; |
| 138 class NodeIterator; | 139 class NodeIterator; |
| 139 class NthIndexCache; | 140 class NthIndexCache; |
| 140 class OriginAccessEntry; | 141 class OriginAccessEntry; |
| 141 class Page; | 142 class Page; |
| 142 class ProcessingInstruction; | 143 class ProcessingInstruction; |
| 143 class PropertyRegistry; | 144 class PropertyRegistry; |
| 144 class QualifiedName; | 145 class QualifiedName; |
| 145 class Range; | 146 class Range; |
| (...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1317 // Document maintains a counter of visible non-secure password | 1318 // Document maintains a counter of visible non-secure password |
| 1318 // fields in the page. Used to notify the embedder when all visible | 1319 // fields in the page. Used to notify the embedder when all visible |
| 1319 // non-secure passwords fields are no longer visible. | 1320 // non-secure passwords fields are no longer visible. |
| 1320 void IncrementPasswordCount(); | 1321 void IncrementPasswordCount(); |
| 1321 void DecrementPasswordCount(); | 1322 void DecrementPasswordCount(); |
| 1322 | 1323 |
| 1323 CoreProbeSink* GetProbeSink() final; | 1324 CoreProbeSink* GetProbeSink() final; |
| 1324 | 1325 |
| 1325 void SetFeaturePolicy(const String& feature_policy_header); | 1326 void SetFeaturePolicy(const String& feature_policy_header); |
| 1326 | 1327 |
| 1328 MediaIPHManager* GetMediaIPHManager(); |
| 1329 |
| 1327 protected: | 1330 protected: |
| 1328 Document(const DocumentInit&, DocumentClassFlags = kDefaultDocumentClass); | 1331 Document(const DocumentInit&, DocumentClassFlags = kDefaultDocumentClass); |
| 1329 | 1332 |
| 1330 void DidUpdateSecurityOrigin() final; | 1333 void DidUpdateSecurityOrigin() final; |
| 1331 | 1334 |
| 1332 void ClearXMLVersion() { xml_version_ = String(); } | 1335 void ClearXMLVersion() { xml_version_ = String(); } |
| 1333 | 1336 |
| 1334 virtual Document* CloneDocumentWithoutChildren(); | 1337 virtual Document* CloneDocumentWithoutChildren(); |
| 1335 | 1338 |
| 1336 bool ImportContainerNodeChildren(ContainerNode* old_container_node, | 1339 bool ImportContainerNodeChildren(ContainerNode* old_container_node, |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1679 | 1682 |
| 1680 Member<PropertyRegistry> property_registry_; | 1683 Member<PropertyRegistry> property_registry_; |
| 1681 | 1684 |
| 1682 unsigned password_count_; | 1685 unsigned password_count_; |
| 1683 | 1686 |
| 1684 TaskHandle sensitive_input_visibility_task_; | 1687 TaskHandle sensitive_input_visibility_task_; |
| 1685 | 1688 |
| 1686 mojom::EngagementLevel engagement_level_; | 1689 mojom::EngagementLevel engagement_level_; |
| 1687 | 1690 |
| 1688 Member<NetworkStateObserver> network_state_observer_; | 1691 Member<NetworkStateObserver> network_state_observer_; |
| 1692 |
| 1693 Member<MediaIPHManager> media_iph_manager_; |
| 1689 }; | 1694 }; |
| 1690 | 1695 |
| 1691 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>; | 1696 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>; |
| 1692 | 1697 |
| 1693 inline bool Document::ShouldOverrideLegacyDescription( | 1698 inline bool Document::ShouldOverrideLegacyDescription( |
| 1694 ViewportDescription::Type origin) const { | 1699 ViewportDescription::Type origin) const { |
| 1695 // The different (legacy) meta tags have different priorities based on the | 1700 // The different (legacy) meta tags have different priorities based on the |
| 1696 // type regardless of which order they appear in the DOM. The priority is | 1701 // type regardless of which order they appear in the DOM. The priority is |
| 1697 // given by the ViewportDescription::Type enum. | 1702 // given by the ViewportDescription::Type enum. |
| 1698 return origin >= legacy_viewport_description_.type; | 1703 return origin >= legacy_viewport_description_.type; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1733 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1738 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1734 | 1739 |
| 1735 } // namespace blink | 1740 } // namespace blink |
| 1736 | 1741 |
| 1737 #ifndef NDEBUG | 1742 #ifndef NDEBUG |
| 1738 // Outside the WebCore namespace for ease of invocation from gdb. | 1743 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1739 CORE_EXPORT void showLiveDocumentInstances(); | 1744 CORE_EXPORT void showLiveDocumentInstances(); |
| 1740 #endif | 1745 #endif |
| 1741 | 1746 |
| 1742 #endif // Document_h | 1747 #endif // Document_h |
| OLD | NEW |