LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013-2018 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013-2018 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 2292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2303 unsigned Internals::numberOfLiveDocuments() const | 2303 unsigned Internals::numberOfLiveDocuments() const |
2304 { | 2304 { |
2305 return Document::allDocuments().size(); | 2305 return Document::allDocuments().size(); |
2306 } | 2306 } |
2307 | 2307 |
2308 unsigned Internals::referencingNodeCount(const Document& document) const | 2308 unsigned Internals::referencingNodeCount(const Document& document) const |
2309 { | 2309 { |
2310 return document.referencingNodeCount(); | 2310 return document.referencingNodeCount(); |
2311 } | 2311 } |
2312 | 2312 |
| 2313 unsigned Internals::numberOfActiveIntersectionObservers(const Document& document
) const |
| 2314 { |
| 2315 return document.numberOfActiveIntersectionObservers(); |
| 2316 } |
| 2317 |
2313 uint64_t Internals::documentIdentifier(const Document& document) const | 2318 uint64_t Internals::documentIdentifier(const Document& document) const |
2314 { | 2319 { |
2315 return document.identifier().toUInt64(); | 2320 return document.identifier().toUInt64(); |
2316 } | 2321 } |
2317 | 2322 |
2318 bool Internals::isDocumentAlive(uint64_t documentIdentifier) const | 2323 bool Internals::isDocumentAlive(uint64_t documentIdentifier) const |
2319 { | 2324 { |
2320 return Document::allDocumentsMap().contains(makeObjectIdentifier<DocumentIde
ntifierType>(documentIdentifier)); | 2325 return Document::allDocumentsMap().contains(makeObjectIdentifier<DocumentIde
ntifierType>(documentIdentifier)); |
2321 } | 2326 } |
2322 | 2327 |
(...skipping 2355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4678 | 4683 |
4679 return contextDocument()->page()->pluginData().webVisiblePlugins().size(); | 4684 return contextDocument()->page()->pluginData().webVisiblePlugins().size(); |
4680 } | 4685 } |
4681 | 4686 |
4682 void Internals::notifyResourceLoadObserver() | 4687 void Internals::notifyResourceLoadObserver() |
4683 { | 4688 { |
4684 ResourceLoadObserver::shared().notifyObserver(); | 4689 ResourceLoadObserver::shared().notifyObserver(); |
4685 } | 4690 } |
4686 | 4691 |
4687 } // namespace WebCore | 4692 } // namespace WebCore |
LEFT | RIGHT |