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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 class LayoutPoint; | 128 class LayoutPoint; |
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 MediaQueryListListener; | 136 class MediaQueryListListener; |
137 class MediaQueryMatcher; | 137 class MediaQueryMatcher; |
| 138 class ModuleMap; |
138 class NodeFilter; | 139 class NodeFilter; |
139 class NodeIntersectionObserverData; | 140 class NodeIntersectionObserverData; |
140 class NodeIterator; | 141 class NodeIterator; |
141 class NthIndexCache; | 142 class NthIndexCache; |
142 class OriginAccessEntry; | 143 class OriginAccessEntry; |
143 class Page; | 144 class Page; |
144 class PlatformMouseEvent; | 145 class PlatformMouseEvent; |
145 class ProcessingInstruction; | 146 class ProcessingInstruction; |
146 class PropertyRegistry; | 147 class PropertyRegistry; |
147 class QualifiedName; | 148 class QualifiedName; |
(...skipping 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1291 return *m_rootScrollerController; | 1292 return *m_rootScrollerController; |
1292 } | 1293 } |
1293 | 1294 |
1294 bool isInMainFrame() const; | 1295 bool isInMainFrame() const; |
1295 | 1296 |
1296 void maybeRecordLoadReason(WouldLoadReason); | 1297 void maybeRecordLoadReason(WouldLoadReason); |
1297 WouldLoadReason wouldLoadReason() { return m_wouldLoadReason; } | 1298 WouldLoadReason wouldLoadReason() { return m_wouldLoadReason; } |
1298 | 1299 |
1299 PropertyRegistry* propertyRegistry(); | 1300 PropertyRegistry* propertyRegistry(); |
1300 | 1301 |
| 1302 ModuleMap* ensureModuleMap(); |
| 1303 |
1301 // Indicates whether the user has interacted with this particular Document. | 1304 // Indicates whether the user has interacted with this particular Document. |
1302 void setHasReceivedUserGesture() { m_hasReceivedUserGesture = true; } | 1305 void setHasReceivedUserGesture() { m_hasReceivedUserGesture = true; } |
1303 bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; } | 1306 bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; } |
1304 | 1307 |
1305 // Document maintains a counter of visible non-secure password | 1308 // Document maintains a counter of visible non-secure password |
1306 // fields in the page. Used to notify the embedder when all visible | 1309 // fields in the page. Used to notify the embedder when all visible |
1307 // non-secure passwords fields are no longer visible. | 1310 // non-secure passwords fields are no longer visible. |
1308 void incrementPasswordCount(); | 1311 void incrementPasswordCount(); |
1309 void decrementPasswordCount(); | 1312 void decrementPasswordCount(); |
1310 | 1313 |
(...skipping 349 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 |