| 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 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1261 void PlatformColorsChanged(); | 1261 void PlatformColorsChanged(); |
| 1262 | 1262 |
| 1263 DOMTimerCoordinator* Timers() final; | 1263 DOMTimerCoordinator* Timers() final; |
| 1264 | 1264 |
| 1265 HostsUsingFeatures::Value& HostsUsingFeaturesValue() { | 1265 HostsUsingFeatures::Value& HostsUsingFeaturesValue() { |
| 1266 return hosts_using_features_value_; | 1266 return hosts_using_features_value_; |
| 1267 } | 1267 } |
| 1268 | 1268 |
| 1269 NthIndexCache* GetNthIndexCache() const { return nth_index_cache_; } | 1269 NthIndexCache* GetNthIndexCache() const { return nth_index_cache_; } |
| 1270 | 1270 |
| 1271 bool IsSecureContext( | 1271 bool IsSecureContext(String& error_message) const override; |
| 1272 String& error_message, | 1272 bool IsSecureContext() const override; |
| 1273 const SecureContextCheck = kStandardSecureContextCheck) const override; | |
| 1274 bool IsSecureContext( | |
| 1275 const SecureContextCheck = kStandardSecureContextCheck) const override; | |
| 1276 | 1273 |
| 1277 ClientHintsPreferences& GetClientHintsPreferences() { | 1274 ClientHintsPreferences& GetClientHintsPreferences() { |
| 1278 return client_hints_preferences_; | 1275 return client_hints_preferences_; |
| 1279 } | 1276 } |
| 1280 | 1277 |
| 1281 CanvasFontCache* GetCanvasFontCache(); | 1278 CanvasFontCache* GetCanvasFontCache(); |
| 1282 | 1279 |
| 1283 // Used by unit tests so that all parsing will be main thread for | 1280 // Used by unit tests so that all parsing will be main thread for |
| 1284 // controlling parsing and chunking precisely. | 1281 // controlling parsing and chunking precisely. |
| 1285 static void SetThreadedParsingEnabledForTesting(bool); | 1282 static void SetThreadedParsingEnabledForTesting(bool); |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1388 | 1385 |
| 1389 bool IsDocument() const final { return true; } | 1386 bool IsDocument() const final { return true; } |
| 1390 | 1387 |
| 1391 void ChildrenChanged(const ChildrenChange&) override; | 1388 void ChildrenChanged(const ChildrenChange&) override; |
| 1392 | 1389 |
| 1393 String nodeName() const final; | 1390 String nodeName() const final; |
| 1394 NodeType getNodeType() const final; | 1391 NodeType getNodeType() const final; |
| 1395 bool ChildTypeAllowed(NodeType) const final; | 1392 bool ChildTypeAllowed(NodeType) const final; |
| 1396 Node* cloneNode(bool deep, ExceptionState&) final; | 1393 Node* cloneNode(bool deep, ExceptionState&) final; |
| 1397 void CloneDataFromDocument(const Document&); | 1394 void CloneDataFromDocument(const Document&); |
| 1398 bool IsSecureContextImpl( | 1395 bool IsSecureContextImpl() const; |
| 1399 const SecureContextCheck privilige_context_check) const; | |
| 1400 | 1396 |
| 1401 ShadowCascadeOrder shadow_cascade_order_ = kShadowCascadeNone; | 1397 ShadowCascadeOrder shadow_cascade_order_ = kShadowCascadeNone; |
| 1402 | 1398 |
| 1403 // Same as url(), but needed for ExecutionContext to implement it without a | 1399 // Same as url(), but needed for ExecutionContext to implement it without a |
| 1404 // performance loss for direct calls. | 1400 // performance loss for direct calls. |
| 1405 const KURL& VirtualURL() const final; | 1401 const KURL& VirtualURL() const final; |
| 1406 // Same as completeURL() for the same reason as above. | 1402 // Same as completeURL() for the same reason as above. |
| 1407 KURL VirtualCompleteURL(const String&) const final; | 1403 KURL VirtualCompleteURL(const String&) const final; |
| 1408 | 1404 |
| 1409 void UpdateTitle(const String&); | 1405 void UpdateTitle(const String&); |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1737 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1733 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1738 | 1734 |
| 1739 } // namespace blink | 1735 } // namespace blink |
| 1740 | 1736 |
| 1741 #ifndef NDEBUG | 1737 #ifndef NDEBUG |
| 1742 // Outside the WebCore namespace for ease of invocation from gdb. | 1738 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1743 CORE_EXPORT void showLiveDocumentInstances(); | 1739 CORE_EXPORT void showLiveDocumentInstances(); |
| 1744 #endif | 1740 #endif |
| 1745 | 1741 |
| 1746 #endif // Document_h | 1742 #endif // Document_h |
| OLD | NEW |