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

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

Issue 1045723009: Move core/layout/style to core/style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 5 years, 8 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/LayoutTable.h ('k') | Source/core/layout/LayoutTableCell.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 /* 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 23 matching lines...) Expand all
34 #include "core/layout/LayoutAnalyzer.h" 34 #include "core/layout/LayoutAnalyzer.h"
35 #include "core/layout/LayoutTableCaption.h" 35 #include "core/layout/LayoutTableCaption.h"
36 #include "core/layout/LayoutTableCell.h" 36 #include "core/layout/LayoutTableCell.h"
37 #include "core/layout/LayoutTableCol.h" 37 #include "core/layout/LayoutTableCol.h"
38 #include "core/layout/LayoutTableSection.h" 38 #include "core/layout/LayoutTableSection.h"
39 #include "core/layout/LayoutView.h" 39 #include "core/layout/LayoutView.h"
40 #include "core/layout/SubtreeLayoutScope.h" 40 #include "core/layout/SubtreeLayoutScope.h"
41 #include "core/layout/TableLayoutAlgorithmAuto.h" 41 #include "core/layout/TableLayoutAlgorithmAuto.h"
42 #include "core/layout/TableLayoutAlgorithmFixed.h" 42 #include "core/layout/TableLayoutAlgorithmFixed.h"
43 #include "core/layout/TextAutosizer.h" 43 #include "core/layout/TextAutosizer.h"
44 #include "core/layout/style/StyleInheritedData.h" 44 #include "core/style/StyleInheritedData.h"
45 #include "core/paint/BoxPainter.h" 45 #include "core/paint/BoxPainter.h"
46 #include "core/paint/DeprecatedPaintLayer.h" 46 #include "core/paint/DeprecatedPaintLayer.h"
47 #include "core/paint/TablePainter.h" 47 #include "core/paint/TablePainter.h"
48 48
49 namespace blink { 49 namespace blink {
50 50
51 using namespace HTMLNames; 51 using namespace HTMLNames;
52 52
53 LayoutTable::LayoutTable(Element* element) 53 LayoutTable::LayoutTable(Element* element)
54 : LayoutBlock(element) 54 : LayoutBlock(element)
(...skipping 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1360 const BorderValue& LayoutTable::tableEndBorderAdjoiningCell(const LayoutTableCel l* cell) const 1360 const BorderValue& LayoutTable::tableEndBorderAdjoiningCell(const LayoutTableCel l* cell) const
1361 { 1361 {
1362 ASSERT(cell->isFirstOrLastCellInRow()); 1362 ASSERT(cell->isFirstOrLastCellInRow());
1363 if (hasSameDirectionAs(cell->row())) 1363 if (hasSameDirectionAs(cell->row()))
1364 return style()->borderEnd(); 1364 return style()->borderEnd();
1365 1365
1366 return style()->borderStart(); 1366 return style()->borderStart();
1367 } 1367 }
1368 1368
1369 } 1369 }
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutTable.h ('k') | Source/core/layout/LayoutTableCell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698