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

Side by Side Diff: Source/core/rendering/RenderTableSection.cpp

Issue 55223002: Remove rendering dependency in GraphicsContextAnnotation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for relanding Created 7 years, 1 month 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 | « Source/core/rendering/RenderTableRow.cpp ('k') | Source/core/rendering/RenderView.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, 2008, 2009, 2010 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010 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 11 matching lines...) Expand all
22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 * Boston, MA 02110-1301, USA. 23 * Boston, MA 02110-1301, USA.
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "core/rendering/RenderTableSection.h" 27 #include "core/rendering/RenderTableSection.h"
28 28
29 // FIXME: Remove 'RuntimeEnabledFeatures.h' when http://crbug.com/78724 is close d. 29 // FIXME: Remove 'RuntimeEnabledFeatures.h' when http://crbug.com/78724 is close d.
30 #include "RuntimeEnabledFeatures.h" 30 #include "RuntimeEnabledFeatures.h"
31 #include <limits> 31 #include <limits>
32 #include "core/rendering/GraphicsContextAnnotator.h"
32 #include "core/rendering/HitTestResult.h" 33 #include "core/rendering/HitTestResult.h"
33 #include "core/rendering/PaintInfo.h" 34 #include "core/rendering/PaintInfo.h"
34 #include "core/rendering/RenderTableCell.h" 35 #include "core/rendering/RenderTableCell.h"
35 #include "core/rendering/RenderTableCol.h" 36 #include "core/rendering/RenderTableCol.h"
36 #include "core/rendering/RenderTableRow.h" 37 #include "core/rendering/RenderTableRow.h"
37 #include "core/rendering/RenderView.h" 38 #include "core/rendering/RenderView.h"
38 #include "core/rendering/SubtreeLayoutScope.h" 39 #include "core/rendering/SubtreeLayoutScope.h"
39 #include "wtf/HashSet.h" 40 #include "wtf/HashSet.h"
40 #include "wtf/Vector.h" 41 #include "wtf/Vector.h"
41 42
(...skipping 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1808 if (!style()->isLeftToRightDirection()) 1809 if (!style()->isLeftToRightDirection())
1809 cellLocation.setX(table()->columnPositions()[table()->numEffCols()] - ta ble()->columnPositions()[table()->colToEffCol(cell->col() + cell->colSpan())] + horizontalBorderSpacing); 1810 cellLocation.setX(table()->columnPositions()[table()->numEffCols()] - ta ble()->columnPositions()[table()->colToEffCol(cell->col() + cell->colSpan())] + horizontalBorderSpacing);
1810 else 1811 else
1811 cellLocation.setX(table()->columnPositions()[effectiveColumn] + horizont alBorderSpacing); 1812 cellLocation.setX(table()->columnPositions()[effectiveColumn] + horizont alBorderSpacing);
1812 1813
1813 cell->setLogicalLocation(cellLocation); 1814 cell->setLogicalLocation(cellLocation);
1814 view()->addLayoutDelta(oldCellLocation - cell->location()); 1815 view()->addLayoutDelta(oldCellLocation - cell->location());
1815 } 1816 }
1816 1817
1817 } // namespace WebCore 1818 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTableRow.cpp ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698