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 LayoutPoint; | 129 class LayoutPoint; |
130 class LayoutView; | 130 class LayoutView; |
131 class LayoutViewItem; | 131 class LayoutViewItem; |
132 class LiveNodeListBase; | 132 class LiveNodeListBase; |
133 class LocalDOMWindow; | 133 class LocalDOMWindow; |
134 class Locale; | 134 class Locale; |
135 class LocalFrame; | 135 class LocalFrame; |
136 class Location; | 136 class Location; |
137 class MediaQueryListListener; | 137 class MediaQueryListListener; |
138 class MediaQueryMatcher; | 138 class MediaQueryMatcher; |
| 139 class Modulator; |
139 class NodeFilter; | 140 class NodeFilter; |
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; |
148 class Range; | 149 class Range; |
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1291 } | 1292 } |
1292 | 1293 |
1293 bool isInMainFrame() const; | 1294 bool isInMainFrame() const; |
1294 | 1295 |
1295 void maybeRecordLoadReason(WouldLoadReason); | 1296 void maybeRecordLoadReason(WouldLoadReason); |
1296 WouldLoadReason wouldLoadReason() { return m_wouldLoadReason; } | 1297 WouldLoadReason wouldLoadReason() { return m_wouldLoadReason; } |
1297 | 1298 |
1298 const PropertyRegistry* propertyRegistry() const; | 1299 const PropertyRegistry* propertyRegistry() const; |
1299 PropertyRegistry* propertyRegistry(); | 1300 PropertyRegistry* propertyRegistry(); |
1300 | 1301 |
| 1302 Modulator* ensureModulator(); |
| 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<Modulator> m_modulator; |
| 1674 |
1670 unsigned m_passwordCount; | 1675 unsigned m_passwordCount; |
1671 | 1676 |
1672 TaskHandle m_sensitiveInputVisibilityTask; | 1677 TaskHandle m_sensitiveInputVisibilityTask; |
1673 | 1678 |
1674 mojom::EngagementLevel m_engagementLevel; | 1679 mojom::EngagementLevel m_engagementLevel; |
1675 }; | 1680 }; |
1676 | 1681 |
1677 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>; | 1682 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>; |
1678 | 1683 |
1679 inline bool Document::shouldOverrideLegacyDescription( | 1684 inline bool Document::shouldOverrideLegacyDescription( |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1719 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1724 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1720 | 1725 |
1721 } // namespace blink | 1726 } // namespace blink |
1722 | 1727 |
1723 #ifndef NDEBUG | 1728 #ifndef NDEBUG |
1724 // Outside the WebCore namespace for ease of invocation from gdb. | 1729 // Outside the WebCore namespace for ease of invocation from gdb. |
1725 CORE_EXPORT void showLiveDocumentInstances(); | 1730 CORE_EXPORT void showLiveDocumentInstances(); |
1726 #endif | 1731 #endif |
1727 | 1732 |
1728 #endif // Document_h | 1733 #endif // Document_h |
OLD | NEW |