| 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 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1326 ExceptionState&); | 1326 ExceptionState&); |
| 1327 void lockCompatibilityMode() { m_compatibilityModeLocked = true; } | 1327 void lockCompatibilityMode() { m_compatibilityModeLocked = true; } |
| 1328 ParserSynchronizationPolicy getParserSynchronizationPolicy() const { | 1328 ParserSynchronizationPolicy getParserSynchronizationPolicy() const { |
| 1329 return m_parserSyncPolicy; | 1329 return m_parserSyncPolicy; |
| 1330 } | 1330 } |
| 1331 | 1331 |
| 1332 private: | 1332 private: |
| 1333 friend class IgnoreDestructiveWriteCountIncrementer; | 1333 friend class IgnoreDestructiveWriteCountIncrementer; |
| 1334 friend class ThrowOnDynamicMarkupInsertionCountIncrementer; | 1334 friend class ThrowOnDynamicMarkupInsertionCountIncrementer; |
| 1335 friend class NthIndexCache; | 1335 friend class NthIndexCache; |
| 1336 class NetworkStateObserver; |
| 1336 | 1337 |
| 1337 bool isDocumentFragment() const = | 1338 bool isDocumentFragment() const = |
| 1338 delete; // This will catch anyone doing an unnecessary check. | 1339 delete; // This will catch anyone doing an unnecessary check. |
| 1339 bool isDocumentNode() const = | 1340 bool isDocumentNode() const = |
| 1340 delete; // This will catch anyone doing an unnecessary check. | 1341 delete; // This will catch anyone doing an unnecessary check. |
| 1341 bool isElementNode() const = | 1342 bool isElementNode() const = |
| 1342 delete; // This will catch anyone doing an unnecessary check. | 1343 delete; // This will catch anyone doing an unnecessary check. |
| 1343 | 1344 |
| 1344 ScriptedAnimationController& ensureScriptedAnimationController(); | 1345 ScriptedAnimationController& ensureScriptedAnimationController(); |
| 1345 ScriptedIdleTaskController& ensureScriptedIdleTaskController(); | 1346 ScriptedIdleTaskController& ensureScriptedIdleTaskController(); |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1667 | 1668 |
| 1668 WouldLoadReason m_wouldLoadReason; | 1669 WouldLoadReason m_wouldLoadReason; |
| 1669 | 1670 |
| 1670 Member<PropertyRegistry> m_propertyRegistry; | 1671 Member<PropertyRegistry> m_propertyRegistry; |
| 1671 | 1672 |
| 1672 unsigned m_passwordCount; | 1673 unsigned m_passwordCount; |
| 1673 | 1674 |
| 1674 TaskHandle m_sensitiveInputVisibilityTask; | 1675 TaskHandle m_sensitiveInputVisibilityTask; |
| 1675 | 1676 |
| 1676 mojom::EngagementLevel m_engagementLevel; | 1677 mojom::EngagementLevel m_engagementLevel; |
| 1678 |
| 1679 Member<NetworkStateObserver> m_networkStateObserver; |
| 1677 }; | 1680 }; |
| 1678 | 1681 |
| 1679 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>; | 1682 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>; |
| 1680 | 1683 |
| 1681 inline bool Document::shouldOverrideLegacyDescription( | 1684 inline bool Document::shouldOverrideLegacyDescription( |
| 1682 ViewportDescription::Type origin) const { | 1685 ViewportDescription::Type origin) const { |
| 1683 // The different (legacy) meta tags have different priorities based on the | 1686 // The different (legacy) meta tags have different priorities based on the |
| 1684 // type regardless of which order they appear in the DOM. The priority is | 1687 // type regardless of which order they appear in the DOM. The priority is |
| 1685 // given by the ViewportDescription::Type enum. | 1688 // given by the ViewportDescription::Type enum. |
| 1686 return origin >= m_legacyViewportDescription.type; | 1689 return origin >= m_legacyViewportDescription.type; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1724 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1722 | 1725 |
| 1723 } // namespace blink | 1726 } // namespace blink |
| 1724 | 1727 |
| 1725 #ifndef NDEBUG | 1728 #ifndef NDEBUG |
| 1726 // Outside the WebCore namespace for ease of invocation from gdb. | 1729 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1727 CORE_EXPORT void showLiveDocumentInstances(); | 1730 CORE_EXPORT void showLiveDocumentInstances(); |
| 1728 #endif | 1731 #endif |
| 1729 | 1732 |
| 1730 #endif // Document_h | 1733 #endif // Document_h |
| OLD | NEW |