OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/dom/IntersectionObserver.h" | 5 #include "core/dom/IntersectionObserver.h" |
6 | 6 |
7 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
8 #include "core/css/parser/CSSParserTokenRange.h" | 8 #include "core/css/parser/CSSParserTokenRange.h" |
9 #include "core/css/parser/CSSTokenizer.h" | 9 #include "core/css/parser/CSSTokenizer.h" |
10 #include "core/dom/Element.h" | 10 #include "core/dom/Element.h" |
11 #include "core/dom/ExceptionCode.h" | 11 #include "core/dom/ExceptionCode.h" |
12 #include "core/dom/ExecutionContext.h" | 12 #include "core/dom/ExecutionContext.h" |
13 #include "core/dom/IntersectionObserverCallback.h" | 13 #include "core/dom/IntersectionObserverCallback.h" |
14 #include "core/dom/IntersectionObserverController.h" | 14 #include "core/dom/IntersectionObserverController.h" |
15 #include "core/dom/IntersectionObserverEntry.h" | 15 #include "core/dom/IntersectionObserverEntry.h" |
16 #include "core/dom/IntersectionObserverInit.h" | 16 #include "core/dom/IntersectionObserverInit.h" |
17 #include "core/dom/NodeIntersectionObserverData.h" | 17 #include "core/dom/NodeIntersectionObserverData.h" |
18 #include "core/frame/FrameView.h" | 18 #include "core/frame/FrameView.h" |
| 19 #include "core/frame/LocalDOMWindow.h" |
| 20 #include "core/frame/LocalFrame.h" |
19 #include "core/html/HTMLFrameOwnerElement.h" | 21 #include "core/html/HTMLFrameOwnerElement.h" |
20 #include "core/layout/LayoutView.h" | 22 #include "core/layout/LayoutView.h" |
21 #include "core/timing/DOMWindowPerformance.h" | 23 #include "core/timing/DOMWindowPerformance.h" |
22 #include "core/timing/Performance.h" | 24 #include "core/timing/Performance.h" |
23 #include "platform/Timer.h" | 25 #include "platform/Timer.h" |
24 #include <algorithm> | 26 #include <algorithm> |
25 | 27 |
26 namespace blink { | 28 namespace blink { |
27 | 29 |
28 static void parseRootMargin(String rootMarginParameter, Vector<Length>& rootMarg
in, ExceptionState& exceptionState) | 30 static void parseRootMargin(String rootMarginParameter, Vector<Length>& rootMarg
in, ExceptionState& exceptionState) |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 | 313 |
312 DEFINE_TRACE(IntersectionObserver) | 314 DEFINE_TRACE(IntersectionObserver) |
313 { | 315 { |
314 visitor->template registerWeakMembers<IntersectionObserver, &IntersectionObs
erver::clearWeakMembers>(this); | 316 visitor->template registerWeakMembers<IntersectionObserver, &IntersectionObs
erver::clearWeakMembers>(this); |
315 visitor->trace(m_callback); | 317 visitor->trace(m_callback); |
316 visitor->trace(m_observations); | 318 visitor->trace(m_observations); |
317 visitor->trace(m_entries); | 319 visitor->trace(m_entries); |
318 } | 320 } |
319 | 321 |
320 } // namespace blink | 322 } // namespace blink |
OLD | NEW |