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 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1329 PropertyRegistry* GetPropertyRegistry(); | 1329 PropertyRegistry* GetPropertyRegistry(); |
1330 | 1330 |
1331 // Document maintains a counter of visible non-secure password | 1331 // Document maintains a counter of visible non-secure password |
1332 // fields in the page. Used to notify the embedder when all visible | 1332 // fields in the page. Used to notify the embedder when all visible |
1333 // non-secure passwords fields are no longer visible. | 1333 // non-secure passwords fields are no longer visible. |
1334 void IncrementPasswordCount(); | 1334 void IncrementPasswordCount(); |
1335 void DecrementPasswordCount(); | 1335 void DecrementPasswordCount(); |
1336 | 1336 |
1337 CoreProbeSink* GetProbeSink() final; | 1337 CoreProbeSink* GetProbeSink() final; |
1338 | 1338 |
| 1339 void SetFeaturePolicy(const String& feature_policy_header); |
| 1340 |
1339 protected: | 1341 protected: |
1340 Document(const DocumentInit&, DocumentClassFlags = kDefaultDocumentClass); | 1342 Document(const DocumentInit&, DocumentClassFlags = kDefaultDocumentClass); |
1341 | 1343 |
1342 void DidUpdateSecurityOrigin() final; | 1344 void DidUpdateSecurityOrigin() final; |
1343 | 1345 |
1344 void ClearXMLVersion() { xml_version_ = String(); } | 1346 void ClearXMLVersion() { xml_version_ = String(); } |
1345 | 1347 |
1346 virtual Document* CloneDocumentWithoutChildren(); | 1348 virtual Document* CloneDocumentWithoutChildren(); |
1347 | 1349 |
1348 bool ImportContainerNodeChildren(ContainerNode* old_container_node, | 1350 bool ImportContainerNodeChildren(ContainerNode* old_container_node, |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1750 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1752 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1751 | 1753 |
1752 } // namespace blink | 1754 } // namespace blink |
1753 | 1755 |
1754 #ifndef NDEBUG | 1756 #ifndef NDEBUG |
1755 // Outside the WebCore namespace for ease of invocation from gdb. | 1757 // Outside the WebCore namespace for ease of invocation from gdb. |
1756 CORE_EXPORT void showLiveDocumentInstances(); | 1758 CORE_EXPORT void showLiveDocumentInstances(); |
1757 #endif | 1759 #endif |
1758 | 1760 |
1759 #endif // Document_h | 1761 #endif // Document_h |
OLD | NEW |