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

Side by Side Diff: Source/core/layout/LayoutTable.cpp

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutLayerModelObject.cpp ('k') | Source/core/layout/LayoutTableCell.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "core/layout/LayoutTable.h" 27 #include "core/layout/LayoutTable.h"
28 28
29 #include "core/HTMLNames.h" 29 #include "core/HTMLNames.h"
30 #include "core/dom/Document.h" 30 #include "core/dom/Document.h"
31 #include "core/frame/FrameView.h" 31 #include "core/frame/FrameView.h"
32 #include "core/html/HTMLTableElement.h" 32 #include "core/html/HTMLTableElement.h"
33 #include "core/layout/HitTestResult.h" 33 #include "core/layout/HitTestResult.h"
34 #include "core/layout/Layer.h"
34 #include "core/layout/LayoutTableAlgorithmAuto.h" 35 #include "core/layout/LayoutTableAlgorithmAuto.h"
35 #include "core/layout/LayoutTableAlgorithmFixed.h" 36 #include "core/layout/LayoutTableAlgorithmFixed.h"
36 #include "core/layout/LayoutTableCaption.h" 37 #include "core/layout/LayoutTableCaption.h"
37 #include "core/layout/LayoutTableCell.h" 38 #include "core/layout/LayoutTableCell.h"
38 #include "core/layout/LayoutTableCol.h" 39 #include "core/layout/LayoutTableCol.h"
39 #include "core/layout/LayoutTableSection.h" 40 #include "core/layout/LayoutTableSection.h"
40 #include "core/paint/BoxPainter.h" 41 #include "core/paint/BoxPainter.h"
41 #include "core/paint/TablePainter.h" 42 #include "core/paint/TablePainter.h"
42 #include "core/rendering/RenderLayer.h"
43 #include "core/rendering/RenderView.h" 43 #include "core/rendering/RenderView.h"
44 #include "core/rendering/SubtreeLayoutScope.h" 44 #include "core/rendering/SubtreeLayoutScope.h"
45 #include "core/rendering/TextAutosizer.h" 45 #include "core/rendering/TextAutosizer.h"
46 #include "core/rendering/style/StyleInheritedData.h" 46 #include "core/rendering/style/StyleInheritedData.h"
47 47
48 namespace blink { 48 namespace blink {
49 49
50 using namespace HTMLNames; 50 using namespace HTMLNames;
51 51
52 LayoutTable::LayoutTable(Element* element) 52 LayoutTable::LayoutTable(Element* element)
(...skipping 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after
1354 const BorderValue& LayoutTable::tableEndBorderAdjoiningCell(const LayoutTableCel l* cell) const 1354 const BorderValue& LayoutTable::tableEndBorderAdjoiningCell(const LayoutTableCel l* cell) const
1355 { 1355 {
1356 ASSERT(cell->isFirstOrLastCellInRow()); 1356 ASSERT(cell->isFirstOrLastCellInRow());
1357 if (hasSameDirectionAs(cell->row())) 1357 if (hasSameDirectionAs(cell->row()))
1358 return style()->borderEnd(); 1358 return style()->borderEnd();
1359 1359
1360 return style()->borderStart(); 1360 return style()->borderStart();
1361 } 1361 }
1362 1362
1363 } 1363 }
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutLayerModelObject.cpp ('k') | Source/core/layout/LayoutTableCell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698