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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 class LayoutView; | 129 class LayoutView; |
130 class LayoutViewItem; | 130 class LayoutViewItem; |
131 class LiveNodeListBase; | 131 class LiveNodeListBase; |
132 class LocalDOMWindow; | 132 class LocalDOMWindow; |
133 class Locale; | 133 class Locale; |
134 class LocalFrame; | 134 class LocalFrame; |
135 class Location; | 135 class Location; |
136 class MainThreadTaskRunner; | 136 class MainThreadTaskRunner; |
137 class MediaQueryListListener; | 137 class MediaQueryListListener; |
138 class MediaQueryMatcher; | 138 class MediaQueryMatcher; |
| 139 class ModuleMap; |
139 class NodeFilter; | 140 class NodeFilter; |
140 class NodeIntersectionObserverData; | 141 class NodeIntersectionObserverData; |
141 class NodeIterator; | 142 class NodeIterator; |
142 class NthIndexCache; | 143 class NthIndexCache; |
143 class OriginAccessEntry; | 144 class OriginAccessEntry; |
144 class Page; | 145 class Page; |
145 class PlatformMouseEvent; | 146 class PlatformMouseEvent; |
146 class ProcessingInstruction; | 147 class ProcessingInstruction; |
147 class PropertyRegistry; | 148 class PropertyRegistry; |
148 class QualifiedName; | 149 class QualifiedName; |
(...skipping 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1296 return m_rootScrollerController.get(); | 1297 return m_rootScrollerController.get(); |
1297 } | 1298 } |
1298 | 1299 |
1299 bool isInMainFrame() const; | 1300 bool isInMainFrame() const; |
1300 | 1301 |
1301 void maybeRecordLoadReason(WouldLoadReason); | 1302 void maybeRecordLoadReason(WouldLoadReason); |
1302 WouldLoadReason wouldLoadReason() { return m_wouldLoadReason; } | 1303 WouldLoadReason wouldLoadReason() { return m_wouldLoadReason; } |
1303 | 1304 |
1304 PropertyRegistry* propertyRegistry(); | 1305 PropertyRegistry* propertyRegistry(); |
1305 | 1306 |
| 1307 ModuleMap* ensureModuleMap(); |
| 1308 |
1306 // Indicates whether the user has interacted with this particular Document. | 1309 // Indicates whether the user has interacted with this particular Document. |
1307 void setHasReceivedUserGesture() { m_hasReceivedUserGesture = true; } | 1310 void setHasReceivedUserGesture() { m_hasReceivedUserGesture = true; } |
1308 bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; } | 1311 bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; } |
1309 | 1312 |
1310 // Document maintains a counter of visible non-secure password | 1313 // Document maintains a counter of visible non-secure password |
1311 // fields in the page. Used to notify the embedder when all visible | 1314 // fields in the page. Used to notify the embedder when all visible |
1312 // non-secure passwords fields are no longer visible. | 1315 // non-secure passwords fields are no longer visible. |
1313 void incrementPasswordCount(); | 1316 void incrementPasswordCount(); |
1314 void decrementPasswordCount(); | 1317 void decrementPasswordCount(); |
1315 | 1318 |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1660 int m_nodeCount; | 1663 int m_nodeCount; |
1661 | 1664 |
1662 bool m_mayContainV0Shadow = false; | 1665 bool m_mayContainV0Shadow = false; |
1663 | 1666 |
1664 Member<SnapCoordinator> m_snapCoordinator; | 1667 Member<SnapCoordinator> m_snapCoordinator; |
1665 | 1668 |
1666 WouldLoadReason m_wouldLoadReason; | 1669 WouldLoadReason m_wouldLoadReason; |
1667 | 1670 |
1668 Member<PropertyRegistry> m_propertyRegistry; | 1671 Member<PropertyRegistry> m_propertyRegistry; |
1669 | 1672 |
| 1673 Member<ModuleMap> m_moduleMap; |
| 1674 |
1670 unsigned m_passwordCount; | 1675 unsigned m_passwordCount; |
1671 | 1676 |
1672 TaskHandle m_sensitiveInputVisibilityTask; | 1677 TaskHandle m_sensitiveInputVisibilityTask; |
1673 }; | 1678 }; |
1674 | 1679 |
1675 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>; | 1680 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>; |
1676 | 1681 |
1677 inline bool Document::shouldOverrideLegacyDescription( | 1682 inline bool Document::shouldOverrideLegacyDescription( |
1678 ViewportDescription::Type origin) const { | 1683 ViewportDescription::Type origin) const { |
1679 // The different (legacy) meta tags have different priorities based on the | 1684 // The different (legacy) meta tags have different priorities based on the |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1717 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1722 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1718 | 1723 |
1719 } // namespace blink | 1724 } // namespace blink |
1720 | 1725 |
1721 #ifndef NDEBUG | 1726 #ifndef NDEBUG |
1722 // Outside the WebCore namespace for ease of invocation from gdb. | 1727 // Outside the WebCore namespace for ease of invocation from gdb. |
1723 CORE_EXPORT void showLiveDocumentInstances(); | 1728 CORE_EXPORT void showLiveDocumentInstances(); |
1724 #endif | 1729 #endif |
1725 | 1730 |
1726 #endif // Document_h | 1731 #endif // Document_h |
OLD | NEW |