Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: third_party/WebKit/Source/core/dom/IntersectionObservation.cpp

Issue 2008053002: Remove unnecessary inclusions of LayoutObject-derived headers in core/dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: FirstLetterPseudoElement.cpp needs LayoutObjectInlines.h for LayoutObject::firstLineStyle() Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/NodeRareData.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/IntersectionObservation.h" 5 #include "core/dom/IntersectionObservation.h"
6 6
7 #include "core/dom/ElementRareData.h" 7 #include "core/dom/ElementRareData.h"
8 #include "core/dom/IntersectionObserver.h" 8 #include "core/dom/IntersectionObserver.h"
9 #include "core/frame/FrameView.h" 9 #include "core/frame/FrameView.h"
10 #include "core/layout/LayoutBox.h" 10 #include "core/layout/LayoutBox.h"
11 #include "core/layout/LayoutPart.h"
12 #include "core/layout/LayoutText.h"
13 #include "core/layout/LayoutView.h" 11 #include "core/layout/LayoutView.h"
14 #include "core/paint/PaintLayer.h" 12 #include "core/paint/PaintLayer.h"
15 13
16 namespace blink { 14 namespace blink {
17 15
18 IntersectionObservation::IntersectionObservation(IntersectionObserver& observer, Element& target, bool shouldReportRootBounds) 16 IntersectionObservation::IntersectionObservation(IntersectionObserver& observer, Element& target, bool shouldReportRootBounds)
19 : m_observer(observer) 17 : m_observer(observer)
20 , m_target(&target) 18 , m_target(&target)
21 , m_shouldReportRootBounds(shouldReportRootBounds) 19 , m_shouldReportRootBounds(shouldReportRootBounds)
22 , m_lastThresholdIndex(0) 20 , m_lastThresholdIndex(0)
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 m_observer.clear(); 242 m_observer.clear();
245 } 243 }
246 244
247 DEFINE_TRACE(IntersectionObservation) 245 DEFINE_TRACE(IntersectionObservation)
248 { 246 {
249 visitor->trace(m_observer); 247 visitor->trace(m_observer);
250 visitor->trace(m_target); 248 visitor->trace(m_target);
251 } 249 }
252 250
253 } // namespace blink 251 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/NodeRareData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698