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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutTableRow.cpp

Issue 2008503003: Eliminate unnecessary includes of LayoutBlockFlow-derived headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: styleRef(bool) needs LayoutObjectInlines.h 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 10 matching lines...) Expand all
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301, USA. 22 * Boston, MA 02110-1301, USA.
23 */ 23 */
24 24
25 #include "core/layout/LayoutTableRow.h" 25 #include "core/layout/LayoutTableRow.h"
26 26
27 #include "core/HTMLNames.h" 27 #include "core/HTMLNames.h"
28 #include "core/fetch/ImageResource.h" 28 #include "core/fetch/ImageResource.h"
29 #include "core/layout/HitTestResult.h" 29 #include "core/layout/HitTestResult.h"
30 #include "core/layout/LayoutAnalyzer.h" 30 #include "core/layout/LayoutAnalyzer.h"
31 #include "core/layout/LayoutState.h"
31 #include "core/layout/LayoutTableCell.h" 32 #include "core/layout/LayoutTableCell.h"
32 #include "core/layout/LayoutView.h"
33 #include "core/layout/SubtreeLayoutScope.h" 33 #include "core/layout/SubtreeLayoutScope.h"
34 #include "core/paint/TableRowPainter.h" 34 #include "core/paint/TableRowPainter.h"
35 #include "core/style/StyleInheritedData.h" 35 #include "core/style/StyleInheritedData.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 using namespace HTMLNames; 39 using namespace HTMLNames;
40 40
41 LayoutTableRow::LayoutTableRow(Element* element) 41 LayoutTableRow::LayoutTableRow(Element* element)
42 : LayoutTableBoxComponent(element) 42 : LayoutTableBoxComponent(element)
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // The cell and the row share the section's coordinate system. However 254 // The cell and the row share the section's coordinate system. However
255 // the visual overflow should be determined in the coordinate system of 255 // the visual overflow should be determined in the coordinate system of
256 // the row, that's why we shift it below. 256 // the row, that's why we shift it below.
257 LayoutUnit cellOffsetLogicalTopDifference = cell->location().y() - location( ).y(); 257 LayoutUnit cellOffsetLogicalTopDifference = cell->location().y() - location( ).y();
258 cellVisualOverflowRect.move(LayoutUnit(), cellOffsetLogicalTopDifference); 258 cellVisualOverflowRect.move(LayoutUnit(), cellOffsetLogicalTopDifference);
259 259
260 addContentsVisualOverflow(cellVisualOverflowRect); 260 addContentsVisualOverflow(cellVisualOverflowRect);
261 } 261 }
262 262
263 } // namespace blink 263 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698